Questions tagged [angularjs-e2e]

The End-to-End testing framework for AngularJS.

The End-to-End testing framework for AngularJS. For large and small applications that grow in size and complexity it allows automatic testing to verify the correctness of new features, catch bugs and notice regressions.

The solution for testing used by the framework is an Angular Scenario Runner which simulates user interactions that will help to verify the health of the Angular application.

Issues related to the E2E Testing provided by AngularJS (http://docs.angularjs.org/guide/dev_guide.e2e-testing) and distributed as ng-scenario.

546 questions
0
votes
1 answer

AngularJS & Protractor & Jasmine - global variable for all specs

My config.js looks like this exports.config = { seleniumAddress: 'http://localhost:4444/wd/hub', specs: ['test1.js', 'test2.js'], framework: 'jasmine2' }; As you can see I have 2 test files, what I want to do is to use a single variable…
Stevik
  • 1,092
  • 2
  • 16
  • 37
0
votes
1 answer

Protractor test where app opens, Parse User.current() logs a user in automatically

How do I make an e2e test with protractor where it logs in automatically. Right now, there is code in our app.run function that goes like this var currentUser = Parse.User.current(); $rootScope.user = null; $rootScope.isLoggedIn = false; if…
realization
  • 189
  • 12
0
votes
2 answers

Test comparison doesn't work as expected

1) I have the very strange mistake in my protractor code. And I don't understand what may be reason of it. it('should filtering by interval correctly', function () { filter_field.click(); var filter_field_text =…
0
votes
0 answers

How protractor check the application is AngularJS or non-AngularJS?

Hi protractor experts, I'm a new user for protractor. I try to use protractor to do the E2E automation testing for our application (AngularJS application), seems protractor don't think our application is AngularJS application: Message: Error:…
0
votes
0 answers

Mocking API with usage of httpBackend and Protractor

I'm trying to mock up My API properly (as seen in question Mocking API with httpBackend [Protractor]). I'm navigating to specific URL - 'http://0.0.0.0:9000/#/organizations/profile'. Url requests specific view as seen here: Error: Unexpected…
0
votes
1 answer

RequireJS modules in Protractor specs. Is it possible?

Important information: I'm using TypeScript compiled to ES5. My final goal with this would be to have modular specs that could on the fly load helpers and ease the use of the PageObject pattern. Something like (I'll post my protractor.conf.js file…
gCardinal
  • 632
  • 2
  • 9
  • 27
0
votes
2 answers

Which is the default java version that is used with selenium + protractor

Because of different platforms, and different java versions, some tests fail on mac platform that pass on windows platform and vice versa. Additional: Tested the same tests with Java 6 and Java 8, and the same thing is happening. Some test…
puppeteer701
  • 1,225
  • 3
  • 17
  • 33
0
votes
1 answer

Chrome Browser Version 42.0.2311.152 m (64-bit) - does not allow to view pdf on browser in protractor automated test

new version Chrome browser does not includes -Mine type - application/pdf(when run through protractor), which would allow me to view pdf on browser and test the url through protractor, but its automatically download and close the tab. If you go…
0
votes
1 answer

Timed out waiting for Protractor to synchronize with the page after 11 seconds - Protractor

I have a login form, and I want to set input to both inputs, but the test doesn't go through in Chrome, Safari, but with Firefox it works. Initially I have a $http request and it is done, and as I know, protractor continues when $http is done, so…
puppeteer701
  • 1,225
  • 3
  • 17
  • 33
0
votes
3 answers

Run Protractor without node

I am building an AngularJS web application with Java as backend.When I look for an end to end testing framework, Protractor found to be a better option.But it is highly dependent on node.js(since it's built on top ofnode). Is that correct? what I…
Tom Sebastian
  • 3,373
  • 5
  • 29
  • 54
0
votes
1 answer

Protractor toContain failing when tests configured with shardTestFiles: true

I'm running some angular e2e tests with protractor and getting a failing expectation. expect: Expected [ 'Integration Test Acquirer Automatically generated EUR,GBP,USD activated' ] to contain 'Integration Test Acquirer Automatically generated…
pcatre
  • 1,304
  • 2
  • 16
  • 24
0
votes
1 answer

Getting the angular app to run when using protractor

I must be missing something here ... I'm trying to use protractor to run e2e tests for my angular application. The configuration file is something along the lines of: allScriptsTimeout: 11000, specs: [ …
ethanfar
  • 3,733
  • 24
  • 43
0
votes
1 answer

Angular Protractor e2e testing Multiple Dropdowns

I have Multiple dropdowns in the header part with the same class name. How to write protractor e2e test cases for multiple dropdowns. This is my HTML Code Snippet:
0
votes
1 answer

Headless Selenium/Protractor not sending output to Firefox

I am using: Firefox 30 selenium-server-standalone-2.43.1.jar Xvfb Ubuntu Headless Lineman grunt spec-e2e I am able to run Xvfb, Firefox, and lineman grunt spec-e2e with no errors. On all terminals I run export DISPLAY=:10 I run Xvfb :10 -ac in one…
dman
  • 10,406
  • 18
  • 102
  • 201
0
votes
1 answer

Protractor: Unable to execute e2e testcases [http://localhost:3000 is not available] in Webstorm 8

I am trying to execute e2e in webstorm 8. I have configured node.js as per the instructions given at How to debug angular protractor tests in WebStorm Following are the configuration details - Node interpreter: C:\Program…