chore: bump examples to use 1.19 (#12097)

This commit is contained in:
Pavel Feldman 2022-02-14 20:29:56 -08:00 committed by GitHub
parent 5a0445b8da
commit e9a135406c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,8 @@
import { test, expect } from '@playwright/test'; import { test, expect } from '@playwright/test';
import fs from 'fs'; import fs from 'fs';
test.describe.configure({ mode: 'parallel' });
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {
await page.goto('https://demo.playwright.dev/svgomg'); await page.goto('https://demo.playwright.dev/svgomg');
}); });

View File

@ -11,6 +11,6 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.17.1" "@playwright/test": "^1.19.0"
} }
} }

View File

@ -2,6 +2,8 @@
import { test, expect, Page } from '@playwright/test'; import { test, expect, Page } from '@playwright/test';
test.describe.configure({ mode: 'parallel' });
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {
await page.goto('https://demo.playwright.dev/todomvc'); await page.goto('https://demo.playwright.dev/todomvc');
}); });