{"id":22825716,"url":"https://github.com/wlsf82/multiple-environments-with-different-values","last_synced_at":"2025-04-14T02:30:18.253Z","repository":{"id":228846159,"uuid":"617652758","full_name":"wlsf82/multiple-environments-with-different-values","owner":"wlsf82","description":"Sample project to demonstrate how to run Cypress tests on multiple environments using command line envs.","archived":false,"fork":false,"pushed_at":"2023-03-23T16:47:50.000Z","size":41,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-12T17:12:32.804Z","etag":null,"topics":["cypress-io","multiple-test-environments","talking-about-testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/wlsf82.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}},"created_at":"2023-03-22T20:39:01.000Z","updated_at":"2024-07-14T23:20:33.000Z","dependencies_parsed_at":"2024-03-20T19:41:14.430Z","dependency_job_id":"d199bfd6-35df-4dd5-ae57-755ff83a1973","html_url":"https://github.com/wlsf82/multiple-environments-with-different-values","commit_stats":null,"previous_names":["wlsf82/multiple-environments-with-different-values"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlsf82%2Fmultiple-environments-with-different-values","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlsf82%2Fmultiple-environments-with-different-values/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlsf82%2Fmultiple-environments-with-different-values/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlsf82%2Fmultiple-environments-with-different-values/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wlsf82","download_url":"https://codeload.github.com/wlsf82/multiple-environments-with-different-values/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237424350,"owners_count":19307876,"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":["cypress-io","multiple-test-environments","talking-about-testing"],"created_at":"2024-12-12T17:11:53.272Z","updated_at":"2025-02-06T05:40:46.639Z","avatar_url":"https://github.com/wlsf82.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# multiple-environments-with-different-values\n\nSample project to demonstrate how to run Cypress tests on multiple environments using command line envs.\n\n## Pre-requirements\n\nIt is required to have Nodejs and NPM installed to run this project.\n\n\u003e I used versions `v18.13.0` and `8.19.3` of Nodejs and npm, respectively. I suggest you use the same or later LTS versions.\n\n## Installation\n\nRun `npm install` (or `npm i` for the short version) to install the dev dependencies.\n\n## Tests\n\nIn this project, you can run tests against two different environments (blue and gray).\n\n### Blue\n\nRun `npm run test:blue` to run the tests in headless mode against the blue environment.\n\nOr run `npm run cy:open:blue` to open Cypress in interactive mode and run the tests against the blue environment.\n\n### Gray\n\nRun `npm run test:gray` to run the tests in headless mode against the gray environment.\n\nOr run `npm run cy:open:gray` to open Cypress in interactive mode and run the tests against the gray environment.\n\n### Both blue and gray\n\nRun `npm test` (or `npm t` for the short version) to run the tests in headless mode against both the blue and gray environments.\n\n## Support this project\n\nIf you want to support this project, leave a ⭐.\n\n___\n\nThis project was created with 💜 by [Walmyr](https://walmyr.dev).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlsf82%2Fmultiple-environments-with-different-values","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwlsf82%2Fmultiple-environments-with-different-values","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlsf82%2Fmultiple-environments-with-different-values/lists"}