Questions tagged [cypress]
Cypress an all-in-one web testing framework and assertion library developed in JavaScript, complete with automatic waits, request mocking, and request stubbing.
cypress
9,937
questions
1
vote
1
answer
11
views
I am unable to interact with the element that opens on another page
`When I click on the Treasury button, Cypress calls another page that is opened outside the execution environment. If I don't use visit I can't interact with the element. I don't want to use visit, if ...
0
votes
0
answers
22
views
Test C3 path visibility with Cypress [closed]
In the context of a C3 application I am trying to test if the path of a graph is being drawn using Cypress.
However since the graph uses C3 brush feature, using something like:
cy.get('#svgSxWheel ...
2
votes
1
answer
31
views
(Cypress) "list" argument must be an Array of Buffers
I'm trying to use the speakeasy library to authenticate with a Cypress Automation.
This is the auth code generator code:
const token = speakeasy.totp({
secret: '(my secret key)',
encoding: '...
0
votes
0
answers
9
views
why i am getting error in cypress automation [closed]
getting error as Cypress Error: Timed out after waiting 120000ms for your remote page to load.
Your page did not fire its load event within 120000ms.
You can try increasing the pageLoadTimeout value ...
-1
votes
0
answers
35
views
Running into issues when using BrowserStack with BDD Cypress [closed]
I have configured my Cypress tests with BDD, which works fine on my local or remote machine, but when tried to integrate them with BrowserStack its running into issues and the problem seems to be,
...
0
votes
1
answer
18
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 ...
-1
votes
1
answer
23
views
Configuration composent testing Cypress with StencilJS? [closed]
how to configure component testing with Cypress in a project using the StencilJS framework?
Cypress : v13
I was inspired by the configuration examples with the React and Angular framework, but ...
-1
votes
1
answer
44
views
no data in NYC .nyc_output/out.json = Angular18 + Cypress + Code Coverage
Minimum Reproducible Repo =
https://github.com/david-kirkland/ng18-code-coverage
I have started from scratch several times and cannot seem to get e2e test coverage using Angular 18, cypress, @cypress/...
0
votes
0
answers
21
views
How to import storybook stories into cypress for component test with angular
I am trying to use storybook with cypress on an angular app for component testing .My need is to create stories for angular components and use them in cypress .In React we can use ComposeStories ...
1
vote
3
answers
45
views
Cypress - Matching a query with a wildcard or regex
Consider the below code to intercept an API call. It checks if query parameter cliendId = 36. I want to make this code only consider the query param clientId and NOT its value of 36. So, I tried to ...
1
vote
1
answer
34
views
Handling unavailable price element with another element
So, I've made this web scraping script for Cypress. It goes to a shop website and scrapes the listed products (product titles and prices). Namely, in the case of certain products, there is no price ...
-1
votes
0
answers
26
views
Should I Run a Development Server or a Production Server for Cypress E2E Tests in CI? [closed]
I am currently running E2E tests for my React application using Cypress in a CI environment. Before executing the Cypress tests, I need to start the React server. I am undecided whether to run the ...
0
votes
0
answers
28
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.
...
0
votes
0
answers
22
views
There is a way of playing AVI video file via Cypress? [closed]
There is a way of playing AVI video file via Cypress?
I have a test that play video in a specific time, then it's export the played time to AVI file.
I need to open the AVI and play it via Cypress. It ...
0
votes
2
answers
69
views
Can I expect "time now" with leniency by a few minutes? [closed]
I'm using the dayjs function and wanted to try and add some leniency to the "time now" so that my test doesn't fail if it takes longer than a minute to run/load.
Currently I have the below ;
...