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

Appearance settings

uniter/cypress-php-example

Open more actions menu

Repository files navigation

Cypress PHP example

An example of how to use Uniter to write Cypress specs in PHP.

Demo

Demo of Cypress running PHP specs with Uniter

Usage

$ git clone https://github.com/uniter/cypress-php-example.git
$ npm install
$ composer install
$ npm start

How does it work?

It uses the Webpack loader from Uniter to transpile your PHP specs into JavaScript.

Source maps are supported - try opening your browser's developer tools, search for your PHP spec file by name and stick a breakpoint in there somewhere!

Note that Uniter's stackCleaning feature has been enabled for this demo (see uniter.config.js), so you should see cleaner stack traces (with frames that point into Uniter's internals removed).

About

An example of how to write Cypress tests in PHP with Uniter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.