Skip to content

NickTomlin/protractor-mcve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protractor MCVE (Minimal, Complete, and Verifiable example)

When asking a question about a problem caused by your code, you will get much better answers if you provide code people can use to reproduce the problem. That code should be… …Minimal – Use as little code as possible that still produces the same problem …Complete – Provide all parts needed to reproduce the problem …Verifiable – Test the code you're about to provide to make sure it reproduces the problem

From Stackoverflow's MCVE write up

Usage

  1. Fork the repo
  2. Instal dependencies npm i && ./node_modules/.bin/webdriver-manager update
  3. Edit the config and example spec to reproduce your issue
  4. Run the specs and make sure they fail ./node_modules/.bin/protractor conf.js
  5. Link to your fork in a Protractor issue

If you need to do something on the client; please use docs/index.html file to add client side JS

Goal

This repository exists to help you quickly create an MVCE for easier debugging with Protractor and for posting in the protractor issue queue.

Contributions

This is very simple. If there's a way to make it easier for others to use please create a pull request. Thanks!

About

Stock repo to aid creating examples for Protractor debugging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published