Skip to main content

Questions tagged [cypress]

Cypress an all-in-one web testing framework and assertion library developed in JavaScript, complete with automatic waits, request mocking, and request stubbing.

cypress
0 votes
0 answers
13 views

Cypress Component Testing is Angular Shadow Dom Components

I am trying to 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 ...
Jamie Clark's user avatar
0 votes
0 answers
12 views

Handling CSRF token during Cypress Test Run

I have been working on test script using cypress. The condition is that I need to create a test case using cypress on verifying that a form in a web application could not be submitted if one of the ...
Firzana Eiwany Mashi's user avatar
0 votes
0 answers
14 views

cypress - how to continue running loop after assertion error

I have test that opens every item on the list. Then it validates if there are no empty ('--') fields. I want to log in console that there were empty fields and go to another item and run the loop till ...
Natalia Orzeł's user avatar
0 votes
0 answers
14 views

Cypress : Argument of type '(this: Context, query: any) => Bluebird<unknown>' is not assignable to parameter of type 'CommandFn

I am writing custom command in commands.ts file using Cypress and get the following error: Argument of type '(this: Context, query: any) => Bluebird' is not assignable to parameter of type '...
umairmifinity OME's user avatar
0 votes
0 answers
15 views

The injectable '_PlatformLocation' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available error on Cypress e2e tests [closed]

The injectable '_PlatformLocation' needs to be compiled using the JIT compiler error occurs whenever I try to run Cypress e2e test. I do not understand why do I get @angular/compiler error,even though ...
j.rustam's user avatar
0 votes
0 answers
22 views

Cypress microsoft login but popup a new window

I am writing cypress(ver 12.7.0) e2e test to authenticate my email account. I followed the cypress's example code, in their video, the cypress example shows the authentication window on the same page. ...
Toby's user avatar
  • 1
0 votes
0 answers
11 views

cypress-firebase emulator default credentials error

i'm using React and Firebase to build an web app and i would like to use Cypress to do some end to end testing. I am new to Cypress. I'm trying to setup Cypress-Firebase NPM package but i'm getting ...
Coolkid's user avatar
  • 507
1 vote
1 answer
40 views

Cypress component testing fails because of tailwind

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
19 views

How to give Mozilla FF clipboard permissions in cypress [duplicate]

I have a cypress test that includes checking that the copy button has copied value in an input field. The issue is I haven't found a good way to give clipboard permissions for the Mozilla browser as ...
Anastasia Kaloshina's user avatar
0 votes
0 answers
19 views

Error with Cypress tests on LambdaTest due to invalid config file URL scheme

I'm encountering an error when running Cypress tests through LambdaTest. The error message is as follows (from the LambdaTest dashboard > Automation > Web Automation): Your configFile is invalid:...
user26145948's user avatar
0 votes
0 answers
25 views

Using aws codebuild pipeline variables in Cypress

I'm having issues using pipeline variables i setup on aws codebuild with cypress. Basically I don't know how to call them from my Cypress code. Example of my buildspec.yml version: 0.2 env: ...
Umi's user avatar
  • 61
0 votes
1 answer
46 views

Automatically pass Cypress test after 1 minute of duration

How to program test which passes when 1 minute of duration is being achieved? No matter current stage of test being run. From comments: The test should pass if the endpoint returns 200, or if there is ...
Tomasz Wojciechowski's user avatar
-1 votes
0 answers
24 views

Call grpc endpoints of a vite app via Cypress

I am working on a Vite app that communicates with the server through a gRPC API with authentication. To avoid initializing data needed for the tests and deleting this data using end-to-end Cypress ...
xbo's user avatar
  • 67
0 votes
0 answers
18 views

Return the object DOM in a cypress spec [closed]

I'm using cypress to test END-TO-END for an application that was constructed with components stencil. When the application on the fly, the stencil API offer a object to access your functions from the ...
Caio Teixeira's user avatar
0 votes
0 answers
17 views

Cypress can't click on element [closed]

I have a test where I need to click on a button (the first steps are pretty much the same in all of the tests, I need to navigate to a certain 'organization overview' page). My code is the following: `...
nina999's user avatar

15 30 50 per page
1
2 3 4 5
663