File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
1
import { expect , test } from '@playwright/test' ;
2
2
3
- test . describe ( 'Testing old theme' , ( ) => {
4
- test ( 'should ensure the old theme does not visually regress' , async ( {
5
- page,
6
- } ) => {
7
- const currentPlus = 'nginx/installing-nginx-open-source/' ;
8
- await page . goto ( `/${ currentPlus } ` ) ;
9
- await expect (
10
- await page . locator ( 'data-testid=base-layout' ) . count ( )
11
- ) . toBeTruthy ( ) ;
3
+ // test.describe('Testing old theme', () => {
4
+ // test('should ensure the old theme does not visually regress', async ({
5
+ // page,
6
+ // }) => {
7
+ // const currentPlus = 'nginx/installing-nginx-open-source/';
8
+ // await page.goto(`/${currentPlus}`);
9
+ // await expect(
10
+ // await page.locator('data-testid=base-layout').count()
11
+ // ).toBeTruthy();
12
12
13
- await page . waitForFunction ( ( ) => window . scrollY === 0 ) ;
14
- await expect ( page ) . toHaveScreenshot ( 'example-site-screenshot.png' , {
15
- fullPage : true ,
16
- } ) ;
17
- } ) ;
18
- } ) ;
13
+ // await page.waitForFunction(() => window.scrollY === 0);
14
+ // await expect(page).toHaveScreenshot('example-site-screenshot.png', {
15
+ // fullPage: true,
16
+ // });
17
+ // });
18
+ // });
You can’t perform that action at this time.
0 commit comments