skip tests
This commit is contained in:
parent
c6881d7358
commit
eba40942e7
|
|
@ -1402,7 +1402,7 @@ test('should serve css without content-type', async ({ page, runAndTrace, server
|
||||||
await expect(snapshotFrame.locator('body')).toHaveCSS('background-color', 'rgb(255, 0, 0)', { timeout: 0 });
|
await expect(snapshotFrame.locator('body')).toHaveCSS('background-color', 'rgb(255, 0, 0)', { timeout: 0 });
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should allow showing screenshots instead of snapshots', async ({ runAndTrace, page, server }) => {
|
test.skip('should allow showing screenshots instead of snapshots', async ({ runAndTrace, page, server }) => {
|
||||||
const traceViewer = await runAndTrace(async () => {
|
const traceViewer = await runAndTrace(async () => {
|
||||||
await page.goto(server.PREFIX + '/one-style.html');
|
await page.goto(server.PREFIX + '/one-style.html');
|
||||||
await page.waitForTimeout(1000); // ensure we could take a screenshot
|
await page.waitForTimeout(1000); // ensure we could take a screenshot
|
||||||
|
|
@ -1420,7 +1420,7 @@ test('should allow showing screenshots instead of snapshots', async ({ runAndTra
|
||||||
await expect(screenshot).toBeVisible();
|
await expect(screenshot).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should handle case where neither snapshots nor screenshots exist', async ({ runAndTrace, page, server }) => {
|
test.skip('should handle case where neither snapshots nor screenshots exist', async ({ runAndTrace, page, server }) => {
|
||||||
const traceViewer = await runAndTrace(async () => {
|
const traceViewer = await runAndTrace(async () => {
|
||||||
await page.goto(server.PREFIX + '/one-style.html');
|
await page.goto(server.PREFIX + '/one-style.html');
|
||||||
}, { snapshots: false, screenshots: false });
|
}, { snapshots: false, screenshots: false });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue