{"id":17858573,"url":"https://github.com/asadhasan/cypress-microsoft-tests","last_synced_at":"2026-05-09T01:02:22.141Z","repository":{"id":103157774,"uuid":"316270710","full_name":"AsadHasan/cypress-microsoft-tests","owner":"AsadHasan","description":"Basic tests of Microsoft's website with Cypress, running cross-browser and cross-platform tests on browserstack.","archived":false,"fork":false,"pushed_at":"2020-11-29T14:20:33.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-08T09:46:26.406Z","etag":null,"topics":["a11y","browserstack","cypress","cypress-axe","eslint","husky","lighthouse","percy","typescript"],"latest_commit_sha":null,"homepage":"","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/AsadHasan.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":"2020-11-26T15:32:01.000Z","updated_at":"2020-11-29T14:20:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"24bca1c9-d659-4619-a7fc-dc8a83e21719","html_url":"https://github.com/AsadHasan/cypress-microsoft-tests","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/AsadHasan%2Fcypress-microsoft-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsadHasan%2Fcypress-microsoft-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsadHasan%2Fcypress-microsoft-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsadHasan%2Fcypress-microsoft-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AsadHasan","download_url":"https://codeload.github.com/AsadHasan/cypress-microsoft-tests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246875909,"owners_count":20848049,"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":["a11y","browserstack","cypress","cypress-axe","eslint","husky","lighthouse","percy","typescript"],"created_at":"2024-10-28T05:22:12.595Z","updated_at":"2026-05-09T01:02:17.113Z","avatar_url":"https://github.com/AsadHasan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cypress Microsoft Tests\n\nBasic automation tests of [Microsoft's website](https://www.microsoft.com/en-gb), with [Cypress](https://www.cypress.io/). Following tests are included:\n\n- Basic functional tests (visiting homepage, and trying to add Xbox console to buying wishlist): Via vanilla Cypress.\n- Accessibility testing: [A11y](https://www.a11yproject.com/) standards conformity check via [cypress-axe](https://github.com/component-driven/cypress-axe) plugin.\n- [Lighthouse](https://developers.google.com/web/tools/lighthouse) auditing: Performance, accessibility, SEO and Progressive-Web-App checks through Lighthouse, via [cypress-audit](https://github.com/mfrachet/cypress-audit) plugin.\n- Automated visual testing: Visual checking of homepage done via [Percy](https://percy.io/).\n- Cross platform and cross browser testing: Done on [Browserstack](https://www.browserstack.com/).\n\n### To run locally:\n\n- Clone repository locally: (If using [GitHub CLI](https://cli.github.com/)) `gh repo clone AsadHasan/cypress-microsoft-tests`\n- Run tests via [Docker](https://www.docker.com/get-started). This is the easiest method, as it doesn't require Node, Cypress or any browsers to be pre-installed (only Docker is required). It does _not_ run tests cross-browser though, neither does it do visual checks on Percy, or record run on Cypress dashboard: In project root, run (in a bash terminal or similar) `./docker_run_tests.sh`\n\n### Caveats/TODO\n\nSome tests fail on CI or during cross-browser runs. As Cypress project does [not recommend](https://docs.cypress.io/guides/references/best-practices.html#Visiting-external-sites) using Cypress to automate interactions with external websites that you do not control, and does [not offer](https://docs.cypress.io/guides/core-concepts/conditional-testing.html#Definition) out-of-the-box support for conditional testing; some tests (such as those which sometimes encounter an unexpected popup/dialog) fail and I've not yet got around to fixing them.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasadhasan%2Fcypress-microsoft-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasadhasan%2Fcypress-microsoft-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasadhasan%2Fcypress-microsoft-tests/lists"}