Revert "Change playwright to - playright/test"

This reverts commit fb14383021.
pull/11421/merge^2
Sean Brydon 2023-09-19 09:51:00 +01:00
parent fb14383021
commit 4dc3bb2ffb
4 changed files with 25 additions and 4 deletions

View File

@ -4,7 +4,7 @@
*/
// Create a Chromium browser
const { chromium } = require("@playwright/test");
const { chromium } = require("playwright");
// Checkly supports top level await, but we wrap your code in an async function so you can run it locally too.
async function run() {

View File

@ -4,7 +4,7 @@
*/
// Create a Chromium browser
const { chromium } = require("@playwright/test");
const { chromium } = require("playwright");
// Checkly supports top level await, but we wrap your code in an async function so you can run it locally too.
async function run() {

View File

@ -9,7 +9,7 @@ test.describe("Signup Validation", async () => {
test("Username is taken", async ({ page, users }) => {
// log in trail user
await test.step("Sign up", async () => {
await users.create({
const pro = await users.create({
username: "pro",
});

View File

@ -4286,7 +4286,6 @@ __metadata:
"@hookform/resolvers": ^2.9.7
"@juggle/resize-observer": ^3.4.0
"@next/bundle-analyzer": ^13.1.6
"@playwright/test": ^1.31.2
"@radix-ui/react-accordion": ^1.0.0
"@radix-ui/react-dropdown-menu": ^2.0.5
"@radix-ui/react-navigation-menu": ^1.0.0
@ -4335,8 +4334,10 @@ __metadata:
next: ^13.4.6
next-auth: ^4.22.1
next-axiom: ^0.17.0
next-collect: ^0.2.1
next-i18next: ^13.2.2
next-seo: ^6.0.0
playwright: ^1.31.2
postcss: ^8.4.18
prism-react-renderer: ^1.3.5
react: ^18.2.0
@ -30089,6 +30090,26 @@ __metadata:
languageName: node
linkType: hard
"playwright-core@npm:1.37.1":
version: 1.37.1
resolution: "playwright-core@npm:1.37.1"
bin:
playwright-core: cli.js
checksum: 69f818da2230057584140d5b3af7778a4f4a822b5b18d133abfc5d259128becb943c343a2ddf6b0635277a69f28983e83e2bc3fce23595ececb1e410475b6368
languageName: node
linkType: hard
"playwright@npm:^1.31.2":
version: 1.37.1
resolution: "playwright@npm:1.37.1"
dependencies:
playwright-core: 1.37.1
bin:
playwright: cli.js
checksum: 99406ef3e15b83a659cb23ef1d92d9935789aad430580d1e0371087dfdf266891483c6f97cfa06bf5f49f081eacd44245d05d20714f98531edef4cc317044d6b
languageName: node
linkType: hard
"pngjs@npm:^3.0.0, pngjs@npm:^3.3.3":
version: 3.4.0
resolution: "pngjs@npm:3.4.0"