All Questions
Tagged with cypress automated-tests
645
questions
0
votes
1
answer
16
views
Scrolling in the table component with Cypress
I'm working on automating some testing with Cypress inside of SAP Hybris. Basically, I'm at the part where a list of promotions is given in the form of a table. The task that Cypress has to manage is ...
0
votes
0
answers
27
views
Problem accessing web elements using Cypress [closed]
I use Cypress and typescript. I ran into a problem.
The page has a form with a button and input fields.
Expected result: When you click the button, the input fields become available for editing.
...
2
votes
1
answer
34
views
Cypress - How to iterate through the values of an environment variable and verify each item from the carousel list
I want to test whether the carousel on my website contains the correct items that are represented as company logos. Each carousel item has an <img> element with the 'alt' attribute which is ...
2
votes
1
answer
36
views
Cypress - Page Load Fails despite loading correct JSON
I'm trying to learn Cypress. And I'm trying to intercept an API call and return a fixed JSOn response. It works correctly with all responses being sent, and the page loads in the IDE too but Cypress ...
0
votes
0
answers
24
views
Cypress - cannot select option in dropdown inside the iframe
I have a dropdown like below:
The panel with the options is displayed only when the user starts typing.
The DOM input element is defined as below:
<input _ngcontent-ng-c3697127439="" ...
0
votes
0
answers
34
views
Reuse results of random generation function as "const" [duplicate]
Newbie question here,
For Cypress test of a web project, I generated a random name for an item creation. I want to "store" the resultat as "const" in order to check that folder is ...
0
votes
1
answer
67
views
Gitlab CI pipeline for Cypress test fails
I have tried a hundred different ways but still can't get the Cypress test to run successfully on Gitlab CI. Below is my basic setup/config. I'm not sure what is wrong with my setup.
.gitlab-ci.yaml
...
0
votes
2
answers
57
views
How do I call a function in cypress.io for E2E test automation?
I am in a QA bootcamp (Coding Temple) and I am working on an assignment where we take pseudo code and turn it into an automated test using javaScript functions in cypress. However, I just cannot get ...
1
vote
1
answer
68
views
Cypress - RangeError: Invalid time value at Date.toISOString
I'm using cypress version 13.9.0 and I get RangeError: Invalid time value at Date.toISOString on cy.reload().
Any ideas how to overcome it?
waitForUpdate(employeeId, employeeName, employeeEmail) {
...
0
votes
0
answers
23
views
After login using cy.origin I am not logged in
I'm struggling with login using cy.origin. I've try use cy.session, but after session the page is log out.
Here is my commands.js
Cypress.Commands.add("login", (username, password) => {
...
0
votes
0
answers
25
views
Cypress - iframe in iframe
I have a problem with my app. I am trying to type in an element that is in two iframes.
First I´m trying to load first iframe and type in elements that are visible - it works perfect!
cy.frameLoaded('...
0
votes
1
answer
85
views
I want Gmail api to read and write email using postman api. Without browser and UI interaction [closed]
I'm facing problem to use gmail api for my cypress test cases to read and write emails by using api's. But tried alot by reading different blog and watching videos, But nothing helped me out in better ...
0
votes
1
answer
45
views
Testing Cypress in two tabs at the same time
Testing cypress in two tabs at the same time.
I have read that Cypress does not support multiple tabs. However, there are many examples of surpassing this limitation. From them I did not fully ...
0
votes
0
answers
20
views
Cannot Produce Baseline on Cloud for Visual Tests
I'm using Cypress and Github-Actions together. I'm using "cypress-image-diff-js" plugin to take care of comparing and testing visuals and test whether image is correct or not. These ...
4
votes
1
answer
137
views
Allow Cypress to ignore missing certificate files
I have the following in my cypress.config.js file:
clientCertificates: [
{
url: 'https://1.1.1.1',
ca: [],
certs: [
{
cert: 'certs/cert.pem',
...