File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
packages/core/test/runtimes/browsers Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,18 @@ test("basic test", async ({ page }) => {
9
9
} ) ;
10
10
11
11
test ( "secure curves test" , async ( { browserName, page } ) => {
12
- test . skip (
13
- browserName === "webkit" ,
14
- "Secure curves are not supported in Safari" ,
15
- ) ;
12
+ // test.skip(
13
+ // browserName === "webkit",
14
+ // "Secure curves are not supported in Safari",
15
+ // );
16
16
await page . goto ( "./secure_curves.html" ) ;
17
17
await page . click ( "text=run" ) ;
18
18
await page . waitForTimeout ( 5000 ) ;
19
- await expect ( page . locator ( "id=pass" ) ) . toHaveText ( "6" ) ;
20
- await expect ( page . locator ( "id=fail" ) ) . toHaveText ( "0" ) ;
19
+ if ( browserName === "webkit" ) {
20
+ await expect ( page . locator ( "id=pass" ) ) . toHaveText ( "0" ) ;
21
+ await expect ( page . locator ( "id=fail" ) ) . toHaveText ( "6" ) ;
22
+ } else {
23
+ await expect ( page . locator ( "id=pass" ) ) . toHaveText ( "6" ) ;
24
+ await expect ( page . locator ( "id=fail" ) ) . toHaveText ( "0" ) ;
25
+ }
21
26
} ) ;
You can’t perform that action at this time.
0 commit comments