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
trying to use two different text to locate the same element using .withText for different environment
Is this the correct way to find the element using two different texts, since that element has two different texts for two different environments.
.find(div).withText(/text1 || text2/)

chris
- 119
- 1
- 6
1
vote
2 answers
TestCafé data driven tests with login
I had written some tests using for loops and recently discovered this handy doc page that describes how to write data-driven tests.
https://devexpress.github.io/testcafe/documentation/recipes/create-data-driven-tests.html
I'm now trying to refactor…

Samantha Blasbalg
- 749
- 6
- 13
1
vote
1 answer
Testcafe, assert that a row exist valdiating data in their columns
I need to do a testcafe assertionand I want to checkif this '.economic-row' contains the text 'E2E local entries' AND 'DKK 10.00'.
I have tried using parents, siblings and childs trying to connect both values in the same selector without any…

Patrick Vibild
- 405
- 1
- 3
- 16
1
vote
0 answers
jest-puppeteer: Access IndexedDB from window
I'm trying to access indexedDB from the window object, however I keep getting the below error.
DOMException: Failed to execute 'open' on 'IDBFactory': access to the Indexed Database API is denied in this context.
This is how I am trying to do…

user2302566
- 181
- 3
- 13
1
vote
1 answer
return value from a helper function
I have very many tables in different pages of the platform and wanted to create a generic function such as - provide the table name and column label and wanted the text returned by the function back to the test.
I have imported this function into…

Anjana
- 89
- 6
1
vote
1 answer
Assertion error when IDs are same for different behaviors of an element
I am dabbling with a Role based access situation and am sort of stuck on the assertion.
For the Full Access the field is like so

Anjana
- 89
- 6
1
vote
1 answer
Mock apollo queries inside of testcafe
I am currently using testcafe for my e2e tests.
As testcafe doesn't support async code, I have to mock my graphql queries.
Is there any other way than using RequestMock function ?
It's not really developer friendly as it's heavily REST focused…

Bamboozilla
- 11
- 2
1
vote
1 answer
Protractor two buttons with the same text
Hey so I have this issue with Protractor e2e test:
I have menu with sub menu.
Menu and sub menu has the same name text of buttons inside (1 in menu, 1 in sub menu) for example we can name it "menuItem".
I know how to find and click first "menuItem"…

r2d23
- 43
- 1
- 4
1
vote
1 answer
TestCafe With Electron: can't load main page (main page may return a '304' http code)
When my electron-app starts, it will do some initial action like 'checking config or checking status', after initial done it will redirect to a new path. I think the http 304 status-code causes this error:
Error: The main window page at…

1500mph
- 11
- 1
1
vote
1 answer
Can't run my testcafe Test. Code and Package Json Look correct
Just started training on TestCafe for new job.
For some reason I keep getting following error and I don't know why
ERROR The specified glob pattern does not match any file or the default test directories are empty.
Type "testcafe -h" for…

fypnlp
- 1,372
- 4
- 18
- 41
1
vote
1 answer
browser actions doesn't work in headless chrome
In angular test automation, I am using some mouse and keyboard actions i.e mouseDown, Key.ENTER and Key.ARROW_DOWN in my it block. It superbly works in browser (actual browser). The same test case fails and I am sure it fails due to…

Analyst
- 751
- 6
- 15
1
vote
1 answer
Is there a way to run non-headless browser in TestCafe docker?
I'm running TestCafe docker and would like to see the browser so that I know what's happening and not run it in a headless mode by default. Is it possible?

Psdet
- 659
- 9
- 24
1
vote
2 answers
How can I run my tests with older chrome version in cypress
Now my cypress version is 3.8.2
And when I am opening cypress window there are chrome version is 79.
I want to run my tests in chrome 70 version. I updated my chrome in my computer and now it 70 version.
When I am running my test with selected…

Narine Poghosyan
- 853
- 3
- 16
- 26
1
vote
2 answers
Make TestCafe show an object diff
We're using TestCafe for end-to-end testing, and I'm finding myself looking at an error like this:
AssertionError: expected [ Array(5) ] to deeply equal [ Array(5) ]
I'd like error messages like this to include a diff. I know object diffing modules…

bigblind
- 12,539
- 14
- 68
- 123
1
vote
0 answers
TestCafe: User Role logs out the user in the first test
I'm trying to implement User Role in my existing tests as I don't want to login in every tests. Here is what my tests look like:
const accountUser = Role('https://localhost:9000', async (t) => {
await t.wait(1000);
await…

Psdet
- 659
- 9
- 24