MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / testState

Function testState

packages/angular/test/base/e2e/utils/test-utils.ts:82–85  ·  view source on GitHub ↗
(page: Page, count: number, tab: string)

Source from the content-addressed store, hash-verified

80}
81
82export async function testState(page: Page, count: number, tab: string) {
83
84 await expect(page.locator('#tabs-state')).toHaveText(`${count}.${tab}`);
85}
86
87export async function testUrlContains(page: Page, urlFragment: string) {
88 // Escape special regex characters in the URL fragment

Callers 1

tabs.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected