All Questions
Tagged with cypress cypress-component-test-runner
144
questions
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 ...
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 ...
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 ...
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,...
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.
...
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 ...
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(...
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 ...
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....
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 ...
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 ...
-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 ...
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 ...
0
votes
2
answers
448
views
Command cy stays undefined while using the eslint cypress plugin and extending it in the configs
I want to do Component Testing with Cypress, for that I have follolwed the docs and used the automatic file creation for Component Testing. For that I clicked on "Component Testing" in this ...
0
votes
2
answers
381
views
the textarea value not changing with .type() by Cypress [closed]
I'm new to Cypress. I got the following error.
assert expected <textarea.w-full.border-2.min-h-[100px].p-4> to have value "New message from user134", but the value was ' '
Any idea ...