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

protractor e2e typescript for mat-selection-list checkboxes - select all

How do I check all checkboxes in this page using protractor ? I tried to access the elements this way but doesn't seem to be working. select = element(by.cssContainingText('mat-card-title', 'Classifications')) …
njosep
  • 380
  • 3
  • 14
0
votes
1 answer

Protractor: by.model can't find element inside custom directive

I have this AngularJS project where I have a complex HTML layout.


model.test is successfully found by…
MWS
  • 3
  • 6
0
votes
2 answers

How to check whether a group of elements is disabled in protractor?

I am creating a page object that needs to have a function to check whether a group of elements is disabled. I have tried the following but it does not work. areAllElementsDisabled: function (allElements) { return allElements.filter(function…
Kabachok
  • 573
  • 1
  • 7
  • 22
0
votes
1 answer

How to test angularjs application with a nonangular login page in protractor

I am struggling with finding a way to test my angularjs application that has a non-angular login page. All of the app's pages are protected by a login, so whatever page I test, I will need to login first. I have looked through all kinds of ideas on…
Kabachok
  • 573
  • 1
  • 7
  • 22
0
votes
3 answers

How to take a screenshot when a protractor test fails?

I'm new to Protractor and trying to figure out how can I take screenshot when my tests are failing.. I've already tried to use protractor-jasmine2-screenshot-reporter but it does not seem to work.. Anyone uses a different plugin that works? or have…
bababuba
  • 31
  • 1
  • 7
0
votes
1 answer

angularjs - Protractor - run test on different port numbers

We have a client application built on angularjs. We are using protractor for e2e testing. Our code base is visual studio online with continuous integration implemented. Whenever there is a check-in and a pull request (PR) created, the build is…
Ravi Sankar Rao
  • 1,050
  • 11
  • 26
0
votes
1 answer

Exception: unknown error: Chrome version must be >= 53.0.278 5.0

I am trying to setup e2e test using protractor, keep on getting Chrome version must be >= 53.0.278 5.0 error. Environment: OS: Windows 7(64 bit) Chrome: 44(I am not allowed to upgrade to latest version) Protractor: 5.0.0 ChromeDriver:…
0
votes
1 answer

Error when running angular e2e test on gitlab CI

I'm having a not very meaningful error on my gitlab CI server when running e2e tests. [22:40:18] I/launcher - Running 1 instances of WebDriver [22:40:18] I/local - Starting selenium standalone server... [22:40:18] E/launcher - Error: Error: Server…
0
votes
1 answer

error while executing npm test - error TS2688: Cannot find type definition file for 'protractor'

I am learning angular and e2e and wanted to find out if anyone can point me in the right direction with the error i got. I followed thru this tutorial found at http://www.webdriverjs.com/protractor-example-with-typescript/ everything worked great…
0
votes
2 answers

How to set collection of *ngFor from protractor in Angular 4.0?

app.component.html

{{student.name}}

I want to test whether all students have name. But students is a list which is getting set in app.component.ts. Now how should I set…
0
votes
1 answer

How to set repeater from protractor?

I want to set profCourses from protractor and test the functionality of inner html. How to set such binding from protractor? Is it…
0
votes
1 answer

Angular Protractor: How to ensure that "no specs found" error does not happen?

While I was doing the tutorial of AngularJS protractor testing from https://docs.angularjs.org/tutorial/step_02 , I get the error message as "no specs found", when I run the e2e test. This means the e2e test is not happening. I am new to protractor…
rupali317
  • 472
  • 1
  • 9
  • 22
0
votes
1 answer

Why toBe () does not work in the test - protractor e2e

I'm running my test, but I get the following message. Can anyone help me how to solve this? And how can I write the text eg the password is incorrect? Alert and console.log does not work for me. my code: app.e2e-spec.ts import {…
0
votes
0 answers

Protractor- element all count returning zero

Following is our html page content
Saagar
  • 794
  • 3
  • 20
  • 41
0
votes
0 answers

ProtractorTestResults.trx file is not generating in angular testing report

I am new in end-to-end testing, I am generating the report for my E2E test cases my code in config is onPrepare: function () { require('protractor-trx-reporter'); jasmine.getEnv().addReporter( new…
Ritesh Gore
  • 49
  • 10