Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cypress setup with playwright execution from cypress test

Notifications You must be signed in to change notification settings

vladlearns/cypress-playwright

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

cypress-playwright

How to use

Simply pass any playwright test name from the playwright folder as a second argument of the task.

cy.task('playwright', 'googleMe')

How this was done

In the example file, the Playwright test is invoked from the Cypress test. This was done using Cypress task plugin event:

 on('task', {
 async playwright(file) {
 const { test } = require(path.resolve(process.cwd(), './playwright/', file))
 return await test()
 },
 })

About

Cypress setup with playwright execution from cypress test

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /