Questions tagged [angular-e2e]

This tag should be used when asking questions about angular end to end testing, in combination for example with protractor which is the official angular framework for writing end to end tests. this will help to categorize these questions and get the right solutions for them.

167 questions
1
vote
2 answers

Tagging Protractor - Jasmine e2e Tests for execution

I have written some e2e UI tests for an angular 6 app using protractor and jasmine. I am looking to see how I can tag specific "It"s for execution. I want to be able to tag them as @smoke, @ regression etc. How can this be achieved ? I run my tests…
njosep
  • 380
  • 3
  • 14
1
vote
1 answer

implement ESC using Protractor to close popup window without any input elements

is there someway to press ESC key, when there is no input element to perform the keypress on ? the below solutions I found online does not work as I dont have an input element on the screen I am trying to ESC from. element(by.id('No…
njosep
  • 380
  • 3
  • 14
1
vote
0 answers

How to set up e2e tests Angular without CLI?

I'm currenty trying to make e2e test for a very big Angular application but I'm having trouble setting those up. Due to various circumstances i am not able to try to integrate Angular CLI to the project so i have to work around it. my…
Flyii
  • 1,105
  • 1
  • 12
  • 21
1
vote
1 answer

Angular CLI ng e2e: Error: connect ETIMEDOUT

I am having trouble to run $ ng e2e on a plain new vanilla project created with CLI: $ ng e2e ** NG Live Development Server is listening on localhost:49155, open your browser on http://localhost:49155/ ** Date: 2018-04-17T08:42:39.992Z Hash:…
sl3dg3
  • 5,026
  • 12
  • 50
  • 74
1
vote
0 answers

Running e2e tests w/ Protractor fails when a call to my API is made

I'm trying to run e2e tests on my Angular 4 app which hits my ExpressJS backend API. Running ng serve my app is served up by default on port 4200. And then separately running nodemon server.js starts my ExpressJS server on port 3000. I can use. With…
gh0st
  • 1,653
  • 3
  • 27
  • 59
1
vote
1 answer

Protractor E2E testing; Verifying account activation email

I am trying to create a script for email verification. I mean when we create an account on the site, then a verification mail will come to the given mail address and then we have to go to that mail and verify it(clicking on the link/or fetching the…
1
vote
2 answers

angular protractor error - Failed: ETIMEDOUT connect ETIMEDOUT 127.0.0.1:56018

I am doing e2e testing using protractor of one of my page and some time I get Failed: ETIMEDOUT connect ETIMEDOUT 127.0.0.1:56018 error. Some time it also passes without any error. I have no clue whats going on! The full error: Failed: ETIMEDOUT…
Aniruddha Das
  • 20,520
  • 23
  • 96
  • 132
1
vote
1 answer

Can not run ng e2e in Ubuntu (Digital Ocean)

I'm trying to run e2e (ng e2e) tests with @angular/cli, and Ubuntu 16.04.2 x64 (Digital Ocean) And the next error is throw by the system: [19:06:51] I/update - chromedriver: unzipping chromedriver_2.31.zip [19:06:52] I/update - chromedriver: setting…
Eugenio Valeiras
  • 980
  • 1
  • 9
  • 30
1
vote
1 answer

waitForAngularEnabled is not a function

I'm doing e2e tests for Angular application. For login procedure it should go out of the app, so I'm doing: browser.waitForAngularEnabled(false); //login browser.waitForAngularEnabled(true); It perfectly works locally, but on browserstack…
Stepan Suvorov
  • 25,118
  • 26
  • 108
  • 176
0
votes
0 answers

Automated framework for Rails application, with some Angular and embedded iFrames?

My company has a Rails application, with one section of functionality built in Angular. There's also a portion of the app that is embedded iFrames that point to a Looker dashboards (Looker is a data aggregation/visualization tool). We have a strong…
0
votes
0 answers

How to configure Cypress component testing when Cypress is installed outside the Frontend project

I have a Frontend App for that I am using cypress e2e testing. The structure of this is : a folder with the (Angular) FE app; and outside this, another folder with the cypress installation. In my env file I set the deployed version app on which I am…
0
votes
1 answer

Playwright. How to skip all tests in a group if selector not found?

I am developing E2E tests with Playwright for angular app. I have to ensure that needed conditional selector exists in order to proceed, otherwise skip further tests. In other words I need to skip all tests in a group if await…
0
votes
1 answer

Testcafe run failed (Angular 14.2.1)

I'm trying to run e2e testcases with testcafe in Angular 14.2.1. For the setup I have used the mentioned documentation from the testcafe page: https://medium.com/test-automation-pro/testcafe-tests-in-an-angular-project-e1d1ccc6e1cb But the e2e run…
Stuzfuz
  • 95
  • 5
0
votes
0 answers

Cypress: bad redirect on click()

I'm testing an angular application with cypress (e2e testing with chrome). When I click a div element the code redirects to the /begincompilation page. Instead, when I run the test, the click redirects to the login (base url) component.html
sigi
  • 1
0
votes
1 answer

How can I click on first button with data-cy equal to other buttons?

I'm new to test e2e and I'm trying to click on a specific button, I gave it a data-cy that automatically is been attributed to other buttons created dynamically. How can I click on first button? The code i use for click on a single data-cy is…