(page: Page)
| 113 | .waitFor({state: 'hidden', timeout: 15000}); |
| 114 | } |
| 115 | |
| 116 | export async function waitForSidebarLoaded(page: Page) { |
| 117 | const sidebar = page.locator('webstatus-sidebar'); |
| 118 | // Wait for sidebar to be attached |
| 119 | await expect(sidebar).toBeAttached({timeout: 10000}); |
| 120 | // Wait for the absence of sl-skeleton inside the sidebar |
| 121 | const skeleton = sidebar.locator('sl-skeleton'); |
| 122 | await expect(skeleton).toHaveCount(0, {timeout: 10000}); |
| 123 | } |
| 124 | |
| 125 | export async function gotoOverviewPageUrl(page: Page, url: string) { |
no outgoing calls
no test coverage detected