{"id":14969301,"url":"https://github.com/ecureuill/starbugs-cucumber-rb","last_synced_at":"2026-02-26T02:32:46.089Z","repository":{"id":223966572,"uuid":"762037234","full_name":"ecureuill/starbugs-cucumber-rb","owner":"ecureuill","description":"Acceptance test with Cucumber, Capybara and RSpec","archived":false,"fork":false,"pushed_at":"2024-05-16T21:57:47.000Z","size":427,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T04:28:51.549Z","etag":null,"topics":["acceptance-testing","automation-testing","capybara","cucumber","rspec","ruby"],"latest_commit_sha":null,"homepage":"https://ecureuill.github.io/starbugs-cucumber-rb/report.html","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecureuill.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-23T00:41:40.000Z","updated_at":"2024-02-23T03:27:28.000Z","dependencies_parsed_at":"2024-09-27T11:40:35.586Z","dependency_job_id":"41bf608f-c475-403a-a609-32a0c8ae50af","html_url":"https://github.com/ecureuill/starbugs-cucumber-rb","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.4444444444444444,"last_synced_commit":"01ba1432cf4cd8098025336502d3915e550340db"},"previous_names":["ecureuill/starbugs-cucumber-rb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecureuill%2Fstarbugs-cucumber-rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecureuill%2Fstarbugs-cucumber-rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecureuill%2Fstarbugs-cucumber-rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecureuill%2Fstarbugs-cucumber-rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecureuill","download_url":"https://codeload.github.com/ecureuill/starbugs-cucumber-rb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241367910,"owners_count":19951445,"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":["acceptance-testing","automation-testing","capybara","cucumber","rspec","ruby"],"created_at":"2024-09-24T13:41:33.393Z","updated_at":"2026-02-26T02:32:41.070Z","avatar_url":"https://github.com/ecureuill.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![alt text](.github/image.jpg)\n\n# Starbugs Coffee Acceptance Test Automation\n\nThis project automates acceptance tests for the [Starbugs Coffee website](http://starbugs.vercel.app). It was created as part of the **BDD Discover** course at the [QaX school](http://www.qax.com.br).\n\n## Test Reports\n\nThe project generates a comprehensive test report after each execution. You can find the report at the [project's github page](https://ecureuill.github.io/starbugs-cucumber-rb/report.html).\n\n## Technologies Used\n\n* **Cucumber:** A behavior-driven development (BDD) framework that allows you to write tests in a natural language.\n* **Capybara:** A DSL for web automation\n* **RSpec:** A testing framework for Ruby.\n* **Selenium:**  WebDriver for browser automation\n\n## Acceptance Tests\n\nAcceptance tests verify that a software system meets the business requirements and user expectations. They are typically written in a natural language that is understandable to non-technical stakeholders.\n\n\n## Project Structure\n\nThe project is structured using the Page Object Model (POM) pattern. The POM pattern organizes test code into logical units based on the pages of the application under test.\n\n## Docker Containers\n\nThe project uses a Seleniumm Grid container to run the test on a remote browser.\n\n**Selenium Grid:** A tool that allows you to run Selenium tests in parallel on multiple machines.\n\n## Getting Started\n\nTo get started with the project, follow these steps:\n\n\n1. Start the Selenium Grid container:\n\n```bash\n\ndocker run --name selenium_firefox --rm  \\\n--net=mynet \\  # (optional) docker network\n--ip XXX.XX.X.XX \\  # (optional) set an ip address\n-p 4444:4444 \\\nselenium/standalone-chrome\n\n```\n2. Clone the project and install dependencies\n\n```bash\n# Clone the project repository:\ngit clone https://github.com/ecureuill/starbugs-cucumber-rb.git\n# Move to directory\ncd starbugs-cucumber-rb\n# Install dependencies\nbundle install\n```\n3. Create `env.yaml` on root directory\n```yaml\n#selenium grid\nSELENIUM_HOST: localhost\nSELENIUM_PORT: 4444\n\n#tested app\nBASE_URL: http://starbugs-qa.vercel.app\n```\n4.  Run test\n```bash\nbundle exec cucumber\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecureuill%2Fstarbugs-cucumber-rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecureuill%2Fstarbugs-cucumber-rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecureuill%2Fstarbugs-cucumber-rb/lists"}