All Projects → angular-seattle → protractor-new-hope

angular-seattle / protractor-new-hope

Licence: other
Demo app for ng-conf testing workshop

Programming Languages

typescript
32286 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to protractor-new-hope

Kakunin
An E2E testing framework
Stars: ✭ 141 (+642.11%)
Mutual labels:  protractor
meazure
Screen magnification, measurement, capture and color sampling for Windows.
Stars: ✭ 55 (+189.47%)
Mutual labels:  protractor
protractor-helper
Write robust and flakiness-free tests with Protractor.
Stars: ✭ 43 (+126.32%)
Mutual labels:  protractor
Protractor Cucumber Framework
Cucumber framework plugin for Protractor
Stars: ✭ 191 (+905.26%)
Mutual labels:  protractor
proxy-scraper
⭐️ A proxy scraper made using Protractor | Proxy list Updates every three hour 🔥
Stars: ✭ 201 (+957.89%)
Mutual labels:  protractor
Review System Demo
A Spring Boot and AngularJS boilerplate project.
Stars: ✭ 18 (-5.26%)
Mutual labels:  protractor
Protractor Net
The .NET port of Protractor, an E2E test framework for Angular apps
Stars: ✭ 113 (+494.74%)
Mutual labels:  protractor
angular-cli-skeleton
angular-cli skeleton to quickly start a new project with advanced features and best practices. All features are described in README.md.
Stars: ✭ 32 (+68.42%)
Mutual labels:  protractor
protractor-element-extend
Module, that helps you to extend ElementFinder in your own custom fragments
Stars: ✭ 22 (+15.79%)
Mutual labels:  protractor
protractor-starter
#archived: protractor-starter end-to-end tests setup also for non angular application
Stars: ✭ 37 (+94.74%)
Mutual labels:  protractor
Protractor Cucumber Typescript
e2e kickstarter test framework which consists of protractor, cucumber frameworks using typescript lang!
Stars: ✭ 194 (+921.05%)
Mutual labels:  protractor
Ng Pokedex
🐵 Pokedex progressive web app built with Angular
Stars: ✭ 245 (+1189.47%)
Mutual labels:  protractor
protractor-cli
🎯 An Interactive command line interface & config helper for Protractor.js !
Stars: ✭ 14 (-26.32%)
Mutual labels:  protractor
Generator Jhipster Ionic
Ionic for JHipster 💥
Stars: ✭ 147 (+673.68%)
Mutual labels:  protractor
testing-angular-applications
Project for the Testing Angular Applications book
Stars: ✭ 99 (+421.05%)
Mutual labels:  protractor
Query Selector Shadow Dom
querySelector that can pierce Shadow DOM roots without knowing the path through nested shadow roots. Useful for automated testing of Web Components. Production use is not advised, this is for test environments/tools such as Web Driver, Playwright, Puppeteer
Stars: ✭ 115 (+505.26%)
Mutual labels:  protractor
protractor-flake
Rerun potentially flakey protractor tests before failing.
Stars: ✭ 82 (+331.58%)
Mutual labels:  protractor
percy-node
Utilities for visual regression testing in node based testing setups (like Protractor) for use with percy.io
Stars: ✭ 17 (-10.53%)
Mutual labels:  protractor
protractor-cucumber-allure
e2e kickstarter framework for using protractorJS with cucumberJS and allure jenkins CI reports
Stars: ✭ 51 (+168.42%)
Mutual labels:  protractor
after-work.js
[DEPRECATED] CLI for automated tests in web projects.
Stars: ✭ 56 (+194.74%)
Mutual labels:  protractor

Protractor: A New Hope

This is the demo app for our ng-conf 2018 talk - Protractor: A New Hope.

It's the admin interface for the Death Star. You can run the different milestones from our talk with the following scripts:

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Milestones

Easter Egg: If you click the Rebel icon in the home page, you'll get a control panel for a Sphero R2D2. The code for this is in src/app/home/droid.ts - you'll need to edit that and put the name of your droid there in order to control it.

The Tractor Beam Lever (Screenshot Testing)

Run 1-screenshots.sh

Compares images at /tractor using blue-harvest node module.

  • Prerequisite, download browser driver with npm run webdriver-update
  • Prior to running the test, generate golden images with ./update-goldens.sh. The shell command runs protractor spec file e2e/tractor.e2e-spec.ts with environment variable UPDATE_GOLDENS set to true.
  • Compare screenshots with ./1-screenshots.sh. The shell command compares the golden screenshot against the actual screenshot. If there are diffs, the file we be written to diff.png and the test will fail.

Firing Form (Action Helpers)

Run 2-action-helpers.sh

The finished example test is e2e/firing-form.e2e-spec.complete.ts. It uses Action Helpers to test the firing form.

Prisoner Manifest (Debugging)

Run 3-debugging.sh to debug the test with Chrome Devtools. You'll need to open chrome to chrome://inspect

You can also debug with VSCode, as we did in the demo. The launch configuration is in ./vscode/launch.json

The Prisoner manifest is behind an auth guard which requires a "I'm not a droid" captcha.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].