Skip to content

Commit 0c9177d

Browse files
committed
Minor change on test
1 parent 1a70b24 commit 0c9177d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/profile.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ test('User profile', async ({ page }) => {
3030
await test.step('Save cache dir using enter', async () => {
3131
await page.getByRole('button', { name: 'Edit' }).click();
3232
await page.getByRole('textbox').waitFor();
33-
await page.getByRole('textbox').fill('/tmp/foo2\n');
34-
await page.getByRole('button', { name: 'Save' }).click();
33+
await page.getByRole('textbox').fill('/tmp/foo2');
34+
await page.keyboard.down('Enter');
3535
await page.getByRole('button', { name: 'Edit' }).waitFor();
3636
});
3737

0 commit comments

Comments
 (0)