All Projects → ax2inc → cypress-xhr-responses-recording

ax2inc / cypress-xhr-responses-recording

Licence: other
No description or website provided.

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
HTML
75241 projects

Projects that are alternatives of or similar to cypress-xhr-responses-recording

Recorder
A browser extension that generates Cypress, Playwright and Puppeteer test scripts from your interactions 🖱 ⌨
Stars: ✭ 277 (+1357.89%)
Mutual labels:  e2e, cypress
Pending Xhr Puppeteer
Small tool to wait that all xhr are finished in puppeteer
Stars: ✭ 227 (+1094.74%)
Mutual labels:  xhr, e2e
babel-plugin-remove-test-ids
🐠 Babel plugin to strip `data-test-id` HTML attributes
Stars: ✭ 40 (+110.53%)
Mutual labels:  e2e, cypress
cypress-maildev
Cypress Maildev is a bunch of Cypress commands in order to test your messages (SMS and Emails) by using Maildev REST API.
Stars: ✭ 19 (+0%)
Mutual labels:  e2e, cypress
main
Mocks Server monorepo
Stars: ✭ 109 (+473.68%)
Mutual labels:  fixtures, cypress
cypress-page-object
Represent the screens of your website as a series of objects in your Cypress test suite
Stars: ✭ 23 (+21.05%)
Mutual labels:  e2e, cypress
cygger
Boilerplate generator for API Testing from Swagger to Cypress
Stars: ✭ 20 (+5.26%)
Mutual labels:  e2e, cypress
odoo-cypress
Odoo Framework E2E Testing using Cypress
Stars: ✭ 19 (+0%)
Mutual labels:  e2e, cypress
cypress-browser-permissions
A Cypress plugin to set launched browser preferences including permissions like Geolocation, Notifications, Microphone, etc.
Stars: ✭ 40 (+110.53%)
Mutual labels:  e2e, cypress
cypress-circleci-reporter
Cypress test reporter for CircleCI
Stars: ✭ 37 (+94.74%)
Mutual labels:  cypress
todo-graphql-example
Example Todo app on top of json-graphql-server
Stars: ✭ 20 (+5.26%)
Mutual labels:  cypress
life-after-hate
An intuitive resource map to aid nonprofit Life After Hate staff in finding resources for individuals attempting to disengage from hate groups.
Stars: ✭ 12 (-36.84%)
Mutual labels:  cypress
silverback
DEPRECATED. Use https://packagist.org/packages/amazeelabs/silverback-cli instead.
Stars: ✭ 13 (-31.58%)
Mutual labels:  cypress
split-tests
Split test files in Jest and Cypress into parallel CI jobs
Stars: ✭ 22 (+15.79%)
Mutual labels:  cypress
local-cypress
Use Cypress without global objects
Stars: ✭ 19 (+0%)
Mutual labels:  cypress
example-percy-cypress
Example app demonstrating Percy's Cypress integration.
Stars: ✭ 48 (+152.63%)
Mutual labels:  cypress
cypress-angularjs-unit-test
Unit test Angularjs code using Cypress.io test runner
Stars: ✭ 23 (+21.05%)
Mutual labels:  cypress
lovely-pytest-docker
Pytest plugin providing the ability to use docker-compose services as fixtures.
Stars: ✭ 73 (+284.21%)
Mutual labels:  fixtures
playwright-fluent
Fluent API around playwright
Stars: ✭ 71 (+273.68%)
Mutual labels:  e2e
glific-frontend
Frontend for the Glific platform
Stars: ✭ 18 (-5.26%)
Mutual labels:  cypress

Dynamic XHR responses recording & stubbing with Cypress

This is as simple project that showcases a way of dynamically saving XHR responses as JSON fixtures while running tests and using these fixtures to stub requests in subsequent tests.

This was created as a supplement to a Medium article that you can read here: https://medium.com/ax2-inc/dynamic-xhr-responses-recording-stubbing-with-cypress-9257d4f730cd

To try this out, clone the project and install its dependencies:

yarn

Then, run the tests in record mode to save XHR responses locally:

yarn e2e:record

You can now run following tests in normal mode which will use the JSON fixture to stub XHR requests:

yarn e2e
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].