dictator-cypress-example
v0.0.3
Published
Just example
Downloads
3
Readme
Cypress Dictator Example
An example usage of Cypress Dictator.
This example will download the dictator-cypress
package published in registry.npm.org
which contains fake cypress.zip
. You will need to publish your own package with not fake zip-files.
Try it by running:
$ npm install
> [email protected] preinstall /home/bjerre/workspace/dictator/dictator-cypress-example
> npx [email protected]
_ _ _ _
__| | (_) ___ | |_ __ _ | |_ ___ _ __ ___ _ _ _ __ _ __ ___ ___ ___
/ _` | | | / __| | __| / _` | | __| / _ \ | '__| _____ / __| | | | | | '_ \ | '__| / _ \ / __| / __|
| (_| | | | | (__ | |_ | (_| | | |_ | (_) | | | |_____| | (__ | |_| | | |_) | | | | __/ \__ \ \__ \
\__,_| |_| \___| \__| \__,_| \__| \___/ |_| \___| \__, | | .__/ |_| \___| |___/ |___/
|___/ |_|
Built with [email protected].
https://github.com/tomasbjerre/dictator-builder
Copy linux cypress to cypress.zip
Applying: copy linux-x64.zip to cypress.zip
.npmrc should have reference to cypress binary
Up to date: .npmrc should have lines
.gitignore should include the copied zip
Up to date: .gitignore should have lines
> [email protected] postinstall /home/bjerre/workspace/dictator/dictator-cypress-example/node_modules/cypress
> node index.js --exec install
⚠ Warning: Forcing a binary version different than the default.
The CLI expected to install version: 4.5.0
Instead we will install version: /home/bjerre/workspace/dictator/dictator-cypress-example/cypress.zip
$ ls
cypress.zip package.json package-lock.json README.md
$ cat .npmrc
CYPRESS_INSTALL_BINARY=${PWD}/cypress.zip