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
1
vote
1 answer

Quasar2 Vue3 Cypress component-index.html

I don't have any such file component-index.html in my source tree. Any sample of this file available? How should I create it? I run into the following error when running component testing with Cypress: No element found that matches selector…
1
vote
1 answer

Cypress Test Coverage (Create-react-app CRA Typescript)

I've been trying to set up Cypress code covereage based on their documentation, but it doesnt cover CRA (Create-react-app) in 2022 with Typescript, so i've been having some trouble. My folder structure…
1
vote
1 answer

cypress Component Testing missing webpack, but is detected

I would like to configure component testing in Component Testing. Frontend framework: React.js(detected); Bundler (Dev Server): Webpack(detected) Next Step: all ok. webpack >=4.0.0; react >=16.x Continue: I can see short the cypress.config.js in…
1
vote
1 answer

Component-testing @lexical/react editor: How to assert against HTML rendered by Cypress?

I want to component-test a controlled @lexical/react based input in Cypress. An example scenario: Given I have a controlled input with initial state "Hello world" When I click into the input And I press "! key" + "Home key" + "Arrow right key" +…
Michal Kurz
  • 1,592
  • 13
  • 41
1
vote
2 answers

vue.js - how to stub/mock http request in cypress component test

I have a profile dialog, where it fetches the data of the current user: ProfileDialog.vue