Questions tagged [e2e]

146 questions
0
votes
1 answer

Can I run E2E loading tests with locust?

I am trying to do some E2E loading tests with my website For HTTP requests, I have used jMeter for loading tests. For E2E chatGPT suggests that Locust could do both E2E and HTTP request loading test. But I could find any E2E loading tests…
Trieu Ngo Huy
  • 11
  • 1
  • 4
0
votes
0 answers

Why my localhost does not work in Cypress?

I have a problem with Cypress. I have localhost fired up and in all browsers (Chrome, Firefox, Opera) my app opens. On the other hand, in Cypress when enabling tests (Chrome, Firefox, Electron), I have a problem with the backend. The login page…
Johnny
  • 1
  • 2
0
votes
0 answers

Browser window closes prematurely in a Playwright test

I've been writing a test for the Google login functionality of a React web app and I've been test-running it through the Playwright VS Code extension where it passes just fine. However, when I run the test through the command line, i.e. npx…
Quinn Dumala
  • 128
  • 2
  • 10
0
votes
0 answers

(How) can I generate coverage reports in PHP using XDebug?

I use Cypress for E2E testing. Now I wonder, how can I produce coverage reports with PHP XDebug without PHPUnit? PCOV seams like a candidate; but this would again require to deactivate XDebug. Tried XDebug, but it requires your tests to be written…
siik
  • 1
0
votes
1 answer

Cypress afterHook does not wait for timeouts after failure

So, i have setup 2 customCommands for my Cypress setup setupProject and removeProject. Both click through the UI to create a Project, and to delete a Project. It also work as I expect it to. However the removeProject does only work, if no fail…
Azael
  • 614
  • 4
  • 16
0
votes
1 answer

OverrideProvider not working for PrivilegesGuard in NestJS testing module

I am trying to override the PrivilegesGuard provider in a NestJS testing module, but it doesn't seem to be working as expected. I have followed the correct syntax for the overrideProvider method, but the override does not take effect. Here is the…
0
votes
0 answers

Page is timed out now and then on loading

Time to time my initial page (login page) failing to load even if the waiting time increased. So my question is why sometimes it passes by and sometimes not , is that related to some external scrips or there something else? before(() =>…
Artjom Prozorov
  • 167
  • 2
  • 10
0
votes
1 answer

How to expect protocol http/https in cypress

I have a case checked about forcing HTTPS in my application, When start forcing HTTPS all HTTP requests will be redirected to HTTPS and back. Which Cypress API can help me figure out them? Thanks.
Levi
  • 59
  • 4
0
votes
1 answer

Cypress && Angular - get selector from href inside Ngfor

I have a side navigation bar and I'm trying to make a test to click on a link and redirect to the correspondent page. The selector is inside element that is inside a ngFor loop.
  • Hugo Seleiro
    • 2,467
    • 5
    • 26
    • 39
    0
    votes
    0 answers

    cypress-ntlm-auth: Certificate validation failed for "fonts.googleapis.com". ETIMEDOUT

    im using cypress-ntlm to e2e test my app. the command is: npx cypress-ntlm run --browser chrome --env Environment=Development my ssoNtlm connection function is: export const CyNtlmSso = (): void => { cy.ntlmReset(); const user =…
    0
    votes
    0 answers

    Cypress config to run at wsl2

    Firstly, I tried config the cypress to test the Vite + vue3 app. When I use npx cypress open I got the error : [26403:0310/094751.006561:ERROR:udev_watcher.cc(63)] Failed to enable receiving udev…
    0
    votes
    0 answers

    Jest has detected the following 1 open handle potentially keeping Jest from exiting ● CustomGC

    I'm having a blocker in running service unit tests in nestjs. I encountered this issue after the test run. How do I exactly resolve this one here? jest: 28.0.3 ts-jest: 28.0.1 types-jest: 27.5.0 node: v18.13.0 Jest has detected the following 1…
    R-S
    • 33
    • 1
    • 5
    0
    votes
    0 answers

    How to test Nextjs App entire stack with msw

    I have a Next app. I want to test E2E with mock apis (MSW), because I want fast tests that don't depend on third-parties to succeed. Let's imagine we have a stack like this : HomePage > click on Button > action.ts > axios.post('hostName/api/action')…
    marcant0
    • 189
    • 8
    0
    votes
    1 answer

    Testcafe parallelization for test batches

    I'd like to know if its possible to run parallely test cases for test batches. What I mean is the following: My project structure has 2 folders Folder1 and Folder 2 . Folder 1 has test1, test2, test3, test4 Folder 2 has test5, test6, test7 I've…
    newnick988888
    • 107
    • 13
    0
    votes
    2 answers

    How to config chromdrive to download in protractor?

    I got error of chromedriver version is only support google chrom version 100. My current google chrome is 109 Current browser version is 109.0.5414.119 with binary path /usr/bin/google-chrome [13:12:27] I/file_manager - creating folder…