{"id":21985295,"url":"https://github.com/sri85/protractor-cucumber-demo","last_synced_at":"2026-04-11T17:48:24.071Z","repository":{"id":151666796,"uuid":"102532885","full_name":"sri85/protractor-cucumber-demo","owner":"sri85","description":"Demo for writing E2E tests using protractor and cucumber","archived":false,"fork":false,"pushed_at":"2017-09-07T22:56:36.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T02:13:36.404Z","etag":null,"topics":["angular","boilerplate","cucumber","e2e-tests","nodejs","protractor","protractor-cucumber","selenium","selenium-webdriver"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sri85.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support/hooks.js","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-05T21:47:42.000Z","updated_at":"2019-11-05T08:47:55.000Z","dependencies_parsed_at":"2023-04-12T05:04:07.457Z","dependency_job_id":null,"html_url":"https://github.com/sri85/protractor-cucumber-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sri85/protractor-cucumber-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sri85%2Fprotractor-cucumber-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sri85%2Fprotractor-cucumber-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sri85%2Fprotractor-cucumber-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sri85%2Fprotractor-cucumber-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sri85","download_url":"https://codeload.github.com/sri85/protractor-cucumber-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sri85%2Fprotractor-cucumber-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261937019,"owners_count":23232843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","boilerplate","cucumber","e2e-tests","nodejs","protractor","protractor-cucumber","selenium","selenium-webdriver"],"created_at":"2024-11-29T18:13:20.861Z","updated_at":"2026-04-11T17:48:19.046Z","avatar_url":"https://github.com/sri85.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Protractor Cucumber Demo\n\nThese selenium tests are written using protractor along with cucumber. Cucumber allows stakeholders like Product Owners, Business analysts to describe test scenarios\nin plain English.\n\nFramework features:\n\n1. In addition to this , this framework produces\na html report which can be shared with stakeholders and also helps in debugging.\nThe html reports can be found under htmlReports directory.\n\n2. Ability to capture screenshots on failure which are later attached to the report.\n\n3. Sends message to slack on completion of test execution.\n\n\n## Instructions for running tests\n\n# Pre-requisities\n\n1. [NodeJs](https://nodejs.org/en/download/)\n2. [Chrome Browser](https://www.google.com/chrome/browser/desktop/index.html)\n\n\n# Steps\n1. Navigate to `moo-e2e` folder\n2. Do `npm install`\n3. Run `npm run webdriver-update`(This updates all the selenium drivers)\n4. Run `npm run webdriver-start`(This starts the selenium server)\n5. You can confirm this by visiting this [URL](http://localhost:4444/wd/hub/static/resource/hub.html)\n6. Open a new terminal window and run `npm test` which runs all the tests.\n7. To shut the selenium server just press `ctrl+c` in terminal window where the selenium server is running.\n\n### Easter-Eggs\n\nAlternatively if you don't want to run the tests in a local chrome browser or you do not have chrome installed on your machine you could run the tests in a docker selenium grid. For this to happen , make sure you have [docker](https://www.docker.com/docker-mac) installed on your system.\n\nNow run `docker-compose up -d`, this should spin up a docker selenium grid with one chrome node.\n\nIf you are impatient and would like to speed up the test execution increase the chrome nodes by\n`docker-compose scale chromenode=2` and then run `npm run paralleltest`\n\n### FootNotes:\nAll the above commands have been tested on OsX, have not really checked that these work on other platforms.(Linux should be fine , Windows not really sure)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsri85%2Fprotractor-cucumber-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsri85%2Fprotractor-cucumber-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsri85%2Fprotractor-cucumber-demo/lists"}