Skip to main content

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
0 votes
0 answers
15 views

Running into issues when using BrowserStack with BDD Cypress

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, ...
balvinder dhillon's user avatar
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 ...
No Tools No Craft's user avatar
0 votes
1 answer
19 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 ...
Wassim's user avatar
  • 1
-1 votes
1 answer
40 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/...
Kirkland's user avatar
  • 2,487
0 votes
0 answers
17 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 ...
code_buddy's user avatar
1 vote
3 answers
38 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 ...
MasterJoe's user avatar
  • 2,265
1 vote
1 answer
33 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 ...
No Tools No Craft's user avatar
-1 votes
1 answer
24 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 ...
Jihoo Kim's user avatar
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. ...
Norlerion's user avatar
0 votes
0 answers
19 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 ...
Bar Yamin Golan's user avatar
0 votes
2 answers
64 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 ; ...
kkibbey's user avatar
0 votes
0 answers
21 views

Configuration of gitlab.yml for smoke and full tests using the pipeline schedules

I would like to set up tests that will fire on the gitlab pipline. I would like to split the tests in cypress so that smoke fires once a day and all tests once a week. I have configured pipeline ...
Barsta's user avatar
  • 1
1 vote
1 answer
41 views

How to run both storybook and cypress in headless mode

I am trying to use storybook and cypress for component testing with Angular framework .I am able to run test cases when storybook server and cypress are running separately but finding difficult to run ...
code_buddy's user avatar
0 votes
1 answer
24 views

Return when cy.wrap failed [closed]

I have sometimes problems, that the line cy.wrap... break, when the IDTest element load to long. I am looking for a way, that this line jump back with an return to the function when this line failed. ...
StackDos's user avatar
0 votes
0 answers
19 views

Cypress Your test are loading after submit [closed]

Are there any bugs in Cypress that prevent this from happening? I created a function for the signup flow, and after submission, Cypress reloads the test. cy.get('[data-cy="button-submit-signup&...
Eric's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
663