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
0 answers

git add Nothing specified, nothing added

hint: Maybe you wanted to say 'git add .'? hint: Turn this message off by running hint: "git config advice.addEmptyPathspec false" add in repository GitHub via GitBash
0
votes
0 answers

Not able to select dynamic name pdf in cypress

Getting the following error: Error: A fixture file could not be found at any of the following paths: cypress\fixtures\cypress\fixtures*.pdf cypress\fixtures\cypress\fixtures*.pdf{{extension}} Cypress looked for these file extensions at the…
0
votes
0 answers

How to Exclude few specs from running from Cypress run command but should be able to run via import command from other spec

How to exclude certain specs to be run in the folder when npx cypress run is executed for example please see the image I don't want to execute my spec which is in Marketing/Sales/sc1111.spec.ts but at the same time I want it to execute via the…
0
votes
0 answers

How Nested test execute in parallalization in Cypress

if I have nested describes describe('Desc1', () => { describe('Desc1.1', () => { }); describe('Desc1.2', () => { }); }); then when I run it in parallelization is the Desc1, Desc 1.1, and Desc 1.2 will be distributed to machines or will…
0
votes
1 answer

How to test reactiveness of Vue Component in Cypress Componet tests

I am trying to test if a prop of a vue component is reactive using cypress component tests. Strangely it looks reactive, because my test is not even able to test if the original value was rendered as expected. Sadly it is not enough to test if the…
0
votes
0 answers

How to test data that is present in excel to a website in cypress

I have some data in bulk let's say 100 in an excel file. I have to test those data in a website one by one, so can anyone tell me how to access those data and write in this cypress
work ford
  • 1
  • 1
0
votes
2 answers

How to Run List of random multiple test cases in Cypress and how to make command string shorten

Lets say i have 300 test cases and among them 100 are failing now i want to run those 100 test cases again (Note: i have even rerun the cypress test cases with appropriate option and it even run the test cases for finding flaky test cases) Now i…
0
votes
0 answers

Cypress - add time threshold globally to all tests

Is there a way to add time thresholds globally on cypress test suites? I want to enforce this rule on tests of my project. For example: timeThreshold = 3 mins If any of the tests in my project go over the timeThreshold, I want a list of those tests.
0
votes
1 answer

Intercept network request in Cypress component test

In Cypress e2e test, I was using cy.intercept to intercept a graphql call and make it return mocked response. Now I am trying to do the same in my Vue component test (mount the component, take some action to make a call to occur) but it seems doing…
bob
  • 2,674
  • 1
  • 29
  • 46
0
votes
0 answers

Cypress Component testing fails with 404 on component fetch

Updates Based on comments and further tests I now suspect that the problem has somewhat to do with access restriction on the path, not the path itself. It's however not clear to me what actually is the cause, as there is no clear hints of it. I now…
Marcel
  • 15,039
  • 20
  • 92
  • 150
0
votes
0 answers

ERROR:gpu_init.cc(446)] Passthrough is not supported, GL is disabled, ANGLE is

while opening the cypress I am facing (Passthrough is not supported, GL is disabled, ANGLE is ) this issue, for opening cypress I have tried npx cypress open. And this error appears . I have tried delete package from user/appdata/ roaming/ cypress.…
0
votes
1 answer

Problem setting up Cypress component tests for CRA with ejected Webpack config

I am trying to set up Cypress component tests with the following specs: Cypress 10 CRA with ejected config TypeScript webpack 4 webpack-dev-server 3 Running in Drone CI I've taken two different paths with different levels of success, but I'm not…
0
votes
2 answers

How do I add the styling of chakra-ui into cypress component testing

From what I understand, I can import a css file into cypress. However, chakra-ui doesn't have one so how do i do it? Thanks in advance.
0
votes
1 answer

How to correctly set up Cypress 10, Vue2, Vuetify, Composition API for component testing?

The guide is quite confusing and obviously not correct when trying to set up Cypress 10 for component testing with Vue2 and Vuetify with composition API. There's lots of errors of unknown tags, things returned from setup() aren't accessible, spread…
0
votes
1 answer

Getting this.input.charCodeAt is not a function when mounting components in test bed for Angular 13

We are performing cypress component test for angular components. While doing this process we created cy-spec file and mounted the components. While mounting the components we get the error this.input.charCodeAt is not a function We are using…
Varad
  • 920
  • 10
  • 25