Most voted "cypress" questions
Cypress is a testing framework used for integration (or end-to-end) "all-in-one" tests: an assertion library with mock and request stub, all without Selenium.
Learn more…9 questions
Sort by count of
-
1
votes0
answers50
viewsHow to mock two components to perform cypress testing using mountVue()?
I am trying to mock two components using Cypress. These components were created in Vue. To perform unit tests I was able to mock using the mountVue() as you can see in the example below: import…
-
1
votes1
answer309
viewsHow to Test Forms with Cypress?
I’m having a hard time understanding how form testing works with using Cypress. I would like to test if the page form https://drbarakat.curseria.com/e-book is redirecting to the page…
-
1
votes1
answer277
viewsCypress page behaves differently when trying to use two domains in a single test
Procedure in Google Chrome I have an Azure B2C login page, enter the user and password and press the "Login" button and then normally. In this process I am redirected to my application page with a…
-
1
votes0
answers110
viewsHow can I validate empty fields with cypress
I already have a method that validates when they have some information about him, but when there is nothing he does not find the element of the list. Cypress.Commands.add('selectedFilterPlan',…
-
0
votes1
answer728
viewsHow to get the value of a text with Cypress?
I need to capture the text of an element with Cypress. I am using: const test = cy.get('elemento').invoke('text') cy.log(test) The log shows: Object{5}. What do I have to do to get this log? Because…
cypressasked 4 years ago Lucas Marcos 11 -
0
votes1
answer147
viewsControl a new tab with Cypress
I’m testing an app with Cypress, and I have a problem. Clicking the button (Manage) opens a new tab and I would like to know if I can force it to open in it or make cypress use the new tab. Unable…
-
0
votes0
answers28
viewsHow to configure Cucumber-Preprocessor + Allure report in index.js plugins in cypress
all right? How I should set up index.js to use Cucumber-Preprocessor + Allure report? My index.js file looks like this: //cucumber-preprocessor const cucumber =…
cypressasked 3 years, 7 months ago Allan Costa 31 -
0
votes0
answers27
viewsUncaught Typeerror Visible is not a Function in Cypress
My application is giving this error message. Uncaught Typeerror: navbar.Visible is not a Function This error originated from your application code, not from Cypress. When Cypress detects uncaught…
-
-3
votes0
answers26
viewsHow do I run Github Actions in the `deployment_status` event but only for the QAS Branch?
I need github actions to run only on the QAS branch and with deployment_event. At the moment I’m implementing in this way name: Cypress on: [deployment_status] jobs: e2e: if:…