MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / waitForTabbedChartCompletion

Function waitForTabbedChartCompletion

e2e/tests/utils.ts:64–72  ·  view source on GitHub ↗
(
  page: Page,
  panelBaseId: string,
  tabIndex: number,
)

Source from the content-addressed store, hash-verified

62 await expect(loadingOverlay).toHaveCount(0, {timeout: 10000});
63}
64
65export async function waitForTabbedChartCompletion(
66 page: Page,
67 panelBaseId: string,
68 tabIndex: number,
69) {
70 // webstatus-line-chart-tabbed-panel generates IDs like 'feature-wpt-implementation-progress-0-complete'
71 const containerId = `${panelBaseId}-${tabIndex}-complete`;
72 await waitForChartCompletion(page, containerId);
73}
74
75export async function setupFakeNow(

Callers 1

Calls 1

waitForChartCompletionFunction · 0.85

Tested by

no test coverage detected