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
votes
0answers
26 views

End to End test projects for GraphQL

My team is developing a GraphQL api right now, so ive been researching testing. I've noticed there's a lot of documentation about unit tests and integration tests but almost nothing for end to end ...
0
votes
2answers
50 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
41 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
99 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
1answer
50 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
2answers
47 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
2answers
42 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
91 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 ...
-1
votes
1answer
180 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 ...
0
votes
0answers
82 views

Webdriver instances not created for custom protractor.conf file

I want to integrate my E2E suite in Travis, so I followed this article. As mentioned in the article I've created a custom protractor.ci.conf.js file of the Travis build. I've placed this file inside ...
1
vote
1answer
64 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
0answers
69 views

Unable to click an icon in react-native app using detox

This is the element prop section in the app file <Header> <Left> <Icon onPress={() => this.openDrawer()} ...
1
vote
2answers
313 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 ...
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 ...
4
votes
2answers
176 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
2answers
3k 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
1answer
295 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
315 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
597 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
4k 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
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. ...
1
vote
1answer
698 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 ...