knapsack-pro-cypress
gitlab-cypress
knapsack-pro-cypress | gitlab-cypress | |
---|---|---|
1 | 1 | |
42 | 82 | |
- | - | |
6.3 | 7.5 | |
11 months ago | 9 days ago | |
JavaScript | JavaScript | |
MIT License | 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.
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
gitlab-cypress
-
How to create custom commands with Cypress
I'll use the wlsf82/gitlab-cypress project repository as an example.
What are some alternatives?
cypress-localstorage-commands - Extends Cypress' cy commands with localStorage methods. Allows preserving localStorage between tests and spec files. Allows disabling localStorage.
cypress-mochawesome-reporter - Zero config Mochawesome reporter for Cypress with screenshots and videos
github-action - GitHub Action for running Cypress end-to-end & component tests
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
google-forms-automation - JavaScript / Cypress script that fills out Google Forms automatically.
snapshot - Adds value / object / DOM element snapshot testing support to Cypress test runner
cypress-and-jest - Cypress and Jest both with code coverage running unit tests
jest-opentelemetry - Easily run integration tests for your backends
starter-kit - Starter kit for full-stack JavaScript projects
cypress-example-recipes - Various recipes for testing common scenarios with Cypress