mirror of
https://github.com/cypress-io/cypress.git
synced 2026-03-16 07:30:30 -05:00
* add "be.focused" to chai_jquery * add comment explaining the mess * add type definitions * refactor assertion to use jquery assertion * remove trailing whitespace * add test for multiple elements, update typedefs * fix failing tests: not.be.visible -> not.exist * allow should(not.be.visible) for failed selectors * remove unrelated visibility changes * extract only focus assertion * Revert "Merge remote-tracking branch 'origin/develop' into issue-97-focus-assertion" This reverts commitb401c32a61, reversing changes made toab14758d31. * force jquery to use custom focus pseudo selector * only force custom matchers for focus selectors * rewrote matchesSelector wrap code * add lodash * Merge in origin/develop * changes on 3.3.0 Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Cypress CLI source
This folder is used to build Cypress NPM module.
Building
See scripts/build.js. Note that the built NPM package will include NPM_README.md as its public README file.
Testing
To build and test an NPM package:
npm installnpm run build
This creates build folder.
cd build; npm pack
This creates an archive, usually named cypress-<version>.tgz. You can install this archive from other projects, but because there is no corresponding binary yet (probably), skip binary download. For example from inside cypress-example-kitchensink folder
npm i ~/git/cypress/cli/build/cypress-3.1.5.tgz --ignore-scripts
Which installs the tgz file we have just built from folder ~/git/cypress/cli/build.