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
3 answers
What is an easier for Testcafe to check if a class selector exists on the page or not
I have 2 web pages; one page shows a popup message while the other page doesn't I have it set up as:
.expect(Selector('.classname).exists).notOk()
This is what I'm assuming:
The first page should pass because the popup message with that class should…

DjKniteX
- 81
- 4
1
vote
1 answer
Monkey patch Testcafe
I'm trying to monkey patch Testcafe in the following manner:
Add custom methods available in all tests
t.patch.typeText = async (selector, txt, opts) => {
await t.click(selector);
await t.typeText(selector, txt, opts);
}
/* This didn't work…

SamAko
- 3,485
- 7
- 41
- 77
1
vote
2 answers
How do I create a variable from a fixture file in a before statement in Cypress?
I am storing user mocked user creds in a fixture file, and i want to access that data in a before statement, so that each test in that file can have access to a username and password variable. I Know that I can pull in the fixture file and then…

Vaughn Walters
- 75
- 3
- 11
1
vote
0 answers
How to check for transition elements (e.g. spinners) immediately after a n/w request is initiated using Cypress?
I know Cypress allows to check the request/response and assert them. But immediately after a request is initiated, how do I check for transition elements? For instance, asserting for a spinner on the page after a n/w req is made. Since requests can…

jainmitesh09
- 163
- 1
- 7
1
vote
1 answer
Unable to open Url (.navigateTo) from .before in TestCafe using PageObjects
I am new to JS and TestCafe.
Using PageObjects in TestCafe my goal is to launch a login page and authenticate before running a test.
The .open call works fine from fixtures. Also from with .before.
fixture `Check for new emails`
.page…

Saurabh Sahu
- 13
- 2
1
vote
0 answers
How can I test latency or networking failures with Detox, can I simulate this with code?
I'm trying to do a e2e test when there is no network connection. Is this possible with Detox even if it's simulated, if so, how?
I'm running e2e testing on my react native app for some libraries written in native code, the API calls are on the…

Amirgem
- 141
- 1
- 11
1
vote
1 answer
Test controller from Fixture passing to TESTS
I am using one condition( if-else loop) to use different URLs based on the env. I am mentioning this in fixture.beforeEach(..) and want to hit the URLs in TESTS based on the outcome
fixture('Verifying')
.beforeEach(async t =>{
…

TS0306
- 177
- 12
1
vote
0 answers
Protractor/Selenium ETIMEDOUT error against AWS Fargate selenium hub
So what I'm noticing are random ETIMEDOUT errors at any point in a test (beg/med/end). There doesn't seem to be any rhyme or reason as to which tests this occurs on or when. The error I'm seeing is:
Failed: ETIMEDOUT connect ETIMEDOUT
The…

Exziled
- 473
- 5
- 20
1
vote
0 answers
Running the same code with different URL in testcafe
I am using minimist to run the same testcafe code for different env like a test, stage, Prod. however when the URL is hit it's saying 500 internal error. If I am hitting the Url without using minimist then it's working fine. Please tell me what am I…

TS0306
- 177
- 12
1
vote
0 answers
Testcafe selector not found
I try to get check an email on Gmail and delete this after it is clicked.
For this I log in into gmail. Works well. I select the email. Works well. Email is open. But it seems that it is not possible to select the trash / delete icon. TestCafe…

ingo
- 776
- 1
- 10
- 25
1
vote
1 answer
Is it possible to have Testcafe remember an h1 or a text from a previous page so I can match/compare it in another page?
I am trying to do a smoke test on a web page and essentially if I can somehow get Testcafe to remember "Hello World" from page 1 and go to a User Profile to match that same element with the text "Hello World" then I can make it work for all the…

DjKniteX
- 81
- 4
1
vote
2 answers
Getting text of all elements within a menu in testcafe
enter image description hereI want to get the text of all links within a menu and compare them to the expected texts. I am new to testcafe.
const all_GeneralDisplayTopLink = Selector('nav.shTop').find('ul').find('li');
async…

Solomon Adekunle
- 11
- 3
1
vote
1 answer
Appium - How to manage scroll speed on Mobile Gesture for ios
For my e2e tests on iOS, I'm running some appium commands like the following examples:
browser.execute("mobile: scroll", {
element: elementId,
toVisible: true
});
or simply
browser.execute("mobile: scroll", {
direction: "up"
});
but I…

Laura
- 8,100
- 4
- 40
- 50
1
vote
0 answers
TestCafe cant find a element if the text contains a space
I have the next code that asserts if I can find a bank account in a cell. I found out that it's not working when the text in the cell contains a space after the text.
this.bankAccounts = Selector('td[data-cy="listAccountNumber"]');
async…
Patrick Vibild
- 405
- 1
- 3
- 16
1
vote
1 answer
Testcafe cucumber reporter video recording
Steps to record test video in Testcafe is nicely explained here. I am using cucumber to publish the reports. Once the report is published, a link to the screenshot is provided at errored scenarios. But unable to find a way to provide a link to the…
harshvardhan
- 765
- 13
- 32
I have the next code that asserts if I can find a bank account in a cell. I found out that it's not working when the text in the cell contains a space after the text.
this.bankAccounts = Selector('td[data-cy="listAccountNumber"]');
async…

Patrick Vibild
- 405
- 1
- 3
- 16
1
vote
1 answer
Testcafe cucumber reporter video recording
Steps to record test video in Testcafe is nicely explained here. I am using cucumber to publish the reports. Once the report is published, a link to the screenshot is provided at errored scenarios. But unable to find a way to provide a link to the…

harshvardhan
- 765
- 13
- 32