cypress-example-recipes
knapsack-pro-cypress
Our great sponsors
cypress-example-recipes | knapsack-pro-cypress | |
---|---|---|
2 | 1 | |
3,370 | 42 | |
0.7% | - | |
7.4 | 6.3 | |
5 days ago | 11 months ago | |
JavaScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cypress-example-recipes
-
Configuring Cypress, cypress-react-unit-test, and React
I am using the file from their example repo for testing: https://github.com/cypress-io/cypress-example-recipes/blob/master/examples/unit-testing__react/greeting.jsx
-
Client suddenly adopted Cypress while I have no base knowledge of Javascript or Cypress itself
Aside from the basic documentation on their website, I would also recommend reading through their kitchen sink examples. They're available on Github and on their site's documentation. I highly recommend reading the provided documentation top to bottom to really understand what the framework can provide and the testing philosophy the Cypress team took when building it. In addition, the Examples section on the Cypress website compiles a healthy amount of tutorial videos which have a ton of helpful information.
knapsack-pro-cypress
-
BitBucket parallel Cypress tests configuration for CI pipeline integration
image: cypress/base:10 options: max-time: 30 # job definition for running E2E tests in parallel with KnapsackPro.com e2e: &e2e name: Run E2E tests with @knapsack-pro/cypress caches: - node - cypress script: # run web application in the background - npm run start:ci & # env vars from https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/ - export KNAPSACK_PRO_CI_NODE_BUILD_ID=$BITBUCKET_BUILD_NUMBER - export KNAPSACK_PRO_COMMIT_HASH=$BITBUCKET_COMMIT - export KNAPSACK_PRO_BRANCH=$BITBUCKET_BRANCH - export KNAPSACK_PRO_CI_NODE_TOTAL=$BITBUCKET_PARALLEL_STEP - export KNAPSACK_PRO_CI_NODE_INDEX=$BITBUCKET_PARALLEL_STEP_COUNT # https://github.com/KnapsackPro/knapsack-pro-cypress#configuration-steps - export KNAPSACK_PRO_FIXED_QUEUE_SPLIT=true - $(npm bin)/knapsack-pro-cypress artifacts: # store any generated images and videos as artifacts - cypress/screenshots/** - cypress/videos/** pipelines: default: - step: name: Install dependencies caches: - npm - cypress - node script: - npm ci - parallel: # run N steps in parallel - step: <<: *e2e - step: <<: *e2e - step: <<: *e2e definitions: caches: npm: $HOME/.npm cypress: $HOME/.cache/Cypress
What are some alternatives?
quasar-testing - Testing Harness App Extensions for the Quasar Framework 2.0+
cypress-localstorage-commands - Extends Cypress' cy commands with localStorage methods. Allows preserving localStorage between tests and spec files. Allows disabling localStorage.
percy-cypress - Visual testing with Cypress and Percy
github-action - GitHub Action for running Cypress end-to-end & component tests
Detox - Gray box end-to-end testing and automation framework for mobile apps
google-forms-automation - JavaScript / Cypress script that fills out Google Forms automatically.
debezium-examples - Examples for running Debezium (Configuration, Docker Compose files etc.)
cypress-and-jest - Cypress and Jest both with code coverage running unit tests
cookbook - 🍲 A library for all your recipes
starter-kit - Starter kit for full-stack JavaScript projects
synpress - Synpress is e2e testing framework based on Cypress.io and playwright with support for metamask.
snapshot - Adds value / object / DOM element snapshot testing support to Cypress test runner