Category "cypress"

Why does Cypress get ECONNRESET when accessing api.cypress.io port 443?

Cypress is failing whenever it tries to start the browser for any test. The debug output (below) for Cypress says that it makes a request of api.cypress.io at

Cypress web sockets error: 'Sec-WebSocket-Accept' header is missing

I am trying to test a VueJs application with Cypress. Everything works well except the websocket connection that fails with the message: Error during WebSocket

cy.intercept randomly not work when "delay" is set

I use cy.intercept to mock an api. But I can't understand why the requests are not always intercepted by cy.intercept. The failure is random. Here is my interce

Webpack compilation error with Cypress-webpack-preprocessor

I am not able to run cypress test and getting foll error: When I ran cypress run: It is giving below Webpack compilation error Webpack Compilation Error ./cypre

Cypress + ECONNRESET

We've suddenly been having an issue with cypress automation, and it is impacting a number of people / different pc's. It will run then stop with this error Erro

Nodemailer. createTestAccount and cypress: generate same email address

I created an E2E to test for signups, using Nodemailer with Ethereal. When the test runs the first time everything ends smoothly, but when I executed it a secon

How to check the radio button is clickable or not in cypress

I need to check whether the radio button is clickable or not. In some scenarios this radio button is clickable but in some scenarios, the user is not able to cl

How to fetch copied to clipboard content in cypress

How to get the 'clipboard' content in cypress. I have a button in my web application, on click of button system will perform 'copy to clipboard' and a message

Typescript/cypress-cucumber-preprocessor : Writing a Scenario Outline with dynamic examples

My question is very similar to this one: Behave: Writing a Scenario Outline with dynamic examples. The difference is that I do not use Python. I handle my Gherk

How to run tests outside of integration folder in Cypress

I have project B linked to project A with npm link and am trying to run tests from B in A. Project A builds the entire front end and could use other modules tha

'cypress-promise' library is not working as expected

I have tests in which i used the cypress-promise library. I have included promisify in that to wait until my commands are executed and give response. in my file

Cypress: copy paste shortcuts not working

I am testing a simple <input type="text" /> element with Cypress. When I run the following test: it("should copy and paste", () => { cy.get("input")

Renaming cypress screenshot

I am trying to rename the screenshots created for my failed cypress tests. I followed the example of the documentation https://docs.cypress.io/api/plugins/after

Mochawesome use AddContext in afterEach with cypress

I spent the last 10 days trying to use the function addContext in the afterEach function as I'm using in "test:after:run" post action. The reason to do this is

Signing into Cognito app through Cypress programmatically , giving userpoolId and clientId is loading the app with out user data

I am trying to automate Sign In flow for an app with Cognito Identity Provider in Cypress. This is the code I am using cypress.json : "username": :<userName&

Paste test in cypress in reactjs project

Any ideas how to simulate Paste action in Cypress in a bundle with React? My test should check value right after paste action. I found few solutions based o

Is there a way that I can run only Cypress tests specific to the application files I changed?

I would like to run only specific Cypress tests related to the application files that I changed, but every time that I make a change all the integration tests a

How to implement the ant dropdown select in cypress

I have an application developed using ant design ( React JS ), and I started integrating the cypress e2e test for the application. However, I could not get it t

Custom cypress commands is not assignable to parameter of type 'keyof Chainable<any>

In a .ts file I create a test to try and access a custom created command from command.js, createInbox function is underlined with red with the following message

Intercept the same API call multiple times in Cypress

Is it possible to use cy.intercept to intercept the same API call multiple times in the same test? I tried the following: cy.intercept({ pathname: "/url", metho