Skip to content

Commit d6e7d56

Browse files
committed
frontend: Fix the save button on the account page sometimes not beeing clickable.
This was an issue with the tests. fix #208
1 parent c0cd47b commit d6e7d56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/tests/basic.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ test('account information validation', async ({ page }) => {
8181

8282
await page.getByRole('link', { name: 'Account' }).click();
8383

84-
await page.getByLabel('Name').fill("");
84+
await expect(page.getByLabel('Name')).toBeVisible();
85+
await page.getByLabel('Name').clear();
8586
await page.getByRole('button', { name: 'Save changes' }).click();
8687
await expect(page.getByText('The name must not be empty')).toBeVisible();
8788

0 commit comments

Comments
 (0)