Questions tagged [cypress-component-test-runner]

This tag should be used in questions related to running Cypress tests with Component Test Runner and the configuration or other issues with the Cypress Component Test Runner.

This tag should be used in questions related to running Cypress tests with Component Test Runner and the configuration or other issues with the Cypress Component Test Runner itself.

References:

Related tags:

180 questions
0
votes
2 answers

Can run Cypress component test (not e2e test) on Amplify console?

Recently started to use Cypress and @cypress/vue, my component tests run ok on local environment by script below: "cy:run-ct": "cypress run-ct" My project is hosted by Amplify console and I wanted to run them (component tests not e2e tests) on…
bob
  • 2,674
  • 1
  • 29
  • 46
0
votes
1 answer

How to copy value and find the user in cypress

I try to copy the value from the filed (*First name'**) then I want to find if in the list of users But, when I type ('@value')to the serarch filed, the cypress put @value like text enter image description here enter image description…
0
votes
0 answers

Unable to run cypress tests in Ubuntu 20.04 LTS ( Linux ) server machine

I have setup the tests to run in a ubuntu server machine. But for some reason, I am not able to run the tests in my ubuntu machine . The same test can be successfully run in a windows machine as welll as in a mac machine but not in an Ubuntu…
0
votes
0 answers

Is it possible to automate multiple urls with within one test in Cypress?

I am trying to automate a web application where I have a login page- eg- test.webapplication.com. After successful login, the url changes and it becomes something like mycm.home.site.com. I am not able to achieve this with cypress within one…
0
votes
1 answer

cypress Input with text-transform uppercase not picking correct value

I have an html input with style text-transform: uppercase, so whenever a user types a value into it, it turns to uppercase. But when I use cypress to locate this elemen't's value using .should('have.value', FIELD), I still get the original value…
0
votes
2 answers

How to write reusable "before" in Cypress?

I would like to write reusable "before" section, but has failed to pass variable from main file (A.js) to imported code (HelloUtil.js). Thanks in advance for any suggestions given. A.js import * as UTIL from "./HelloUtil" let variableFileA =…
0
votes
1 answer

How to set current time to future time by using Cypress?

I am using cypress to automate countdown content block, I need to test recurrence scenarios by using Cypress. In Example, At the Start - Days - 00 | Hrs - 00 | Mins - 00 I need to validate, after one hour, count down will be started (Days - 23 | Hrs…
-1
votes
0 answers

Run a Cypress test from a test Orchestrator written in Java

This is more of a research question. I am looking to build a test orchestrator that will ingest all types of tests, including Cypress tests. I am wondering how to invoke Cypress test (npx cypress run) via Java codefrom my test orchestrator. Cypress…
-1
votes
1 answer

Overriding component properties once it's been mounted

I'm setting up some Angular Component Unit Tests using Cypress. In one of my tests, as part of the arrange phase of the test, I want to either override a property of the component or override a property of a Service that I'm providing. This is the…
Pablo52
  • 41
  • 6
-1
votes
1 answer

Cypress: Error: Getting ESOCKETTIMEDOUT when using cy.visit()

Brand new project. I am simply trying to access adobe.com but getting a ESOCKETTIMEDOUT error. Given this is a new project, I doubt anything is wrong with the code. I am on MACOS 12.6.1 Monterey with no firewall on. Any settings/changes I need to…
-1
votes
1 answer

CYpress | Error: Webpack Compilation Error | Module not found: Error: Can't resolve 'cypress-iframe' in '/e2e/cypress/support'

I'm running cypress on docker using docker run command. I got the following error: Oops...we found an error preparing this test file: …
Seura
  • 35
  • 6
-1
votes
1 answer

CypressError cy.visit() failed trying to load https://example.cypress.io/todo

i created cypress project for that i run npm init -y to generate package.json file then npm i cypress to create a cypress project. then opened it via npx cypress open here i'm getting this error…
-1
votes
1 answer

Unable to navigate from button after clicking on it - Cypress

I am trying to click on 'Exhibitor Access' showing in screenshot, Test Runner is showing 'click' action, but click is not happening at all, Check screenshot. Please Can someone help me out on this, as I am stuck, I am using following strategy for…
Taimoor Pasha
  • 192
  • 2
  • 3
  • 16
1 2 3
11
12