Skip to main content

All Questions

Tagged with
0 votes
0 answers
107 views

E2E test environment in microservices

My backend project includes some microservices and I have a frontend project. I have a development branch and a production branch on GitLab. each backend service has its repository environment and ...
milad_vayani's user avatar
0 votes
0 answers
266 views

Page load timeout after clicking login button in Cypress

I'm new to Cypress and trying to write E2E test of logging in to application. My test looks like this: describe('my_test', () => { it('login', () => { cy.visit(Cypress.env('...
bieluk's user avatar
  • 9
1 vote
0 answers
278 views

What are the best practices to deal with external resources in E2E tests?

in my team we use E2E tests, and we have the following dilemma about dealing external resources: We want our E2E tests to test whole flows - including dealing with the DB, upload images to our S3 ...
user2993539's user avatar
3 votes
1 answer
2k views

Cypress XHR requests get aborted when running headless, in cypress based image container

Cypress XHR requests get aborted when running headless, in a cypress-based image container. Browser: Electron describe('Test Sign-In and search', () => { before(() => { cy....
Ido Bleicher's user avatar
0 votes
1 answer
365 views

Cypress, get the numeric value of an attribute

To avoid going crazy again, is it possible to get the value of the htmlTemplateof this element? <rect x="303" y="28" height="53" width="10" htmlTemplate=&...
Luca's user avatar
  • 353
3 votes
1 answer
6k views

How to intercept all request with cypress to test the response status

I looking for a way to intercept all request in cypress. I'm thinking about a thing like that: beforeEach(() => { cy.intercept({method: 'GET', path: '*'}).as('get') cy.intercept({method: '...
Alexandre Rodriguez's user avatar
0 votes
1 answer
60 views

Cypress represent the OR in a loop

I am trying to test the input values of a table, but I cannot represent the OR, nor can I skip a cell of a table. the table is cycled, it has all positive values, except in a cell where in automatic ...
Luca's user avatar
  • 353
1 vote
1 answer
587 views

Putting product in shopping cart makes it disappear in cypress

I'm an intern at an tech company and I've got the task to try to write some tests. I'm not a dev,nor an engineer, I'm actually studying economics so please forgive any newbie mistakes. My goal is to ...
M T's user avatar
  • 13
5 votes
2 answers
5k views

should E2E be run in production

Apologies if this is open ended. Currently my team and I are working on our End to end (E2E) testing strategy and we seem to be unsure whether we should be executing our E2E tests against our staging ...
alaboudi's user avatar
  • 3,369
1 vote
1 answer
1k views

Testing printing a page from a webapp (Cypress, Jest, Storybook???)

Let's say you just received the requirement about implementing a new feature in your webapp which should print on paper a section of that page. The requirement talks about optional elements to be part ...
Miles's user avatar
  • 83