Skip to content

Commit

Permalink
Fix custom field example smoke test (#7818)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Aug 22, 2022
1 parent d64acfb commit ca45fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/examples-smoke-tests/custom-field.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ exampleProjectTests('custom-field', browserType => {
await loadIndex(page);
});
test('Load list', async () => {
await Promise.all([page.waitForNavigation(), page.click('h3:has-text("Authors")')]);
await page.waitForSelector('a:has-text("Create Author")');
await Promise.all([page.waitForNavigation(), page.click('h3:has-text("Posts")')]);
await page.waitForSelector('a:has-text("Create Post")');
});
afterAll(async () => {
await browser.close();
Expand Down

0 comments on commit ca45fca

Please sign in to comment.