mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 19:48:17 +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> (cherry picked from commit e42a7d6e7c7514bb90f0a6d8707871561aed87ac)
This commit is contained in:
parent
b82056e4c0
commit
d724a98429
@ -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