End-to-end testing is a methodology used to test whether the flow of an application is performing as designed from start to finish. The purpose of carrying out end-to-end tests is to identify system dependencies and to ensure that the right information is passed between various system components and systems.
Questions tagged [e2e-testing]
3036 questions
1
vote
1 answer
TestCafe - Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
Started to get Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client in random places using TestCafe.
I have a local node module that is a wrapper on createTestCafe() api. Module is called testcafe-runner and is…

Szymon Semrau
- 11
- 1
1
vote
0 answers
Problem in creating Cypress code coverage report for E2E tests
I have been using cypress for E2E testing and wanted to create a full coverage report, to generate a complete coverage report you are required to run all cypress tests together. The first test calls the task resetCoverage in the start and…

Muhammad Rashid
- 11
- 1
1
vote
1 answer
Why do I keep getting "Cypress failed to start" on step 2 of the Nx using React tutorial?
I keep getting a "Cypress failed to start." message when trying to run e2e tests using Nx. I am new to Nx and not sure how to fix the issue.

Jacob
- 33
- 4
1
vote
2 answers
Protractor: How to write a locator to select the desired div and click the button on it?
There are three blocks on the page, for example.
example scructare
Each block has a title and div.action with a button example
The headings are different for everyone. I need to select a div with a Text heading and click a button
I find this element…

tttyyyrrrryyy
- 53
- 4
1
vote
1 answer
Setup Required to Run TestCafe tests on Safari browser
I'm attempting to execute a TestCafe suite on locally installed Safari. I have previously executed the tests on chrome, chrome:headless, firefox, and firefox:headless. When running the command testcafe --list-browsers to retrieve my list of…

agoff
- 5,818
- 1
- 7
- 20
1
vote
1 answer
Combine/Concat TestCafe Selector for reuse
I use the page object pattern and it's often the case, that I like to address an element inside another selector. So I would just like to reuse an already defined CSS-selector. My current workaround is just to define a plain string.
Is it possible…

Daniel Eisenreich
- 1,353
- 3
- 16
- 32
1
vote
2 answers
Failed to feed selector to a ClientFunction
Please take a look at the structure below.
Is there any way to get 'Example 1' working? The idea is to avoid storing a 'css selector string' in a 'test' class.
MyAccount.js
import { Selector} from "testcafe";
export class MyAccount {
…

k pobozhny
- 13
- 3
1
vote
2 answers
Is there a recommended debugging strategy for E2E automation tests?
What is the best elegant approach for debugging a large E2E test?
I am using TestCafe automation framework and currently. I'm facing multiple tests that are flaky and require a fix.
The problem is that every time I modify something within the test…

teslaTanch
- 93
- 9
1
vote
1 answer
TestCafe - bypass Google telephone verification?
When running any TestCafe tests locally (with cache cleared or Incognito), I can always achieve logging into my Google Account that is integrated with my application.
However, I am using CircleCI to run my tests in a CI/CD pipeline. Anytime I…

TallKU
- 179
- 12
1
vote
1 answer
Running e2e test cases using proactor and getting session not created
I wrote e2e test cases using a protractor. It was working fine a few days before. But now while running the test cases.
I am getting:
session not created: This version of ChromeDriver only
supports Chrome version 81 (Driver info:…

Nisha
- 23
- 4
1
vote
1 answer
Testcafe: Is there a way to keep the logged-in session intact between pages?
I am using Instagram to explain my scenario. I login with a testUser id in Instagram. I loop through a set of Instagram accounts (ex: https://www.instagram.com/some_page/). Such direct URL's are passed from a JSON file. I validate something on…

Janaaaa
- 1,346
- 1
- 16
- 34
1
vote
0 answers
setup protractor e2e for angular desktop app
I have a desktop app which is build using electron and angular.
I would like to develop e2e tests for the application.
We have been trying the spectron framework but support and stability are not to good.
As an alternative I would like to explore…

wallage
- 73
- 2
- 6
1
vote
1 answer
Set referrer for Firefox on Test Cafe
Looking to set custom referrer for my tests with Test Cafe but cannot find right solution for that. On Firefox you can easily change referrer with some plugins but how to do it within Test Cafe ?

mr.H
- 13
- 2
1
vote
1 answer
Cypress not matching stubbed route
I'm doing this in my app code:
const xhr = new XMLHttpRequest();
xhr.open("GET", "https://api.gizconnection.com/labels", true);
xhr.setRequestHeader("Authorization", "Bearer " + authService.getToken());
xhr.send(null);
and in my test I…

Mati Tucci
- 2,826
- 5
- 28
- 40
1
vote
1 answer
Stencil e2e Testing: mock a function in puppeteer browser context
I have Stencil component which uses axios.get to get some data from a server (e.g. localhost:3000 during development). Now I have an e2e.ts test which tests this component in conjunction with several other components. I would like to mock the…

Safa Alai
- 1,223
- 1
- 15
- 27