Skip to content

Commit

Permalink
testing playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
shahata committed Dec 9, 2023
1 parent 5b7c3e2 commit 00041ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/screenshot.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { test } from '@playwright/test';

test('create screenshot', async ({ page }) => {
await page.goto(
'https://shahata.github.io/adventofcode-solver/src/2023/events.html',
);
await page.goto('/');
await page.waitForTimeout(1000);
await page.screenshot({
path: 'test-results/screenshot.png',
Expand Down

0 comments on commit 00041ed

Please sign in to comment.