Skip to main content

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.

cypress-component-test-runner
4 votes
1 answer
69 views

Cypress Component Testing in Angular Shadow Dom Components

I am trying to run Cypress component testing on a library of Angular components. Currently, all of my components have shadowDom turned on. Which seems to be causing me a problem when running multiple ...
Jamie Clark's user avatar
0 votes
1 answer
86 views

Cypress component testing fails because of tailwind [closed]

I am trying to do some component testing with Cypress and I can't get it to work, I am always getting an error. I think this is happening because Tailwind is not set up correctly. I tried following ...
mevoker659's user avatar
0 votes
1 answer
34 views

cypress support/e2e.ts is running in component mode

I'm trying to add cypress component tests to a code base that already has e2e tests running. This is my run command: npx cypress run --component --browser chrome It is running support\e2e.ts which ...
Ger's user avatar
  • 191
0 votes
0 answers
6 views

Cypress - Angular code - button sometimes are recognized and sometimes are not

I am trying to build automation tests , I am using Cypress on an application that is written with Angular . There are buttons at the page , the problem is that sometimes the Cypress activates those ...
Ilanit Bitan's user avatar
0 votes
0 answers
15 views

Cypress popup message - can NOT select ok or cancel

I have a window that when I click on a button - there is a popup message it is written in Angular , I need to choose to confirm or cancel button at the popup window , but I can't reach the button Via ...
Ilanit Bitan's user avatar
0 votes
2 answers
101 views

Cypress Vue component test crashes on import Ref type (does not provide an export named 'Ref')

I wrote a Cypress component test that simply mounts my component and asserts it exists. The component itself imports Vue's Ref type and is also defined as a TypeScript component. When running the test,...
Cédric Bloem's user avatar
0 votes
0 answers
56 views

can't resolve 404-error.cypress-component-test Vue3 in bitbucket-pipeline

application summary cypress v13.6.3 vue v3.1.0 I am trying to create a CI environment that creates component tests in cypress and automatically runs the tests each time they are pushed to bitbucket. ...
shuji.takeda's user avatar
1 vote
1 answer
216 views

Cypress baseUrl for different e2e folders

I have two folders in my e2e for two different web projects. I am using cypress.config.js in the source root to define my base Urls. Problem is I need to use different URLs for each different project ...
KDK's user avatar
  • 69
1 vote
0 answers
96 views

cypress component test with rollup bundler

The primary bundler in my mono-repo is rollup . I am trying to configure cypress component test following the documentation here . My cypress.config.ts file is below const INIT_FILEPATH = path.resolve(...
Nuru Salihu's user avatar
  • 4,828
3 votes
1 answer
396 views

cypress component test not catching update event emitted from my Vue3 component

I am new to component testing and using spys in cypress so this might be a silly question. I have a pretty simple component that I am testing where when you make a selection in the component and the ...
samantha's user avatar
  • 223
0 votes
0 answers
189 views

Unable to import tailwind CSS into cypress component tests in an angular application

I am new to Cypress component testing and struggling to load the third-party CSS library like Tailwind CSS into my component script file. I have followed this tutorial to the tee https://www.youtube....
Radman Shiekh's user avatar
1 vote
2 answers
560 views

Angular Cypress component test error: Cannot access '<Component>' before initialization

I am trying to run spec for my Angular component using Cypress. But I've got the following error in Cypress logs: The following error originated from your test code, not from Cypress. > Cannot ...
Amphyx's user avatar
  • 746
2 votes
0 answers
49 views

Cypress test not loading data inside Nuxt component on CI

I have some Cypress tests in my project that were until recently running absolutely fine, but over the past week have started failing. I can see the issue is my Contentful data isn't pulling through ...
user2953989's user avatar
  • 2,917
-1 votes
1 answer
229 views

how to wait for a popup which takes long to load in cypress [closed]

I am testing a web application form that has popups and it takes a lot of time to load another popup form that needs to be filled currently, I am using a wait of 20 sec which mainly works but ...
Rishikesh Patange's user avatar
1 vote
0 answers
288 views

Why does Cypress not find my config module, even though it is definitely there?

I've installed Cypress into an existing Vue 3 project and just ran npx cypress open. That opened a window to set up component testing. Once I let it do its things creating the necessary files, I'm ...
Benjamin Schmidt's user avatar

15 30 50 per page
1
2 3 4 5
10