remove screenshot test

This commit is contained in:
Maxime GRIS
2021-11-13 20:02:26 +01:00
parent 558c646e2f
commit 62facb1334
2 changed files with 5 additions and 5 deletions

View File

@@ -39,11 +39,11 @@ test.describe('Check Home Page', async () => {
expect(windowState.isCrashed).toBeFalsy();
});
test('Check Home Page design', async ({ browserName}) => {
// Uncomment if you change the design of Home Page in order to create a new screenshot
const screenshot = await firstWindow.screenshot({ path: '/tmp/home.png' });
expect(screenshot).toMatchSnapshot(`home-${browserName}.png`);
});
// test('Check Home Page design', async ({ browserName}) => {
// // Uncomment if you change the design of Home Page in order to create a new screenshot
// const screenshot = await firstWindow.screenshot({ path: '/tmp/home.png' });
// expect(screenshot).toMatchSnapshot(`home-${browserName}.png`);
// });
test('Check title', async () => {
const elem = await firstWindow.$('app-home h1');