mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-08 05:26:19 +00:00
fix: ApiDocs Playwright spec (#17894)
* fix: ApiDocs Playwright spec * fix(ui): Fix API docs test failure --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
This commit is contained in:
parent
4d0339b270
commit
e42a7d6e7c
@ -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 expect(
|
||||
page.getByRole('link', {
|
||||
name: 'openmetadata-dev@googlegroups',
|
||||
})
|
||||
).toBeVisible();
|
||||
await page.getByTestId('loader').waitFor({ state: 'detached' });
|
||||
|
||||
await expect(
|
||||
page.getByRole('link', {
|
||||
name: 'openmetadata-dev@googlegroups.com',
|
||||
exact: true,
|
||||
})
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole('link', {
|
||||
name: 'https://open-metadata.org',
|
||||
exact: true,
|
||||
})
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user