Questions tagged [e2e]
End-to-end testing is a methodology used to test whether the flow of an application is performing as designed from start to finish.
32
questions
0
votes
1
answer
37
views
Is there a way to execute end-to-end testing one after the other (not multi-threaded)
We are setting up a new step on our build server to trigger E2E testing, as we did for UT.
Some E2E make changes to the test database, so we encounter problems because the tests are not executed one ...
0
votes
0
answers
52
views
Testing Coverage Metrics for BDD automation Testing
My manager would like me to have a way to measure the overall amount of testing coverage that is done in a sprint. I used to use an excel spreadsheet in the past but he doesn't want to do that.
I ...
0
votes
1
answer
209
views
Should I separate my API tests from E2E tests
I have a system that displays data it gets from API calls. There are multiple objects and every object has 7-8 properties. User is not allowed to change values and the system has a simple UI. I want ...
0
votes
1
answer
221
views
Tools for microservice E2E automation testing
What are currently the best or most popular tools/solutions for automated end-to-end testing of microservices (preferably with an entry-level as low as possible)?
The CI/CD process is GitLab-based ...
4
votes
1
answer
982
views
Shall I put my e2e tests and performance test frameworks on the same repository?
I am using Cypress for my e2e tests and k6 for my performance tests.
They are both in Javascript and access the same config json files (I use this for my environment variables).
The folder structure ...
2
votes
1
answer
90
views
Protractor E2E Test Cases migration from Angular 2+ application to React
If we have E2E test cases written for an Angular2+ application using protactor, if we migrate the Angular2+ application to React, how difficult it will be to migrate those E2E test cases to work ...
4
votes
6
answers
5k
views
How can I measure the coverage of my E2E tests?
I'm looking for a way to measure the coverage of my end-to-end tests. I have some existing E2E tests already and I'm adding more test scenarios to it. But I would like to have a way to quantify the ...
0
votes
1
answer
46
views
Tools to e2e test compiled binaries in integrated dockerized environment?
After searching for tools to do the test of user scenarios, grade e2e, of binaries fully installed in their environment (meaning containers... Docker), I found nothing that looks match my needs.
So ...
1
vote
1
answer
101
views
E2E Test application flow on multiple devices
Our applications flow start on desktop. At later phase there are some scenarios where the processes require an approval on a touch device. The user waits at a page on desktop. If the user opens the ...
0
votes
1
answer
1k
views
Webdriver.io - Use selector to get all grand children?
Using webdriver.io....
For
<table>
<tbody>
<td></td>
I can get all the td elements with $$('td'). But I can't with $('table').$$('td'). Instead I have to do $('tbody')...
0
votes
1
answer
32
views
Is Nested Describes Acceptable For The Purpose Of Readability?
Is it ok to have a nested describe for the purpose of read ability? Example:
describe('Atlas Search ', () => {
beforeEach(() => browser.pause(20));
before(()=> {
searchPage....
1
vote
1
answer
2k
views
Cypress redirect e2e test with stripe js
I am writing an e2e test in cypress for an online store and after clicking the confirm purchase button it redirects to stripe page (not iframe but one-time payment redirect to their website) to input ...
3
votes
3
answers
300
views
Pros and cons of using database dump in autotesting?
I'm going to write API and e2e auto-tests, and planning this encountered the problem of how to load test data needed to execute test cases. I see 2 approaches:
Use api to create necessary resources....
1
vote
2
answers
2k
views
How to tell protractor to wait for each command for 3 seconds
I am running angular e2e scripts.
I am adding explicit wait for every element.
Instead, is it possible to tell protractor to delay 3 seconds for every command?
0
votes
1
answer
683
views
Protractor- switch from non- angular to angular
Login page is non- angular. So I set browser.ignoreSynchronization = true;
Then after passing the login screen, I have set browser.ignoreSynchronization = false. Also, I have used browser.refresh(). ...
4
votes
3
answers
136
views
How to best prepare for automating e2e tests?
I've started a new career at a company which has not used test automation before and whole and manual QA level is very basic.
Before making any e2e tests I'd like to know:
What exactly should I have ...
1
vote
1
answer
178
views
Number of actors in E2E tests
We have roughly 30 Cucumber tests and a few actors that run these tests that have been created based on our service's personas.
Exemplifying this:
We have a C2C ecommerce platform and an user. Users ...
0
votes
2
answers
140
views
Is there a better way of carrying out basic text and form validation instead of doing it at E2E?
My understanding of E2E tests is that we should be carrying out tests that run through the whole system to check if everything works together via Selenium (for a web application). However, I've seen ...
0
votes
2
answers
78
views
How should I perform an E2E test for a report that updates only once per day?
I would like to perform an end-to-end test where I create some data via a UI and then verify it appears in the appropriate report the following day. The challenge is that the report only updates once ...
1
vote
1
answer
263
views
Writing different tests for different environments
We didn't implement automated deployment yet to our Angular 7 project, so environment-based variables (e.g baseUrl) are changed manually, causing the application to crash after deployment a lot due to ...
0
votes
2
answers
881
views
Transition from selenium to protractor - worth it?
Over the last few weeks, We have been experimenting with a protractor+typescript+cucumber framework for our new Angular 6 application. The main reason we thought our present Selenium+Cucumber+java ...
1
vote
1
answer
155
views
Code coverage in react webapp
I'm a little bit stuck with a task that I have been researching.
It's about code coverage in a react webapp.
I implemented a few unit tests using jest + enzyme. also some functional test, using ...
1
vote
2
answers
1k
views
How to enter acceptable fake data to login page which is tests using protractor?
I am completely new to the protractor and currently, I'm testing my login page using my own login data and I want to use dummy data as profile login data. Can these enter in my spec.ts file or ...
14
votes
10
answers
4k
views
What could a QA engineer do when a project is in an early stage?
Good day, beautiful and smart people!
We've been prototyping an application and it is more or less at the MVP stage and the customer, seeing the minimum desired functionality, is taking things ...
4
votes
2
answers
219
views
How to structure automated tests for feature with two dashboards?
I'm going to prepare e2e tests for chat app with two customer dashboards. First (written in Angular) is accessible from desktop browsers and second (Ionic) through mobile devices. When customer ...
2
votes
3
answers
7k
views
Scrolling to Bottom of the Text Area using Protractor
I have a text field that I need to scroll to the bottom of in order for the Next button to be activated to click. This project is using Angular 6 my tests are end to end test running on the protractor/...
0
votes
1
answer
772
views
Why does Selenium suddenly skips all my tests?
I'am used to run the E2E test couple of times a day during development... Today It suddenly skips all my test and all my spec files register.e2e-spec.ts
I didn't do any changes or updates on my spec ...
1
vote
2
answers
614
views
E2E - Is it possible to share data between e2e.spec files?
I do have 2 *.e2e-spec.ts files for an E2E testing. So now I would like to share data between these files.
e.g. an email which is used for a signup signup-e2e.spec.ts and I would like to use it for ...
0
votes
1
answer
829
views
Protractor - How to extract a link from HTML string?
In one of my test cases, I'm able to get the entire HTML e-mail message sent to a user. The message contains text, button, a link, etc.
My Issue is that I need to extract the href link in order to ...
1
vote
2
answers
7k
views
How to make a variable in `protractor.conf.js` available in spec file?
I have a variable in protractor.conf.js which is exported within onPrepare() function as: global.myVariable = myVariable, and in spec file I'am trying to use/call it, but it seems that it can't be ...
2
votes
1
answer
3k
views
E2E: Retrieve email-link - How to invoke callBack function for mailListener?
I do have an E2E test for retrieving confirmation email after registration. I need the link in the confirmation email to login the user as the link in the email contains the token etc. for access.
...
1
vote
1
answer
994
views
E2E: How to execute click event twice and successively - without any error?
I do have a register process/form which passes email, password, confirmPass and a tc checkbox which has a boolean value.
When the user submits the form, an open dialogue with a text opens and in the ...