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

how to specify protractor pageobject in seperate js file?

I am using this sample to get my head around pageobjects: https://github.com/angular/protractor/blob/master/docs/page-objects.md Trying to do some refactoring by using a seperate js file for the angularHomepage(pageobject) code: var AngularHomepage…
Pindakaas
  • 4,389
  • 16
  • 48
  • 83
0
votes
1 answer

Why this link's test doesn't work?

I write a test for a link with Protractor(using Pattern Page Object), but it always gave an error. So I decide to see what was going on and I write this one: test.spec.js it('It should redirect to Google.de', function(){ var logo =…
Cremix_hellven
  • 895
  • 2
  • 7
  • 13
0
votes
1 answer

How to use protractor to specify `devicePixelRatio` for e2e testing?

We're using protractor for angularjs application e2e tests. We have a feature which will check the devicePixelRatio of window, then generate different image url in order to provide high-quality image for retina screens. But how to test it with…
Freewind
  • 193,756
  • 157
  • 432
  • 708
0
votes
1 answer

Selenium and node-replay

Hi I am having trouble connecting node-replay to selenium (where I am running my protractor tests for my angularjs app). My tests run with grunt: grunt protractor And they work fine. But now I have installed node-replay and added the following…
es3735746
  • 841
  • 3
  • 16
  • 40
0
votes
1 answer

application goes unresponsive and need to be restarted each time after protractor's angular e2e was runned

I have a python application mapped in localhost:PORT. I have some angular e2e test and when I run it with protructor (very basic ones, just login to the system), my application going to be unresponsive and I need to reload it to make work again. But…
0
votes
1 answer

'test/spec/**/*.' + jsExt in Yeoman generator-angular

Hi I just have a question: What exactly does 'test/mock/**/*.' + jsExt do? I know 'test/spec/**/*.' + jsExt is to unit test controllers. I thought this was for e2e test but I learned it is not integrated yet. It might be better if we include a…
0
votes
1 answer

E2E testing with protractor on Windows 8.1 64-bit

I have set up protractor on my machine by installing protractor globally via npm. Then I have updated my webdriver manager and started it. Now running protractor protractor-e2e.conf.js works as it should when I have capabilities: { …
Capaj
  • 4,024
  • 2
  • 43
  • 56
0
votes
1 answer

Doing manual navigation well with page objects

I'm fairly new to Protractor and E2E testing, but I've spent a few days researching, setting up page objects, and creating test suites, and one thing I'm wondering about is how to create good manual navigation between page objects and the actual…
KasMA1990
  • 153
  • 1
  • 7
0
votes
1 answer

Row and column method missing on element.all

I have the following setup, where I want Protractor to click on a row (or the checkbox in a row, either is fine):
  • KasMA1990
    • 153
    • 1
    • 7
  • 0
    votes
    2 answers

    How to use isVisible/isElementPresent in angularjs e2e testing, throwing error " TypeError: Object # has no method 'isVisible'"
    I am trying to verify that an elemnt is present or not. I was using isVisible but it throws error message "TypeError: Object # has no method 'isVisible'" it('should verify all the elements present',function(){ …
    0
    votes
    1 answer

    AngularJS initialise backendless testing

    I have AngularJS + RequireJS app. My task is to create a backendless version for UI development purposes. So a version where some/all HTTP requested are mocked. The desired user flow is: User goes to /debug to initialise a backendless version. User…
    Tomasz Jureczko
    • 167
    • 3
    • 10
    0
    votes
    1 answer

    AngularJS: e2e testing with protractor

    First of all I'm a noob with e2e testing. What I've done is installed protractor nmp install protractor installed webdriver-manager run webdriver-manager start from the directory where my angularjs app sits. it runs fine run protractor…
    Archer
    • 5,073
    • 8
    • 50
    • 96
    0
    votes
    3 answers

    is protractor or browser prefered when testing a large angular application

    I have used browser and ptor in my previous tests, and they have different issues, but overall both seem buggy, although I like browser better. So my question is, for testing a large angular application, is it more preferred to use the…
    user2167582
    • 5,986
    • 13
    • 64
    • 121
    0
    votes
    1 answer

    Angular Karma E2E Testing to external link

    I am trying to test a link to go to a twitter page. Is this possible? index.html @foo karma-e2e.conf.js proxies : { '/': 'http://localhost:8000/', '/twitter/':…
    collinglass
    • 800
    • 4
    • 11
    • 31
    0
    votes
    2 answers

    How to e2e test an Angular/Umbraco hybrid application with karma and ng-scenario

    We are using an Angular/Umbraco hybrid app for an online order procedure and now we want to set up e2e tests based on karma and ng-scenario. The thing is that there are steps in the process that are served as static pages, e.g. user login with email…
    Harijs Deksnis
    • 1,366
    • 1
    • 13
    • 24