{"id":18421132,"url":"https://github.com/akarsh/selenium-webdriver-cucumber-js-example-project","last_synced_at":"2026-04-13T16:33:53.956Z","repository":{"id":170328484,"uuid":"646414103","full_name":"akarsh/selenium-webdriver-cucumber-js-example-project","owner":"akarsh","description":"This project demonstrates the usage of selenium-webdriver, cucumberjs in a Node.js project with Docker and Jenkins CI ","archived":false,"fork":false,"pushed_at":"2024-06-22T07:41:37.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T16:18:43.771Z","etag":null,"topics":["cucumber-js","docker","jenkins","selenium-webdriver"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akarsh.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":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-28T10:23:16.000Z","updated_at":"2024-06-22T07:41:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddc22921-f080-42bf-991d-f89abe83edc5","html_url":"https://github.com/akarsh/selenium-webdriver-cucumber-js-example-project","commit_stats":null,"previous_names":["akarsh/selenium-webdriver-cucumber-js-example-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akarsh/selenium-webdriver-cucumber-js-example-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarsh%2Fselenium-webdriver-cucumber-js-example-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarsh%2Fselenium-webdriver-cucumber-js-example-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarsh%2Fselenium-webdriver-cucumber-js-example-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarsh%2Fselenium-webdriver-cucumber-js-example-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akarsh","download_url":"https://codeload.github.com/akarsh/selenium-webdriver-cucumber-js-example-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarsh%2Fselenium-webdriver-cucumber-js-example-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31761984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cucumber-js","docker","jenkins","selenium-webdriver"],"created_at":"2024-11-06T04:24:28.831Z","updated_at":"2026-04-13T16:33:53.909Z","avatar_url":"https://github.com/akarsh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# selenium-webdriver-cucumber-js-example-project\n\n[![create-pr-on-push-to-develop](https://github.com/akarsh/selenium-webdriver-cucumber-js-example-project/actions/workflows/create-pr-on-push-to-develop.yml/badge.svg)](https://github.com/akarsh/selenium-webdriver-cucumber-js-example-project/actions/workflows/create-pr-on-push-to-develop.yml)\n[![test-on-push](https://github.com/akarsh/selenium-webdriver-cucumber-js-example-project/actions/workflows/test-on-push.yml/badge.svg)](https://github.com/akarsh/selenium-webdriver-cucumber-js-example-project/actions/workflows/test-on-push.yml)\n\nThis project demonstrates the usage of selenium-webdriver, cucumberjs in a Node.js project with Docker and Jenkins CI \n\n## Project file structure\n\n```\n├── cucumber.js\n├── package-lock.json\n└── package.json\n└── README.md\n```\n1. Scenarios are defined in .feature files, which are stored in the features directory \n2. Step definitions are defined in .js files which are stored in the step_definitions directory\n3. Reports in,\n    - html format is stored in cucumber-report.html\n    - json format is stored in cucumber-report.json\n4. package.json holds important information about the project. It contains human-readable metadata about the project (like the project name and description) as well as functional metadata like the package version number and a list of dependencies required by the application\n5. README.md file to communicate important information about Selenium WebDriver, CucumberJS example project\n6. Dockerfile informs Docker what base image we would like to use for the Node.js application project\n7. Jenkinsfile is a text file that contains the definition of a Jenkins Pipeline and is checked into source control\n\n## Development\n\n### Install\n\nInstall dependencies\n\n```sh\nnpm install\n```\n\n### Test\n\nRun standalone\n\n```sh\nnpx cucumber-js\n```\n\n# Docker CI\n\n## Docker multi-stage build for install\ndocker build command with --target install flag so that we specifically run the install build stage\n```sh\ndocker build -t selenium-webdriver-cucumber-js-example-project-install --target install . \n```\n\n### Docker run install\n\nDocker command to start the container and run install\n```sh\ndocker run --rm -v ${PWD}:/usr/src/app/ --name selenium-webdriver-cucumber-js-example-project-install selenium-webdriver-cucumber-js-example-project-install \n```\n\n## Docker multi-stage build for testing\ndocker build command with --target test flag so that we specifically run the test build stage\n```sh\ndocker build -t selenium-webdriver-cucumber-js-example-project-test --target test . \n```\n\n### Docker run test\n\nDocker command to start the container and run test\n```sh\ndocker run --rm -v ${PWD}:/usr/src/app/ --name selenium-webdriver-cucumber-js-example-project-test selenium-webdriver-cucumber-js-example-project-test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakarsh%2Fselenium-webdriver-cucumber-js-example-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakarsh%2Fselenium-webdriver-cucumber-js-example-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakarsh%2Fselenium-webdriver-cucumber-js-example-project/lists"}