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
0 answers

Protractor element finder issue

I'm trying to locate the following using element(by.id()) : element(by.id('#1484755825715-7-uiGrid-0007-cell')) Using Protractor interactive cmd line, it returns No element found... >…
bob.mazzo
  • 5,183
  • 23
  • 80
  • 149
0
votes
1 answer

Does 'automatic' automation exist or when will it?

I've been using selenium and protractor to write end to end test cases for a while now. Is there such program that records mouse and keyboard movements that can 'record' which web elements have been clicked and reproduce to make 'user like'…
jmd1002
  • 45
  • 5
0
votes
1 answer

angular1 testing directive with gettextCatalog loadRemote

I am using Angular 1.5.8 with es6 syntax and angular-gettext module for multilanguage support. In my switch-language directive I load translated content…
bigcat
  • 152
  • 2
  • 11
0
votes
2 answers

Using Protractor to select nav menu items

I'm some issues launching certain menu items. The menu DOM below contains
0
votes
0 answers

$document.injector is not a function in Karma E2E Tests

I have been trying to resolve this from a month now but no luck yet. I am doing E2E(End-to-End) testing using karma and ng-Scenario for my angular application running on server. I know there is a more robust tool(Protractor) available for end to end…
0
votes
1 answer

How to get the td element without using row number in protractor

I have the existing method like below, getSpecificCell: function(tableObject, rowNumber, columnCss) { var ele = element(by.repeater(tableObject).row(rowNumber)).element(by.css('[' + columnCss + ']')); return ele; } Is that possible to do the…
Prabhu
  • 394
  • 1
  • 7
  • 23
0
votes
1 answer

Which features of a website should we test with Protractor in E2E testing?

Which features of an angular or a non-angular website should we exactly write tests for with Protractor in E2E testing ? Specially for an e_commerce website.
Haroon
  • 496
  • 5
  • 14
  • 31
0
votes
1 answer

No specs found when looping tests on Protractor

I'm using Protractor on Selenium, MacOS and Chrome. I'm trying to run the same test using an array of elements to provide the test data: As I read here: Looping on a protractor test with parameters I was trying that solution but when I run it, my…
0
votes
1 answer

Ionic E2E Test View with Jasmine Controller 'ionNavBar', required by directive 'ionNavButtons', can't be found

I am unit/e2e testing an ionic app on an actual device. I am using ion-infinite-scroll to only display limited ion-items and load more as the user scrolls. I need to test this in jasmine. I can't test the controller array because the array in $scope…
Sumama Waheed
  • 3,579
  • 3
  • 18
  • 32
0
votes
1 answer

Protrator page objects error - indexPage.getTitle is not a function

So I'm setting up page objects with my Protractor e2e tests, and straight away having an issue calling into those objects. I believe this should be simple, however I seem to be struggling. Firstly, as soon as I start my test I am seeing the Chrome…
bob.mazzo
  • 5,183
  • 23
  • 80
  • 149
0
votes
2 answers

Why I am not able be see any expect methods like .toBe () in Protractor?

Why I am not able to see any methods for expect in protractor? For example when use expect in protractor like below expect(true).toBe(true); After the dot I don't find any method as shown above toBe() C:\>npm -g…
Balaji Singh .Y
  • 683
  • 2
  • 9
  • 22
0
votes
1 answer

Protractor tests pass locally but not on Travis-CI

I've recently added end-to-end tests using Protractor to my AngularJS application. I've run the tests locally and they all pass, however when I commit to GitHub and Travis for CI most of the tests fail. I've noticed that the failing tests are those…
0
votes
1 answer

How can I select from a dropdown list in protractor?

I am struggling with attempting to select a product called "some product" from the following drop down menu. 'id="s2id_autogen81"' is the new ID element, I was using that id to grab the item but it was changed to this auto gen value and I'm not…
0
votes
1 answer

pushing multiple arrays into one is forming a 2 dimensional array

Following code is returning the length of allRows[] as 3, because it has 3 arrays in it. I am trying to build one final array allRows. getRows() { return this.element.all(by.css(".xyz")).getText(); } getTotalRows() { const…
kvm006
  • 4,554
  • 2
  • 18
  • 22
0
votes
0 answers

Protractor e2e, chaijs and doSomethingAsync().should.eventually.equal("foo") - TypeError: Cannot read property 'should' of undefined"

It would be helpful to be able to do as chaijs says in their doc: return doSomethingAsync().should.eventually.equal("foo"); This would speed up writing my e2e tests as I wouldn't have to explicitly resolve the promises like this: // I wouldn't have…
pelican
  • 5,846
  • 9
  • 43
  • 67