Some test fixes

This commit is contained in:
AG
2025-12-06 20:21:41 +02:00
parent 890f4f0958
commit cd0eef9ad6
23 changed files with 48 additions and 44 deletions

View File

@@ -7,7 +7,7 @@ test.describe('User Interface & Experience', () => {
test('Adaptive GUI - Responsive Charts in Stats', async ({ page }) => {
// 1. Log in as a regular user.
await page.goto('http://192.168.50.234:3000/');
await page.getByRole('textbox', { name: 'user@gymflow.ai' }).fill('admin@gymflow.ai');
await page.getByRole('textbox', { name: '0' }).first().fill('admin@gymflow.ai');
await page.locator('input[type="password"]').fill('admin');
await page.getByRole('button', { name: 'Login' }).click();