{"id":19686476,"url":"https://github.com/qualityshepherd/testcafe-example","last_synced_at":"2025-04-29T06:31:27.954Z","repository":{"id":48464546,"uuid":"135502492","full_name":"qualityshepherd/testcafe-example","owner":"qualityshepherd","description":"An example Testcafe project, chock full of e2e testy goodness","archived":false,"fork":false,"pushed_at":"2023-06-30T12:26:52.000Z","size":842,"stargazers_count":14,"open_issues_count":0,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T13:51:24.544Z","etag":null,"topics":["delicious-eggs","e2e-testing","es6","examples","javascript","nodejs","pageobject-pattern","parallel","test-automation","testcafe"],"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/qualityshepherd.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":"2018-05-30T22:09:58.000Z","updated_at":"2023-06-16T17:43:07.000Z","dependencies_parsed_at":"2024-11-11T18:43:07.741Z","dependency_job_id":null,"html_url":"https://github.com/qualityshepherd/testcafe-example","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/qualityshepherd%2Ftestcafe-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualityshepherd%2Ftestcafe-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualityshepherd%2Ftestcafe-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualityshepherd%2Ftestcafe-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qualityshepherd","download_url":"https://codeload.github.com/qualityshepherd/testcafe-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251450656,"owners_count":21591407,"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":["delicious-eggs","e2e-testing","es6","examples","javascript","nodejs","pageobject-pattern","parallel","test-automation","testcafe"],"created_at":"2024-11-11T18:28:48.099Z","updated_at":"2025-04-29T06:31:27.948Z","avatar_url":"https://github.com/qualityshepherd.png","language":"JavaScript","readme":"[![E2E Tests](https://github.com/qualityshepherd/testcafe-example/actions/workflows/e2e.yaml/badge.svg)](https://github.com/qualityshepherd/testcafe-example/actions/workflows/e2e.yaml)\n\n## Testcafe Example\nExample e2e tests (some of which are slightly silly) written in [Testcafe](https://github.com/DevExpress/testcafe), that:\n- use a page object pattern (now with 100% _less class_)\n- are es6y\n- use async/await\n- run in parallel\n- run on multiple browsers\n- run headlessly\n- run tests on [BrowserStack](https://browserstack.com)\n\n## Setup\n1. clone `clone git@github.com:qualityshepherd/testcafe-example.git`\n2. install `npm i`\n\n## Run\n* run `npm test` to watch in browser, or\n* `npm run ci` to run parallel, headless, and retry fails on Chrome\n* `npm run browserstack` to run tests in the cloud (requires an account and env keys to be set)\n* `npm run` to see more run options\n\n## Feedback\nTestcafe is really good; I used it for years but it has two issues that ultimately became deal-breakers for me:\n1. no `beforeAll` which sucks on it's own but also means you have to use `Roles`... which _really_ sucks.\n2. they shard/thread tests at the _test level_ instead of the _file level_.\n\n---\n\n![Test Run Gif](https://qualityshepherd.com/screencasts/testcafe.gif)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqualityshepherd%2Ftestcafe-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqualityshepherd%2Ftestcafe-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqualityshepherd%2Ftestcafe-example/lists"}