Skip to content
Advertisement

Tag: e2e-testing

Cypress is not running in ci SyntaxError: Unexpected token ‘export’ with cypress-io/github-action@v2 typescript

I have the following plugin file for cypress: frontend/cypress/plugins/index.ts: When I run it on my machine it’s working but when I use cypress-io/github-action@v2 in my github actions I get the following error: This is my .github/workflows/cypress-tests.yml: My frontend/cypress.json config file is empty. This is my frontend/cypress/tsconfig.json in the cypress folder: This frontend/cypress/plugins/tsconfig.jsonis inside the Plugins folder: I have copied this

Playwright Select frame with dynamic name

I need to access an iframe in playwright that has a name that is automatically generated. The iframe’s name is always prefixed by “__privateStripeFrame” and then a randomly generated number How i can access the frame with the page.frame({name: }) ? From the docs it seems like i can’t use a regular expression! Answer The frameSelector doesn’t need be specified

Has anyone integrated Test Rail with Cypress ? I am looking to auto update the status of test case

I am trying to integrate test rail with cypress to auto update the Test Case status. I followed the steps as mentioned: https://www.npmjs.com/package/cypress-testrail-reporter But I see the following error in cypress run: EPROTO 140623370270312:error:100000f0:SSL routines:OPENSSL_internal:UNSUPPORTED_PROTOCOL:../../third_party/boringssl/src/ssl/handshake_client.cc:581: Is this because the Test Rail set up done in domain? Answer Please add the following configurations in cypress.json } Do let me know if

Cypress: Run all specs but create a loop without run specs

I have a problem with Cypress.io, here is my problem : I have 4 different test files here : integration/socle_full_ts_dev/1_register_user.spec.js integration/socle_full_ts_local/1_register_user_local.spec.js integration/socle_full_ts_local/2_login_user_local.spec.js integration/socle_full_ts_dev/2_login_user.spec.js And the problem that I meet is that when I want to launch all the tests at the same time it turns in a loop and does not get out of it. I checked the web to

Testcafe filter function

I have a filter function for Selector as following which accepts two parameters { subject: subject, from: from } as a dependencies object. But after running this function, I am getting an error ReferenceError: subject is not defined Can TestCafe team please help me with this? Answer In the case of the .filter method you need to rewrite your dependencies

Advertisement