Coder Social home page Coder Social logo

mallorym / cucumber-protractor-harness Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 6.0 41.45 MB

Simple starter project for incorporating cucumber (2.3.1) with protractor

License: MIT License

JavaScript 89.81% Gherkin 10.19%
cucumber protractor selenium-webdriver cucumber-js protractor-cucumber-framework page-object

cucumber-protractor-harness's Introduction

cucumber-protractor-harness

Simple starter project for incorporating cucumber with protractor. This project also has an example of using page objects with your tests.

New Tutorial In The Works

This project has recently been updated to use Cucumber.js version 2.3.1. A new tutorial is being written and will incorporate how to structure step definitions under the newest version of Cucumber.js. The project is available to clone now using the steps provided below.

Getting Started

Clone the project and run npm install. Run webdriver-manager update to make sure you have the latest version of chromedriver installed. Then start up the server with webdriver-manager start. Finally, open up a new terminal window and run protractor cucumber.conf.js to execute the test.

Tutorials (Cucumber 1.3)

Reading materials for the project can be found here:

Note these tutorials were written against Cucumber 1.3

cucumber-protractor-harness's People

Contributors

mallorym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cucumber-protractor-harness's Issues

Suggestions for improvement

Hi Mallory, thanks for this repo. As your "angularPage" tests target a precompiled and already-served site, I was curious if this repo is willing to take PRs for the improvements outlines below:

• A "home-brewed" Angular example project with Angular as a dependency and leveraging Protractor within the build steps
• E2E tests with Protractor/Cucumber using Semaphore (I assume you still work for them?)

A collection of Angular-specific protractor/cucumber tests I think could be very valuable to the community.

I'd be glad to help, but want to make sure you're open to it first.

Update cucumber-js dependency to 2.0+

Currently using 1.3.1, but cucumber-js released some significant changes with 2.0 that requires changing how the tests are structured a bit.

Time to get with the program and update.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.