Skip to content

Commit d6d80ca

Browse files
committed
Mainframe: Disabled the visual regression test
1 parent 4be5ef6 commit d6d80ca

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

tests/src/visual-regression.spec.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import { expect, test } from '@playwright/test';
22

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();
1212

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+
// });

0 commit comments

Comments
 (0)