angularjs-e2e Questions
5
Solved
I am trying to test a component that receives a reference to ElementRef through DI.
import { Component, OnInit, ElementRef } from '@angular/core';
@Component({
selector: 'cp',
templateUrl: '.....
Wigging asked 27/7, 2016 at 20:58
3
I have two input fields, Username and Password and a spinner button. When i click on this spinner button these two input fields get disabled and I am redirected to another page. I am writing an end...
Strophic asked 18/2, 2014 at 10:44
3
I am having an issue with a protractor test. It was working, but now (even thought nothing has changed) it is not.
The test is just opening the app (web application) and clicking on a button to dow...
Elodea asked 16/2, 2018 at 16:43
4
Solved
In protractor 2.0, I am checking in a expect() if one element is displayed. I expect a false, but the weird thing is that I get following error:
NoSuchElementError: No element found using locato...
Candlepin asked 7/5, 2015 at 11:35
6
Solved
Below is my markup
<tr ng-repeat="post in posts">
<td ng-click="activePost(post)" class="title">{{post.title}}</td>
<td><button class="btn btn-danger" ng-click="delete...
Ranking asked 31/3, 2014 at 8:53
4
Solved
Usually in protractor you can select singular element with:
element(protractor.By.css('#fdfdf'));
Occasionally you get something like this:
element(protractor.By.css('.dfdf'));
which potentia...
Anetta asked 26/11, 2013 at 20:47
5
I'm currently leaning on the Node + Angular stack and utilising Karma and Protractor for testing.
I'm currently having a hard time figuring out how to handle E2E tests that create and edit data, a...
Park asked 12/8, 2014 at 23:38
7
I use CucumberJs and Gulp to run my e2e tests; However, I need to run them against Microsoft Edge. When I do gulp protractor, it successfully opens up both Chrome and Firefox, since neither of them...
Campos asked 1/2, 2016 at 20:50
8
Solved
I have a double slider and I'd like to test that it's operable and return's the right data. The slider has a min and a max handler, it also has some "breakpoints that I can hook to. "
What I want ...
Mllly asked 4/9, 2014 at 11:39
3
Solved
Our (PHP) application requires certain cookies to be set in order to load an Angular.js client app. If the cookies are not set an exception is thrown and error page is shown.
This means in order t...
Aalst asked 10/6, 2014 at 10:43
3
Solved
I've got an Angular app that requires authentication with Google, granting of some scopes, etc, and I'm trying to set up automatic e2e tests for it. I have protractor working well for me in general...
Barnet asked 6/1, 2014 at 21:38
5
Solved
My e2e.conf.coffee file is:
exports.config =
baseUrl: 'http://localhost:9001'
specs: [
'e2e/**/*.coffee'
]
framework: 'jasmine'
I have my node project running and listening on port 9001.
...
Preemie asked 13/5, 2014 at 14:51
4
Solved
I am trying to use protractor in conjunction with Jenkins. In my jenkins, I need to have URLs dynamically generated.
So while running protractor tests, for example:
describe('angularjs homepage...
Cherice asked 14/4, 2014 at 14:10
3
I've got an interesting setup here.
I have an Angular App that loads another Angular App inside an iframe. I'm interested in testing the iframed-in Angular app with Protractor.
Protractor is wait...
Genip asked 6/12, 2013 at 14:9
7
Solved
describe('my homepage', function() {
var ptor = protractor.getInstance();
beforeEach(function(){
// ptor.ignoreSynchronization = true;
ptor.get('http://localhost/myApp/home.html');
// ptor.sle...
Incorporator asked 18/11, 2013 at 23:9
5
Solved
I'm beginner in the e2e testing and have a problem.
When I do login - I make redirect from login.php to index.php page.
But my test is fails with following errors:
..A Jasmine spec timed out. Rese...
Mossberg asked 11/6, 2015 at 17:42
3
Solved
I have some tests written using protractor for angular.js app. I am using Page Objects design pattern and there i have some methods that navigate to other pages by clicking on links and buttons. an...
Signe asked 17/6, 2015 at 5:1
3
Solved
I'm migrating my karma-ng-scenario tests suite to protractor. I would like to do something like
// karma-ng-scenario
expect(element('legend').text()).not().toBe("LOGIN_CONNECT");
in the protrac...
Fijian asked 6/2, 2014 at 9:11
2
Solved
Since documentation on GitLab CI configuration and Selenium is generally poor, I'm asking for help.
Configuration as by interest point:
gitlab.ci.yml:
image: node:7
variables:
HUB_PORT_4444_T...
Vocalise asked 30/5, 2017 at 12:3
2
I'm testing my angular application with Protractor.
Once the user is logged in to my app, I set a $timeout to do some job in one hour (so if the user was logged-in in 13:00, the $timeout will run a...
Polypoid asked 26/10, 2015 at 7:40
3
Solved
I am trying to use protractor for e2e testing but first I need to login on a non-angular page. I try to directly use the webDriver as indicated here but it fails.
My e2e test:
describe('angularjs...
Seely asked 23/10, 2014 at 20:34
4
Solved
chrome version : 57.0.2987.98 m (64-bit)
"protractor": "4.0.11",
"protractor-console-plugin": "0.1.1",
"protractor-jasmine2-html-reporter": "0.0.6",
"protractor-notify-plugin": "1.0.0",
protract...
Blest asked 15/3, 2017 at 9:49
3
Solved
I have seen in many examples like this $('.selector') and I am also using this. So what this $ variable does. This is what I got from the protractor docs.
Calls to $ may be chained to find eleme...
Flop asked 22/4, 2016 at 10:32
2
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 abov...
Xenophobia asked 20/8, 2016 at 20:37
1
Solved
On the Jasmine website I see that we can disable suites by xdescribe or individual specs by xit. Is there a way to disable only an expectation (like xexpect)?
The reason why I'm asking this is bec...
Automobile asked 5/7, 2016 at 16:40
1 Next >
© 2022 - 2024 — McMap. All rights reserved.