Questions tagged [end-to-end]

Is a technique used to test whether the flow of an application right from start to finish is behaving as expected. For anything relating to applying a test, protocol, or other desired action to a set of servers from front-end to back-end.

While testing all of the individual components and connections in large system can help to give confidence in a system overall, ensuring that the expectations of system work together as a continuous entity will provide the greatest confidence in its viability.

Many other concepts also apply on an end-to-end level, such as ensuring that data is encrypted from the moment a user submits it until it reaches a database or other back-end or other similar considerations. Particularly as a multi-tiered infrastructure increases in complexity, so to does the burden of ensuring that the expectations of the system hold true across the various components of the system.

588 questions
10
votes
0 answers

How can WhatsApp be end-to-end encrypted when WhatsApp Web still works

I am not sure if this is the right place to ask but I am pretty sure I am asking a very stupid question. I am a developer but don't know anything about the latest encryption technologies. I've read on many websites that it took WhatsApp many years…
Muhammad bin Yusrat
  • 1,341
  • 1
  • 12
  • 16
10
votes
1 answer

Using cross-platform keyboard shortcuts in end-to-end testing

The Problem: In our rather big test codebase, we are using different keyboard shortcuts. For instance, to copy selected text we are using CTRL/COMMAND + C, to paste CTRL/COMMAND + v, to open a new tab CTRL/COMMAND + T etc. To keep tests work on…
alecxe
  • 414,977
  • 106
  • 935
  • 1,083
10
votes
2 answers

Element is not clickable at point - Protractor

I'm getting an error that element I am trying to click on is not click able which I belieave is not true. My error looks: 1) Open VehiclePage and populate data Populate vehicle data Message: UnknownError: unknown error: Element is not…
Andurit
  • 4,879
  • 8
  • 60
  • 100
10
votes
7 answers

Asserting an element is focused

According to the How do I assert an element is focused? thread, you can check if an element is focused by switching to an activeElement() and assert this is the same element you've expected to have the…
alecxe
  • 414,977
  • 106
  • 935
  • 1,083
10
votes
1 answer

Protractor troubleshooting

In protractor 1.5.0, there was a new --troubleshoot flag introduced, which is not properly documented at the moment, but in the changelog it states: Improve error messages and add debug info when the configuration file cannot be parsed a…
alecxe
  • 414,977
  • 106
  • 935
  • 1,083
10
votes
9 answers

What best practices do you use for testing database queries?

I'm currently in the process of testing our solution that has the whole "gamut" of layers: UI, Middle, and the omnipresent Database. Before my arrival on my current team, query testing was done by the testers manually crafting queries that would…
Steven Raybell
  • 453
  • 5
  • 13
10
votes
5 answers

Code coverage for Protractor tests in AngularJS

I am running some e2e tests in my angularJS app with protractor (as recommended in the angularJS documentation). I've googled around and cannot find any information on how to measure coverage for my protractor tests. I think I'm missing something…
8
votes
1 answer

Cypress XHR stubbing ignores ajax requests performed with fetch

Important Information The original question here was not directly about the lack of support for the fetch api in Cypress, but that was the cause for the problem I initially posted here. I've edited the title of the question and added this preamble…
Ernesto
  • 3,307
  • 3
  • 31
  • 49
8
votes
1 answer

How do I include end-to-end tests across microservices into multiple continuous delivery pipelines?

My team develops three microservices. The three work together to provide a business scenario. They communicate with REST and RabbitMQ. Looks like in Toby Clemson's presentation on Microservice Testing. Each microservice has its own continuous…
8
votes
7 answers

how to calculate end-to-end delay in this scenario

Here is my question: We wish to send a message of size 150,000 bytes over the network. There are four hops, each of length 20km and running at 100 Mb/s. However, before sending we split the message into 1500 byte packets. What is the end-to-end…
Ross
  • 193
  • 1
  • 1
  • 10
8
votes
1 answer

Should I use ids to locate elements?

Started with Angular and Protractor. It just feels wrong to write some heavy css selectors which will break instant when you change something. Using ID's would make testing way easier. I'm not using any id attribute for styling yet. Are there any…
boop
  • 6,033
  • 9
  • 37
  • 76
8
votes
3 answers

Protractor Get Model Value

I am new to ProtractorJS. What I am trying to do is trying to get the value of a disabled input element. This input element is bound to a model. Initially this input element is empty; then after some action the model value is updated (and thus…
Sumit
  • 2,670
  • 6
  • 28
  • 53
8
votes
2 answers

How do i supply "rootelement" option while testing protractor interatively

When I execute node elementexplorer.js http://127.0.0.1:8080/app/view1 I get the following error: There was a webdriver error: Error Error while waiting for Protractor to sync with the page: "root element (body) has no injector. this may mean…
abdulla syed
  • 161
  • 2
  • 5
8
votes
1 answer

Protractor return an object but expected - value of element.getText()

Unable to understand why it return an object not a value of text, some test code: describe('columns swap', function () { describe('location column ', function () { it('should swap right', function () { browser.sleep(10000); …
kyxap
  • 383
  • 4
  • 18
8
votes
2 answers

End To End Testing on Headless Server

I am trying to set up an environment for end-to-end testing on a droplet running Ubuntu server 12.04.3 on digital ocean. What I am trying to achieve in the end is for my jenkins (installed on the one droplet) to be able to run my end-to-end tests.…
1 2
3
39 40