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.

659 questions
9
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
  • 305
  • 1
  • 2
  • 10
9
votes
1 answer

Use H2 Database for Spring Test Profile with Flyway

I'm attempting to setup my end-to-end tests to use an in memory database that can easily be brought up, shutdown, erased and seeded with test data. I am working on a spring project and am using flyway to migrate the database. When starting my spring…
Joe
  • 279
  • 1
  • 5
  • 11
8
votes
2 answers

Can Cypress.io test a chrome extension?

I'm trying to test my chrome-extension using cypress.io I installed https://github.com/ejoubaud/cypress-browser-extension-plugin context('visit extension', () => { beforeEach(() => { …
Huy Ho
  • 283
  • 1
  • 3
  • 7
8
votes
1 answer

Do I need a unit-testing framework if I'm already using Cypress in a Vue.js app?

When scaffolding a new project with the Vue.js CLI, it offers a choice of both unit-testing and E2E-testing frameworks. Unit-testing functionality is perfectly adequate in Cypress. My question, then: is there an advantage to using a distinct…
crisis.sheep
  • 389
  • 4
  • 15
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,837
  • 6
  • 35
  • 56
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
  • 7,413
  • 13
  • 50
  • 94
8
votes
4 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,932
  • 6
  • 32
  • 54
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
  • 6
8
votes
1 answer

Protractor returns 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
  • 516
  • 6
  • 20
8
votes
2 answers

Protractor gives "Unable to start a WebDriver session" error

I already have started a server with webdriver-manager start, but I get this error when I try to run protractor: Using the selenium server at http://127.0.0.1:4444/wd/hub [launcher] Running 1 instances of WebDriver ERROR - Unable to start a…
cgsd
  • 1,242
  • 2
  • 13
  • 25
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.…
8
votes
3 answers

mock $httpBackend in angular e2e tests

Does anyone have an idea how to mock $httpBackend in angular e2e tests? The idea is stubbing XHR requests while running tests on travis-ci. I'm using karma to proxy assets and partials from my rails app running on travis. I want to do acceptance…
7
votes
1 answer

Too much end-to-end testing?

I am really frustrated by this whole situation, and here is why: I inherited a completely untested legacy system for keeping many different client databases and one master database (with a different schema) in sync. The system was only partially…
Steve
  • 1,596
  • 1
  • 10
  • 21
7
votes
2 answers

Cypress getByTestId, queryByTestId, findByTestId to check if element doesn't exist

I am trying to check if element doesn't exist in a DOM Tree with Cypress and testing-library/cypress. If I try to do cy.getByTestId("my-button").should("not.exist") test fails because it couldn't find element. If I do…
7
votes
1 answer

Detox: Waiting for network requests to finish timeout

I'm trying to set up detox to run e2e tests on my app (react native + expokit). As i had mentioned in https://github.com/wix/Detox/issues/1627, my test keeps timing out with Waiting for network requests to finish.: ( …
clems36
  • 922
  • 1
  • 13
  • 26