Skip to content

Commit

Permalink
fix: ApiDocs Playwright spec (#17894)
Browse files Browse the repository at this point in the history
* fix: ApiDocs Playwright spec

* fix(ui): Fix API docs test failure

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
  • Loading branch information
Sachin-chaurasiya and chirag-madlani authored Sep 18, 2024
1 parent 4d0339b commit e42a7d6
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,18 @@ test.describe('API docs should work properly', () => {
await page.locator('[data-testid="help-icon"]').click();
await page.getByRole('link', { name: 'API', exact: true }).click();

await page.getByTestId('loader').waitFor({ state: 'detached' });

await expect(
page.getByRole('link', {
name: 'openmetadata-dev@googlegroups',
name: 'openmetadata-dev@googlegroups.com',
exact: true,
})
).toBeVisible();

await expect(
page.getByRole('link', {
name: 'https://open-metadata.org',
exact: true,
})
).toBeVisible();
});
Expand Down

0 comments on commit e42a7d6

Please sign in to comment.