{"id":18255224,"url":"https://github.com/thompsonjonm/cypress-demoqa","last_synced_at":"2025-04-08T21:49:38.295Z","repository":{"id":54878638,"uuid":"330478339","full_name":"ThompsonJonM/cypress-demoqa","owner":"ThompsonJonM","description":"A Testing repository using Cypress.io, Faker, and Fishery to test the Demo QA website.","archived":false,"fork":false,"pushed_at":"2021-06-30T13:33:44.000Z","size":149,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T17:19:28.007Z","etag":null,"topics":["automation","cypress","cypress-io","testing","testing-framework"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ThompsonJonM.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}},"created_at":"2021-01-17T20:17:32.000Z","updated_at":"2021-06-30T13:33:46.000Z","dependencies_parsed_at":"2022-08-14T05:30:59.495Z","dependency_job_id":null,"html_url":"https://github.com/ThompsonJonM/cypress-demoqa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThompsonJonM%2Fcypress-demoqa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThompsonJonM%2Fcypress-demoqa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThompsonJonM%2Fcypress-demoqa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThompsonJonM%2Fcypress-demoqa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThompsonJonM","download_url":"https://codeload.github.com/ThompsonJonM/cypress-demoqa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247934808,"owners_count":21020724,"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":["automation","cypress","cypress-io","testing","testing-framework"],"created_at":"2024-11-05T10:15:10.887Z","updated_at":"2025-04-08T21:49:38.275Z","avatar_url":"https://github.com/ThompsonJonM.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cypress DemoQA Project\n\nA testing repository using Cypress to automate the Demo QA website and its suite of applications.\n\n1. [Tools Used](#tools-used)\n2. [Installation](#installation)\n3. [Running Tests](#running-tests)\n4. [Test Plan](#test-plan)\n\n### Tools Used\n- Cypress.io\n- Prettier\n- Eslint\n- Fishery (Planned)\n- Faker (Planned)\n\n### Installation\nSimply input the following once cloned:\n\n`npm install`\n\n### Running Tests\n\nThis repository requires the creation of a `cypress.env.json` populated with a user for the Bookstore application. The JSON should resemble the following:\n\n```\n{\n    \"bookstoreUser\": {\n        \"username\": { bookstoreUsername },\n        \"password\": { bookstorePassword }\n    }\n}\n```\n\nRun commands:\n- GUI: `npm run open`\n- CLI: `npm run test`\n- API: `CYPRESS_TEST_TAGS=api npm run {test_or_open}`\n- UI: `CYPRESS_TEST_TAGS=ui npm run {test_or_open}`\n- Module API (Elements only): `node .\\run-elements-tests.js`\n\n### Test Plan\n- Navigation\n  - Iterate through each menu selection and verify correct page load\n- Elements\n- Forms\n- Alerts\n  - Windows cannot be automated\n  - Frames can be automated using cypress-iframe\n  - Nested Frames may be able to automate using above\n- Widgets\n- Interactions\n  - Drag and drop doable with Cypress recipe\n  - Resize and Sortable should follow same principle\n- Book store app\n  - Login\n    - Successfully login, logout\n    - Create command for API login\n  - User Register not automatable due to CAPTCHA\n    - Consider API\n    - POST https://www.demoqa.com/Account/v1/User\n      - Request:\n      - { userName: {USERNAME}, password: {PASSWORD} }\n      - Response:\n      - { \"userID\":{ID},\"username\":{USERNAME},\"books\":[] }\n  - Add a book\n    - UI and API\n  - Delete a book\n    - UI and API\n  - Delete all books\n    - UI and API\n  - Delete account\n    - UI and API\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthompsonjonm%2Fcypress-demoqa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthompsonjonm%2Fcypress-demoqa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthompsonjonm%2Fcypress-demoqa/lists"}