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
0
votes
1 answer

How to read an html table into an array of objects?

In my angular protractor e2e tests, I want to do assertions on a html fragment like this: …
slartidan
  • 20,403
  • 15
  • 83
  • 131
0
votes
1 answer

Protractor sendKeys issue with scripted input fields

I'm automating e2e tests with Protractor on an angular app. However, I have an issue when sending keys on input fields. The sendKeys would miss few characters everytime so I found a workaround : static sendKeys(value, element){ …
JiggyJinjo
  • 197
  • 1
  • 11
0
votes
2 answers

Cleaning database after tests feature

I am trying to clean database after each feature however every approach which I tried failed. I tried to remove whole mongo collection, dropDatabase almost everything (I guess) Including mongoose.connection.dropDatabase(() => {}) User.remove({…
Rachomir
  • 280
  • 1
  • 5
  • 16
0
votes
2 answers

chimp.js configuration - the browser is not opening localhost

I am having problem with chimp.js configuration. When I run tests the browser is not using provided host / post. I tried many things but without success. Does anyone know how to set up it properly? Please find my config in screenshot provided.
Rachomir
  • 280
  • 1
  • 5
  • 16
0
votes
2 answers

Difference between webSite testing and end-to-end testing

I would like to know the difference between end-to-end and website test in java web application,If we are testing the features of an website then it could be stated as end-to-end test right? My second question is if i want to do end-to-end test…
Akshay Krishna
  • 153
  • 1
  • 6
  • 17
0
votes
1 answer

Protractor: httpGet is not defined; Need Response codes from Hyperlinks

Problem: I am able to count the number of links on a page. I want to test if they are valid. While I could use .click -> this would validate a hyperlink thats a "404 Page Not Found" to Protractor. I want to use error code or response codes. There…
Dasman
  • 317
  • 4
  • 19
0
votes
1 answer

Automate End to End Test of Google.Com through Protractor

I am trying to make Protractor go to google.com and search a term. I have come to where protractor loads the non angular page Google and then puts the text in. How do I make it press "enter" or click the button? In addition I am not finding any…
Dasman
  • 317
  • 4
  • 19
0
votes
1 answer

How to perform Control+Click on a multi-select option in protractor?

I'm trying to click on multiple selections in a multi select box. But I'm unable to perform the same. What i have tried so far: let input = $('input'); let option1 = input.all(by.cssContainingText('option','One')); let option2 =…
Sanju
  • 1,478
  • 2
  • 20
  • 41
0
votes
1 answer

Unable to check for status indicator in protractor

I'm working on protractor for end to end testing and need to check for status indicator to disappear before clicking on a button. Right now I'm unable to do it. I have tried to use invisibilityOf() as well as stalenessOf() but it's not working. It…
Sanju
  • 1,478
  • 2
  • 20
  • 41
0
votes
0 answers

How to end-to-end test my React.js code?

I try to use Selenium webdriver.io for E2E testing but implementation was relatively hard. Is there any other way to do it? Thanks
0
votes
0 answers

Nightwatch.js doesn't work on Linux server

I edited the question. If someone can help me to understand why my test doesn't work, it would be very appreciated. It seems to me that Selenium server starts and Chromedriver starts (please take a look at 'selenium-debug.log' section), but tests…
0
votes
1 answer

Vue.js e2e w Nightwatch.js how to get details on WebElements (WebDriver protocol)?

During my 2e2 tests w Nightwatch.js, I can get elements using the WebDriver protocol , but the result ( res.value ) is an array of elements ids... How can I get the details of these elements ? [ { ELEMENT: '0.03261545200301663-4' }, { ELEMENT:…
user762579
0
votes
0 answers

How to automate the testing of a device with mechanical switches?

we need to do some automated end to end testing of our component chain, which consists of a number of windows services that talk to each other - these are easily tested (and we do it today), however at one end of the chain is some hardware, that is…
push 22
  • 1,172
  • 3
  • 15
  • 34
0
votes
1 answer

Spring Cloud application and end-to-end automatic testing

I have an application based on Spring Cloud. It means I am using Eureka server service discovery and the system has couple of microservices. Can you recommend me any approach how to make automatic ent-to-end tests across my system? I have Docker so…
Cyva
  • 1,057
  • 10
  • 9
0
votes
1 answer

Testing stateful classes

I have a class that can load an image, close it or rename it (at least for now, there will be more operations with opened file in future). I've implemented it with Facade pattern (I think so). When I tried to write tests for it, I quickly noticed…
Name Age Gender