Skip to content
This repository has been archived by the owner on May 29, 2021. It is now read-only.

tomasbjerre/dictator-cypress-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress Dictator Example

Build Status

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

About

Cypress Dictator Example

Resources

Stars

Watchers

Forks

Packages

No packages published