Change playwright to - playright/test
parent
de2eb01924
commit
fb14383021
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
// Create a Chromium browser
|
||||
const { chromium } = require("playwright");
|
||||
const { chromium } = require("@playwright/test");
|
||||
|
||||
// Checkly supports top level await, but we wrap your code in an async function so you can run it locally too.
|
||||
async function run() {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
// Create a Chromium browser
|
||||
const { chromium } = require("playwright");
|
||||
const { chromium } = require("@playwright/test");
|
||||
|
||||
// Checkly supports top level await, but we wrap your code in an async function so you can run it locally too.
|
||||
async function run() {
|
||||
|
|
|
@ -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 () => {
|
||||
const pro = await users.create({
|
||||
await users.create({
|
||||
username: "pro",
|
||||
});
|
||||
|
||||
|
|
23
yarn.lock
23
yarn.lock
|
@ -4286,6 +4286,7 @@ __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
|
||||
|
@ -4334,10 +4335,8 @@ __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
|
||||
|
@ -30090,26 +30089,6 @@ __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"
|
||||
|
|
Loading…
Reference in New Issue