0.0.3 • Published 4 years ago

dictator-cypress-example v0.0.3

Weekly downloads
3
License
Apache 2
Repository
github
Last release
4 years ago

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

> dictator-cypress-example@0.0.1 preinstall /home/bjerre/workspace/dictator/dictator-cypress-example
> npx dictator-cypress@0.0.15

      _   _          _             _                                                                           
   __| | (_)   ___  | |_    __ _  | |_    ___    _ __            ___   _   _   _ __    _ __    ___   ___   ___ 
  / _` | | |  / __| | __|  / _` | | __|  / _ \  | '__|  _____   / __| | | | | | '_ \  | '__|  / _ \ / __| / __|
 | (_| | | | | (__  | |_  | (_| | | |_  | (_) | | |    |_____| | (__  | |_| | | |_) | | |    |  __/ \__ \ \__ \
  \__,_| |_|  \___|  \__|  \__,_|  \__|  \___/  |_|             \___|  \__, | | .__/  |_|     \___| |___/ |___/
                                                                       |___/  |_|                              
  Built with dictator-builder@0.0.16.
  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

> cypress@4.5.0 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