File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ test("map loads and Zurich meetup link works", async ({ page }) => {
1818 // Take a screenshot of the map and verify it matches snapshot
1919 const mapContainer = page . locator ( "canvas" ) . first ( )
2020 await expect ( mapContainer ) . toHaveScreenshot ( "meetups-map.png" , {
21- timeout : 10000 ,
21+ timeout : 20_000 ,
2222 } )
2323
2424 // Find the "Past events & meetups" section
Original file line number Diff line number Diff line change @@ -15,26 +15,12 @@ test.beforeEach(async ({ browser }, testInfo) => {
1515} )
1616
1717test . describe ( "Testing 123" , ( ) => {
18- // Check if hardware acceleration is enabled. Without it, our tests will be much slower.
19- test ( "1. GPU hardware acceleration" , async ( { page } ) => {
20- await page . goto ( url1 )
21- const featureStatusList = page . locator ( ".feature-status-list" )
22-
23- await waitFor ( 2000 )
24- await page . screenshot ( {
25- path : "screens/screenshot" + currentTime + "_1.png" ,
26- fullPage : true ,
27- } )
28-
29- await expect ( featureStatusList ) . toContainText ( "Hardware accelerated" )
30- } )
31-
3218 test ( "2. webgl report" , async ( { page } ) => {
3319 await page . goto ( url2 )
3420
3521 await waitFor ( 2000 )
3622 await page . screenshot ( {
37- path : "screens /screenshot" + currentTime + "_2.png" ,
23+ path : "playwright-report /screenshot" + currentTime + "_2.png" ,
3824 fullPage : true ,
3925 } )
4026 } )
@@ -44,7 +30,7 @@ test.describe("Testing 123", () => {
4430
4531 await waitFor ( 5000 )
4632 await page . screenshot ( {
47- path : "screens /screenshot" + currentTime + "_3.png" ,
33+ path : "playwright-report /screenshot" + currentTime + "_3.png" ,
4834 fullPage : true ,
4935 } )
5036 } )
You can’t perform that action at this time.
0 commit comments