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
How to write xpath for text after <br> tag using TestCafé?
Need to check the text is available after break(br) tag
HTML code:

gomathi subramanian
- 329
- 4
- 14
1
vote
1 answer
Setting attribute via a ClientScript not persisting
My fixture has a ClientScript that sets an attribute on an element (the element comes from the script doing a document.querySelectorAll(...)):
element.setAttribute("data-foo", 'foo');
Later in testcafe-land when I try to access that element using a…

user1883202
- 83
- 4
1
vote
1 answer
Anyone have TestCafe, Firebase and TestCafe Roles working together?
TestCafe, Firebase, Roles seem not to work together.
The following TestCafe tests seems to lose the Role state, when using a Firebase-based site. (It uses Google's Firebase demo live site).
I have a much larger, proprietary example, where a basic…

Mark Watkins
- 862
- 1
- 9
- 19
1
vote
1 answer
ClientFunction: _axios2 is not defined
I'm running TestCafe for UI automation, using ClientFunctions to trigger API requests (so that I can pass along session cookies).
Currently I have a ClientFunction with fetch which works fine... except we're now testing IE 11 and Fetch is…

Rob C
- 662
- 5
- 15
1
vote
1 answer
Keep getting an error when a test fails running tests on Android
Description
DISCLAIMER: This was also posted on github here as an issue at the wix/Detox repo, so you can be better check the images there.
When running tests on an Android simulator, if one of them fails, at the end of the test report it is shown…

satler
- 75
- 3
- 11
1
vote
2 answers
TestCafe - Narbeans Ide - ReferenceError: Selector is not defined
Hi people: I'm new in TestCafe (Started yesterday) nd I'm facing the next issue with Page Object:
This is the project structure:
.
├── main.js
├── nbproject
│ ├── private
│ │ ├── private.properties
│ │ └── private.xml
│ ├──…

nosequeweaponer
- 511
- 10
- 38
1
vote
0 answers
TestCafe using --ssl command throws Mac verify failure error
When I run the following command testcafe --ssl pfx=path/to/file.pfx safari mytestfile.js, I always immediately get a mac verify failure error message in the terminal window.
I created my .pfx file using openssl req -x509 -newkey rsa:2048 -keyout…

TallKU
- 179
- 12
1
vote
1 answer
How to validate a selectors without running the entire test from beginning
I was wonder if someone found an easy way to verify a selector work properly with the TestCafe syntax without running the entire test over and over?
E.g:
I want to verify that the last table column cells has all the values in a array I provide:
in…

teslaTanch
- 93
- 9
1
vote
1 answer
How can I run fixture in concurrent mode but test inside fixture in sequential mode in Testcafe?
I have 5 fixtures with 10 tests in each fixture. How can I run 5 fixtures in the concurrent mode in 5 different browser instances, but I need tests inside each fixture run sequentially. A result of the test execution I need into a single report.

Dmitry
- 91
- 6
1
vote
2 answers
Get ChildElement without using element selector
I am using a protractor to get the text in the second Div within #myDiv. Can someone please advise how can I get a text from the second Div (complete Text) which is 'This is a sample text'. I tried getting text in #myDiv but it adds spaces before…

A Hassan
- 119
- 10
1
vote
1 answer
How to run React Jest e2e tests in GitLab CI-CD pipeline?
Scenario:
I have configured e2e tests using Jest for a React web app. To run e2e tests locally, I had to start the server locally from a terminal window using npm start command and from another terminal window, execute the test command npm run…

vpv
- 920
- 2
- 20
- 46
1
vote
1 answer
In TestCafe, there is a way to get a list of all test cases of a project filtering by metadata
I need the information of an specific set of tests before running them. Can be all available tests, of some tests with a certain parameter in metadata.
Something like:
[Test xxx] - Perform actions......
[Test xxx] - Something ....
Environment…

Rodrigo Gómez
- 11
- 1
1
vote
2 answers
With TestCafe Selector, How to verify the text of the selected item in a <select>?
I'm using TestCafe 1.8.1 and have a slightly different case than the documentation at https://devexpress.github.io/testcafe/documentation/recipes/test-select-elements.html - my problem is that the example assumes the value of an

Neek
- 7,181
- 3
- 37
- 47
1
vote
2 answers
Blocking some GTM tags when running TestCafe tests - use the dataLayer?
Wondering the best way to prevent a GTM tag from firing. I found https://rbardini.com/automating-gtm-data-layer-tests/ which tags about fetching the dataLayer variable and comparing it in an assertion, but this looks like a clumsy approach when you…

Neek
- 7,181
- 3
- 37
- 47
1
vote
1 answer
How do I handle javascript error in testcafe
I'm using testcafe for test automation of angular based web application but my test is failing due to javascript error in browser console. I have tried to skip javascript error by using '--skip-js-errors' but it's not working so is there any way to…

Sagar Bhatt
- 55
- 4