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.

Filter by
Sorted by
Tagged with
1
vote
2answers
624 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 ...
2
votes
3answers
5k 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/...
1
vote
1answer
36 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 ...
0
votes
4answers
170 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
0answers
25 views

React-native & Appium: is there a way to run tests without rebuilding the app?

I have set up e2e tests for my React-native app with Appium. I'm able to launch them, but for every change I make I need to rebuild the app. Isn't it possible to run the tests on the application ...
0
votes
2answers
574 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
1answer
77 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
1answer
35 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 ...
3
votes
3answers
69 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
1answer
35 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
1answer
50 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
1answer
29 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....
0
votes
1answer
514 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 ...
0
votes
2answers
772 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
1answer
339 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
3answers
110 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 ...
0
votes
2answers
55 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 ...
2
votes
1answer
2k 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. ...
4
votes
2answers
191 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 ...
0
votes
2answers
53 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
1answer
163 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 ...
11
votes
8answers
3k 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 ...
1
vote
1answer
78 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 ...
0
votes
1answer
493 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
2answers
463 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
1answer
690 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
1answer
6k 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 ...
1
vote
1answer
795 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 ...