skip to Main Content

Actions before Retry on Cypress – Jquery

I'm writing a test on Cypress and I want to clear the field values before retries. How should I do it? it('Fill info', { retries: 3 },function () { cy .get('#name') .type('Test') cy.intercept('POST', '**/api/**/Find') .as('memberresponse') cy .get('.btn') .click() cy.wait('@memberresponse').then(xhr =>…

VIEW QUESTION

NPM cache issue – Docker

I'm using jenkins for execute test cases based on cypress. I'm using kitchen sink example that provide by cypress in github repo https://github.com/cypress-io/cypress-example-kitchensink/blob/master/Jenkinsfile But when i execute this in jenkins job i got error npm ci npm WARN prepare removing…

VIEW QUESTION

How to swap env file for another docker service

I have a docker-compose.yml services: nextjs: container_name: next_app build: context: ./ restart: on-failure command: npm run dev volumes: - ./:/app - /app/node_modules - /app/.next ports: - "3000:3000" cypress: image: "cypress/included:9.4.1" depends_on: - next_app environment: - CYPRESS_baseUrl=http://nextjs:3000 working_dir: /e2e volumes: -…

VIEW QUESTION
Back To Top
Search