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 e2e testing comparison before and after

I am trying to write some e2e tests for my angularjs application and am hitting a stopping block when working on the following issue: I have a ng-repeater outputting a table of vendors. I run the e2e test to create a new vendor which loads the…
Brian
  • 2,294
  • 6
  • 30
  • 51
0
votes
2 answers

AngularJS e2e test - $routeParams always empty

I'm trying to write an end-to-end test of my AngularJS app where I check that when a certain parameter is in the URL, something happens. However, $routeParams is an empty object. This guy had the same problem. I'm trying to determine that some text…
Sarah Vessels
  • 30,930
  • 33
  • 155
  • 222
0
votes
1 answer

Reuse E2E testing scenario in multiple scenarios

I have an application on which I want to implement multiple E2E testing scenarios, each specific to a section of the application. The problem is that my application requires a login. I have created a login scenario, it all works fine. For describing…
Adrian Marinica
  • 2,191
  • 5
  • 29
  • 53
0
votes
2 answers

Testing a form in jasmine, Karma

I'd like to test a form in Jasmine, using Karma. When I enter wrong credentials and click the button, a notification appears with the appropriate message. Unfortunately, in the iframe in karma doesn't show this div, so the next expect fails because…
jimakos17
  • 905
  • 4
  • 14
  • 33
0
votes
1 answer

AngularJS e2e test with Grails

I'm confused on how to go about e2e testing an angular app running on grails. Grails is running my app and providing the endpoints, but the Karma suite only uses the browser as an engine to run the javascript. Therefore, my endpoints aren't in the…
Clev3r
  • 1,568
  • 1
  • 15
  • 28
0
votes
1 answer

AngularJS e2e test scenario hanging

I had been off of my angular project for a month and when I came back to it, suddenly the e2e scenario hangs loading the page. It waits for about 2 minutes and then proceeds w/ the scenario. I can see in the lower left of the chrome browser "waiting…
Mark Nadig
  • 4,901
  • 4
  • 37
  • 46
0
votes
1 answer

how to test angularjs app with angularjs e2e with multiple inputs with same ng-model

in our program we have a directive that occurs multiple times with an input field. Our code looks something like this
  • 0
    votes
    1 answer

    return multiple values in done() of angularjs's e2e test

    I have the following working e2e test code: it('should ...', function () { var promise = element('#id').query(function (elements, done) { var children = elements.children(); done(null, children.prevObject[0].innerHTML); }); …
    zs2020
    • 53,766
    • 29
    • 154
    • 219
    0
    votes
    1 answer

    how do you select the html tag when performing E2E testing in angularjs

    I'm writing an E2E test that checks that the HTML tag has an id attribute of "ng-app". This is related to an IE fix described here. describe('My New App', function () { describe('a suite of tests about the index page', function () { …
    louis w
    • 117
    • 1
    • 1
    • 9
    0
    votes
    2 answers

    Testing external AngularJS application

    Is there anyway to do E2E testing with AngularJS on an external application? Meaning we want to be able to run the Karma test runner on a Windows and a Linux machine to test an application located at http://externaldomain.com (on a different…
    Jose
    • 281
    • 1
    • 3
    • 10
    0
    votes
    1 answer

    Full Jquery support in Karma E2E testing in AngularJs

    How do I access the full JQuery library within my Karma E2E tests?
    Ketan
    • 5,861
    • 3
    • 32
    • 39
    0
    votes
    1 answer

    how to make angularjs e2e-test auto reload after code change

    when I run the e2e-testing, it does it job but then disconnects when the tests succeed. Is there a way to just have it continuously test? ./scripts/e2e-test.sh Starting Testacular Server…
    zcaudate
    • 13,998
    • 7
    • 64
    • 124
    0
    votes
    1 answer

    Does an Angularjs E2E scenario test have access to GET parmeters?

    I am using the runner.html E2E test file to do integration testing on an Angular project. //In runner.html //In this scenarios.js file, we have some code like this: describe('App', function() { pauseAll =…
    Chris
    • 4,237
    • 6
    • 30
    • 42
    -1
    votes
    2 answers

    How to find an element by using 'translate'? I have a common class name. So , i can't use class name to find elements

    I have below HTML stracture. Here Class is used in some other places also. Please give me some solution of it.
    -1
    votes
    1 answer

    WebDriver Manager throwing a java NullPointerException when attempting to run Protractor e2e tests

    Whilst attempting to run Protractor e2e tests on an Angular Application, my WebDriver Manager is throwing a NullPointerException. This question is not a question about NullPointerException. It is a question about how to get protractor and end to end…
    1 2 3
    36
    37