cypress-example-recipes icon indicating copy to clipboard operation
cypress-example-recipes copied to clipboard

Various recipes for testing common scenarios with Cypress

Results 108 cypress-example-recipes issues
Sort by recently updated
recently updated
newest added

i studied these examples https://github.com/cypress-io/cypress-example-recipes/tree/master/examples/blogs__iframes to handle iframes. i think no one of these examples handle the problem of the iframe loading state, so often i need to put a...

A bug correction was released in Chromium 97 that ensures that websockets adhere to emulated network conditions set with `Network.emulateNetworkConditions`: https://bugs.chromium.org/p/chromium/issues/detail?id=1139824 Setting the network to offline in this way will...

I think it would make sense to have a third example in the drag and drop recipe which shows how straightforward it is in Cypress to drag one element to...

enhancement
first-timers-only

I try to create test to verify downloaded file with dynamic name. In Cypress test runner I see Download event with filename that I want to extract. ``` Event: download...

The iframes have to be of the same origin and the alert/confirm triggered by something other than `onload` of the iframe for the examples to work. # Confirm `index.html` ```html...

See : https://github.com/cypress-io/cypress/issues/18915 An error 'Argument of type '() => void' is not assignable to parameter of type '() => Chainable' throws when you return directly https://github.com/cypress-io/cypress/issues/18915#issuecomment-971834823 fixes #763

**Issue:** The recipe for setting a global timeout that applies to every test using `Cypress.on('test:before:run' ...` does not work as expected when you hit the maximum time while a `beforeEach`...

I am trying to follow the examples, but I get an error right away: ``` Error: Webpack Compilation Error ./node_modules/neat-csv/index.js Module not found: Error: Can't resolve 'node:buffer' ``` Any suggestions?...

The following example is copied from [this](https://github.com/cypress-io/cypress-example-recipes/issues/483) issue, it shows how to stub `navigator.cookieEnabled`. ```javascript cy.visit("http://localhost:3000", { onBeforeLoad(win) { cy.stub(win.navigator, "cookieEnabled", false); // works fine }, }); ``` This example...

See : https://github.com/cypress-io/cypress/issues/18915 An error 'Argument of type '() => void' is not assignable to parameter of type '() => Chainable' throws when you return directly https://github.com/cypress-io/cypress/issues/18915#issuecomment-971834823