protractor Questions

2

Can't figure this out for quite a piece of time. Can't find answer on the web either. My CI tool is Jenkins. Source of code is Git. A build trigger is another build stability. Plugin manager says ...
Complemental asked 6/10, 2016 at 13:7

8

Solved

I have a Protractor project which contains such a file: var FriendCard = function (card) { var webElement = card; var menuButton; var serialNumber; this.getAsWebElement = function () { return...
Carib asked 19/12, 2016 at 9:34

8

I have seen that chromedriver can output a logfile (https://sites.google.com/a/chromium.org/chromedriver/logging) This page shows how to set this up when executing the exe directly: chromedriver....

8

I got below error when trying to build the microsoft driver for nodejs for sql server gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email&#16...
Bahaism asked 5/1, 2016 at 10:7

6

I have a medium sized Angular application and for some reasons some of my protractor tests are timing out when run against my live production environment. I am fairly sure the timeouts happen becau...
Gallon asked 5/2, 2018 at 16:28

2

Solved

I am getting the following error: command: npx cucumber-js .\cucumber-e2e\ import { Given, When, Then } from '@cucumber/cucumber'; ^^^^^^ SyntaxError: Cannot use import statement outside a module a...
Chloechloette asked 23/3, 2022 at 14:5

6

I am new to allure reports and want to generate the allure report. Can anyone help with this? I am trying with a simple example, my project folder containing config.js and test.js and the allure r...
Kuykendall asked 10/6, 2018 at 11:7

3

My question is simple but I don't understand if it's possible and, in this case, how it's possible. I would like to use the puppeteer library in an Angular application using the npm package, but I ...
Swaggering asked 26/7, 2018 at 10:4

7

Solved

I get below error when try to run Protractor test against chrome. My conf.ts import {Config} from 'protractor' export let config: Config = { framework: 'jasmine', // capabilities: { browserNam...

3

Solved

I'm doing e2e and bdd tests using Angular 5, Protractor and Cucumber. When I run on terminal ng e2e I get the following error: When I open the page # e2e\steps\home.steps.ts:15 Error: functio...
Nawrocki asked 16/4, 2018 at 16:27

2

I want to test with Protractor an Angular application that accesses the system clipboard using the clipboard api. The problem is that, when executing the test, the Chromium browser asks the user fo...
Dominick asked 7/12, 2018 at 12:33

2

Solved

I am running E2E tests using Protractor on Bamboo. I got this error unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn't exist) Then I found tha...

4

Solved

Looking for some help on how I should be getting ahold of a new "pop-up" window that is triggered to display after I click a "login" button. I am able to get to when the window is displaying but I...
Recognize asked 28/2, 2015 at 23:15

3

Solved

I am trying to implement a sort method on protractor ElementArrayFinder. As known, all protractor methods return promises. So my sort method has a condition which depends on promises resolution. I...
Sycophant asked 13/8, 2017 at 14:9

4

When I'm trying to execute my <configuration>.js file, I'm getting the error below: [14:49:13] I/launcher - Running 1 instances of WebDriver [14:49:13] I/direct - Using ChromeDriver directly...
Toothless asked 29/5, 2017 at 14:43

8

Solved

I am facing the problem: My Project is built on Angular4 with typescript, e2e testing with protractor & karma. Travis-ci has this error: [03:34:54] E/launcher - Error: TSError: ⨯ Unable to ...
Oxley asked 7/7, 2017 at 7:33

13

Solved

I have an button on my page that is visible when the user scrolls down. Because of this, protractor tests give me an error: UnknownError: unknown error: Element is not clickable at point (94, 18...
Songful asked 9/5, 2014 at 18:44

3

I've searched around quite a bit on this problem, but can't find a solution. I'm trying to mock my backend, which is well tested so I can completely isolate my frontend. I've tried using protracto...

10

Solved

I am a new Protractor. I am trying to run a sample unit test on my first Angular2 application. my conf.js file has : exports.config = { seleniumAddress: 'http://localhost:3000/login', specs: ...

6

Solved

Why am I receiving errors when I use Protractor API functions? I have scoured the internet for solutions to this problem and I found a couple similar answers, but they didnt work and so I'm asking ...

2

Solved

I am trying to assert a drop down value under tab li. Here is my code for that: await searchPage.enterSearch("/html/body/nw-search/nw-text-search/div/div/div/div/div[2]/input","Honda"); await elem...
Karoline asked 2/7, 2018 at 18:27

10

Is there a way to print a custom error message when a Jasmine expect() fails? As an example, for end to end testing I have an array of web pages and I use one test to go to each URL and assert an ...
Mauer asked 23/4, 2014 at 18:0

34

Solved

I am trying to select an option from a drop down for the angular e2e tests using protractor. Here is the code snippet of the select option: <select id="locregion" class="create_select ng-prist...
Correa asked 25/10, 2013 at 21:8

4

Solved

Environment: Angular (v5 Application with Polymer Web Components. Protractor for running e2e tests. Angular CLI: 1.6.4 Node: 6.10.0 Angular: 5.2.0 @angular/cli: 1.6.4 typescript: 2.5.3 Below giv...
Historical asked 23/1, 2018 at 13:26

2

Solved

While trying to figure out how to make certain jasmine expect statements dependent on a previous expect statement I discovered that previous to Jasmine 2.3.0, there was not a way. (see Stop jasmine...
Imperialism asked 19/5, 2016 at 21:12

© 2022 - 2025 — McMap. All rights reserved.