angularjs-e2e Questions
3
I am trying to test my application where I need to move a widget from one location to other, in other word I need to test drag & drop functionality in an end to end test.
How would I test this...
Gamin asked 10/4, 2014 at 9:40
1
Solved
I am trying to run E2E tests for an angular application using protractor. I use the command ./node_modules/protractor/bin/webdriver-manager to start my selenium server. However the default selenium...
Augur asked 23/7, 2014 at 20:9
1
Solved
I'm trying to use Protractor's addMockModule() to mock a simple AngularJS module and override a variable:
Here is my HTML:
<body ng-app="myApp">
<div ng-controller="myAppController">...
Meggy asked 2/7, 2014 at 23:53
1
Solved
I currently have setup some tests using protractor. These tests are retrieving data from a WebApi. However, I want to point the WebApi calls to a real but mocked WebApi that just returns the object...
Foursome asked 16/6, 2014 at 13:22
1
Solved
This question is a possible solution for my other question (where they advice to use addMockModule from protractor): Call other api when running tests using Protractor.
I have the following file:...
Amylolysis asked 17/6, 2014 at 9:5
1
Solved
So I've heard of unit and integration testing, but I just recently heard of midway testing. It seems like the term is used most commonly in an AngularJS context. A Google query turned up very littl...
Hydroplane asked 10/6, 2014 at 20:48
1
Solved
I use Protractor with Jasmine for my mobile Angularjs app. I want to test a touch event (touchStart / touchEnd etc...) on a particular element. Something like:
it('should play video', function(){
...
Diamagnetism asked 18/5, 2014 at 10:13
1
Solved
I'm trying to test a link in a table that opens a new window. I want to test the url of the new window.
What I have so far is this:
it('Should verify new window url', function () {
page.list.ge...
Nadiya asked 15/4, 2014 at 19:42
5
In the introtokarma app, I changed the karma-e2e-config.js file as follows:
module.exports = function(config) {
config.set({
basePath : '../',
files : ['tests/e2e/**/*.js'],
frameworks: ['ng-s...
Closeup asked 8/8, 2013 at 19:54
1
How can I run AngularJS end to end tests on Jenkins? As far as I understand, e2e tests require a web server.
I can run e2e tests locally with karma while node.js web server script is running.
Petree asked 11/7, 2013 at 4:14
4
Solved
What is the right way to handle the Page Objects model for writing Protractor E2E testing for AngularJS? I feel like I should write them in separate files (like homepage.js, page2.js, etc) then inc...
Abubekr asked 12/12, 2013 at 4:23
2
I have an Angular SPA retrieving its data from a node backend.
Since the node project is fully covered with tests I want to mock the Angular HTTP calls.
(I do not want to start a discussion about f...
Frowsy asked 12/2, 2014 at 11:45
1
Solved
test code:
describe('mysite', function(){
var init_url = 'http://localhost/mySite/#/home';
beforeEach(function(){
// driver = new webdriver.Builder().
// withCapabilities(webdriver.Capabilities...
Affenpinscher asked 27/1, 2014 at 14:7
2
Solved
I have tried to looked up for similar QA's but i couldn't find one to satisfy me.
So basically i saw that in some examples it's used
ptor = protractor.getInstance();
ptor.get(url);
And in some o...
Portamento asked 3/2, 2014 at 12:4
2
Given i'm building my angularjs protractor e2e tesing suite leveraging the page objects pattern.
And i separate page object code in different files as much as reasonable.
What would be a good ap...
Purkey asked 30/1, 2014 at 20:9
3
Solved
I'm developing a system (with AngularJS) that has a feature that is invoked by double clicking in a place on a web page and then I get the coordinates of the mouse and do what I want.
I'm trying t...
Mccallion asked 28/10, 2013 at 9:26
2
I'm fairly new to both Cucumber and Angular. I have a rails application that is a single page application. Should I bother with Cucumber or should I just use AngularJS's e2e testing?
Any insight, ...
Afroasiatic asked 19/9, 2013 at 23:45
1
Solved
Attempted Project: https://github.com/yearofmoo/angularjs-seed-repo
Environment:
Windows 7 64-bit
NodeJS v 0.10.24
Protractor v 0.16.1
grunt v0.4.2
grunt-cli v0.1.11
Notes:
For selenium, insta...
Fado asked 12/1, 2014 at 7:44
1
I have written an angular project that utilizes require js, so most javascript will not be loaded prior to landing on a particular set of pages. (including angular.js)
when writing flows, I had to...
Emeldaemelen asked 25/11, 2013 at 22:0
1
Solved
I would like to pass some of my http request through and not mock them in my unit test, but when I try to call passThrough() method, an error of missing method is thrown:
"TypeError: Object # h...
Bartel asked 11/8, 2013 at 14:34
1
Solved
I am testing an application written predominantly in angularjs however some elements of the application are written in .NET C#, such as the login form.
My question is this.
Can I leverage Protra...
Euhemerus asked 22/8, 2013 at 14:9
© 2022 - 2024 — McMap. All rights reserved.