Skip to content

Commit

Permalink
try to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jho44 committed Feb 28, 2024
1 parent 9cef396 commit 01f90d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/calendar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ test.describe('Calendar', () => {
]);
await page.goto('/calendar');
await page.waitForURL('/calendar');
await page.waitForSelector('table#schedule');

const date = today.plus({ days: 3 });
await page
Expand Down
2 changes: 1 addition & 1 deletion tests/profile.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ test.beforeEach(async ({ utils }) => {
});

test('User can create new profile with valid phone number', async ({ page, context }) => {
await context.clearCookies();
await page.goto(host);
await page.waitForURL(host);
await page.getByRole('textbox').fill('');
await page.getByRole('textbox').fill(phone);
await page.getByRole('button').click();

Expand Down

0 comments on commit 01f90d9

Please sign in to comment.