Skip to content

Commit 353001d

Browse files
chore: fmt
1 parent dcf1b0d commit 353001d

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

e2e/example.spec.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import {testWithII} from '@dfinity/internet-identity-playwright';
22
import {initTestSuite} from './utils/init.utils';
3-
import {test} from "@playwright/test";
43

54
const getExamplePage = initTestSuite();
65

e2e/page-objects/example.page.ts

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {InternetIdentityPage} from '@dfinity/internet-identity-playwright';
2+
import {assertNonNullish} from '@dfinity/utils';
23
import {expect} from '@playwright/test';
34
import {IdentityPage, IdentityPageParams} from './identity.page';
4-
import {assertNonNullish} from "@dfinity/utils";
55

66
export class ExamplePage extends IdentityPage {
77
#partyIIPage: InternetIdentityPage;
@@ -128,7 +128,13 @@ export class ExamplePage extends IdentityPage {
128128
await expect(this.page.locator('[role="row"]', {hasText: 'text'})).toHaveCount(0);
129129
}
130130

131-
async assertScreenshot({mode, name}: {mode: 'light' | 'dark' | 'current', name: string}): Promise<void> {
131+
async assertScreenshot({
132+
mode,
133+
name
134+
}: {
135+
mode: 'light' | 'dark' | 'current';
136+
name: string;
137+
}): Promise<void> {
132138
await expect(this.page).toHaveScreenshot(`${name}-${mode}-mode.png`, {fullPage: true});
133139
}
134140

0 commit comments

Comments
 (0)