Questions tagged [e2e]

146 questions
0
votes
1 answer

How to send env vars to Cypress using GitHub action?

I'm trying to run my Cypress tests using a GitHub action, but can't figure out how to send in environment variables to Cypress to override my local config. Currently I have the baseUrl set to https://localhost:3000 but want to send in another URL…
KungWaz
  • 1,918
  • 3
  • 36
  • 61
0
votes
0 answers

Playwright - Login problem with Azure B2C login

I'm trying to do some tests with playwright. I use Azure B2C for the login service. I have followed the authentication documentation on official website: Playwright auth documentation I have created a global-setup // global-setup.ts import {…
Andy88
  • 647
  • 2
  • 9
  • 21
0
votes
0 answers

Playwright don't work proper after update to Version 1.29

I write e2e-Tests for a Web-Application with playwright. Now I have made a update to version 1.29.2. Have anyone the same problem and maybe a solution? The marked Register should be on the top of the Site.
0
votes
0 answers

How to use injectRepository in e2e test in nest js

I have service where I use repository like this in constructor @InjectRepository(MyRepo, 'dataSource') private myRepo: MyRepo and everything works well, but when I try to access myRepo in e2e test myRepo = moduleRef.get(MyRepo); const…
0
votes
1 answer

Cypress problem with type into date input

I'm trying to create E2E test using cypress on my Vue site. I'm using cypress 11.0. When I try using .type() on my data input field I got an error like on screen. cy.get(':nth-child(3) > .form-control').type("1999-02-01", { force: true }) It…
justMati
  • 17
  • 4
0
votes
1 answer

In AUTOSAR E2E Profile1, CAN the counter max value be 0xF?

In AUTOSAR E2E Profile1, the counter max value is fixed as 0x0E. But what if we want to change it to 0xF? Any side effect? is there any consideration to skip the 0xF in the original AUTOSAR standard? I checked the AUTOSAR_SWS_E2ELibrary.pdf, it only…
kevin ou
  • 11
  • 3
0
votes
0 answers

Write isolated Cypress tests

I have a multiple services project which is deployed into kubernetes clusters. Currently we're trying to cover our frontend with Cypress tests. We're executing tests on our CI pipeline in Azure DEVOPS. The main problem is to keep tests flow…
dr_leevsey
  • 365
  • 4
  • 15
0
votes
1 answer

SOLUTION: How to mock sqs-consumer library in jest

Side Note: Basically this is a note for my own forgetful brain... I have crossed and solved this problem multiple times so this is for me to get my own solution back on my search results lol :D Issue: When creating integration tests for my current…
jen
  • 195
  • 1
  • 7
0
votes
1 answer

HttpService not working in e2e tests with NestJS Application

I am trying to implement e2e tests for my controller but can't get HttpService work. I am importing HttpModule into test module but it didn't see it. Code: ` const module = await Test.createTestingModule({ imports: [HttpModule], …
0
votes
0 answers

How to perform an e2e test without the credentials of a webview application

I developed a webview application as a reaction. When you click a specific button in the native app, it goes to the webview page and passes the auth and userId values. Web view shows the page that fits you using the value you received. I'm trying to…
0
votes
0 answers

Configure cypress browser to run with gpu disabled

How can I execute cypress using a chromium based browser with gpu disabled?
0
votes
0 answers

Is there a way to run e2e test for deployed Angular App?

Depolyed alpha version of the app for demo purposes, now I did e2e tests on local server, but I want to do some on current live version to see real time results...is it possible? If yes, how? So far I only did basic tests using cypress
Janjac
  • 80
  • 4
0
votes
0 answers

How to test starting a server in Cypress E2E in a sandboxed environment

One of our E2E tests involve checking whether the sample apps for our SDKs work properly. To do that, we would just mimick the end user behaviour (download the sample app zip file, unzip it and run npm start) and the tests pass if the server starts…
Pavindu
  • 2,684
  • 6
  • 44
  • 77
0
votes
1 answer

how to create self hosted playwright trace viewer

how do I create https://trace.playwright.my.local ? as of now trace itself is not static website itself and requires some pre-processing https://github.com/microsoft/playwright/issues/9026
jonny
  • 1,326
  • 9
  • 44
  • 62
0
votes
0 answers

Cypress test does not terminate

I did write the following e2e test visiting this page for cypress yesterday: it('Download test: Verify download file', () => { // check that button is correct cy.get("#whitepaper-download-button") .should("be.visible") …
EricHier
  • 446
  • 3
  • 10