Switch branches/tags
1.1.5 1.2.0 add-codepen-recipe-40 add-collect-node-env-variables cy-3.1.0-for-190 cy-task-recipe cypress-4 file-upload-recipe-43 greenkeeper/chalk-2.3.1 greenkeeper/chalk-2.3.2 greenkeeper/chalk-2.4.0 greenkeeper/chalk-pin-2.3.0 greenkeeper/enzyme-3.3.0 greenkeeper/enzyme-pin-3.2.0 greenkeeper/eslint-4.19.1 greenkeeper/jquery-3.3.1 greenkeeper/jquery-pin-3.3.0 greenkeeper/lodash-4.17.5 greenkeeper/lodash-pin-4.17.4 greenkeeper/nodemon-1.17.3 greenkeeper/nodemon-1.17.5 greenkeeper/pretty-ms-3.2.0 greenkeeper/pretty-ms-pin-3.1.0 greenkeeper/react-dom-16.1.0 greenkeeper/react-dom-16.1.1 greenkeeper/react-dom-16.2.0 greenkeeper/react-dom-pin-16.0.0 greenkeeper/@types/mocha-5.2.1 greenkeeper/webpack-4.6.0 greenkeeper/webpack-4.8.2 greenkeeper/webpack-4.8.3 greenkeeper/webpack-4.9.0 greenkeeper/webpack-4.9.1 greenkeeper/webpack-4.9.2 greenkeeper/webpack-4.10.0 greenkeeper/webpack-4.10.1 greenkeeper/webpack-4.10.2 image-with-ff issue-20 issue-30 issue-35 issue-150 issue-165 kill-background-travis-jobs-156 lint-ts master new-window-stub-recipe parallel-circle-jobs-56 parcel-preprocessor polyfill-fetch-in-test-only preprocessor property-assertion-example renovate/chai-4.x renovate/cypress-browserify-preprocessor-1.x renovate/eslint-plugin-mocha-5.x renovate/execa-0.x renovate/fs-extra-7.x renovate/json-server-0.x renovate/nodemon-1.x renovate/npm-run-all-4.x renovate/stop-only-1.x renovate/stop-only-2.x renovate/ts-loader-4.x renovate/tslint-5.x renovate/typescript-3.x renovate/webpack-4.x snapshot-testing-recipe-66 split-long-spec split-travis-ci-jobs-71 spy-retry stop-server-better-156 testing-redux-store ts-loader-4 update-ts-webpack-example vue-example-39
Nothing to show
Find file History
bahmutov Testing redux store (#211)
* copy app

* working app

* a lot of tests

* snapshot testing

* update readme

* test delayed actions

* use cypress-pipe

* use root level cypress-plugin-snapshots

* test redux example on circle and travis

* update readme

* add circle job to workflow

* use cypress base 10 image

* use node 10 LTS on Travis

* prev patch of react-scripts with har-validator
Latest commit bd40fd3 Nov 14, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
cypress Testing redux store (#211) Nov 13, 2018
public Testing redux store (#211) Nov 13, 2018
src Testing redux store (#211) Nov 13, 2018
.env Testing redux store (#211) Nov 13, 2018
README.md Testing redux store (#211) Nov 13, 2018
cypress.json Testing redux store (#211) Nov 13, 2018
package.json Testing redux store (#211) Nov 13, 2018


Testing Redux Store

Testing Redux store using Cypress.

Shows how to

  • control application via DOM and check that Redux store has been properly updated
  • drive application by dispatching Redux actions
  • use Redux actions directly from tests
  • load initial Redux state from a fixture file
  • use automatic user function retries with cypress-pipe
  • use snapshot testing via meinaart/cypress-plugin-snapshots plugin


The example TodoMVC application in this folder was copied from https://github.com/reduxjs/redux/tree/master/examples/todomvc on November 2018.