{"id":19763069,"url":"https://github.com/fdiskas/devtalks-e2e","last_synced_at":"2025-07-15T23:45:52.396Z","repository":{"id":47356202,"uuid":"317645332","full_name":"FDiskas/devtalks-e2e","owner":"FDiskas","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-26T09:06:53.000Z","size":1108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"testcafe","last_synced_at":"2025-02-28T10:16:58.284Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/FDiskas.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":"2020-12-01T19:24:35.000Z","updated_at":"2024-06-26T09:06:57.000Z","dependencies_parsed_at":"2024-06-26T10:30:53.193Z","dependency_job_id":"2a84425e-89d8-40e0-912a-58bbe1878ecb","html_url":"https://github.com/FDiskas/devtalks-e2e","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FDiskas/devtalks-e2e","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDiskas%2Fdevtalks-e2e","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDiskas%2Fdevtalks-e2e/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDiskas%2Fdevtalks-e2e/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDiskas%2Fdevtalks-e2e/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FDiskas","download_url":"https://codeload.github.com/FDiskas/devtalks-e2e/tar.gz/refs/heads/testcafe","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDiskas%2Fdevtalks-e2e/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265467993,"owners_count":23770816,"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":[],"created_at":"2024-11-12T04:07:54.490Z","updated_at":"2025-07-15T23:45:52.325Z","avatar_url":"https://github.com/FDiskas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# e2e testing frameworks overview - testcafe \u0026 cypress\n\n## Setup project steps\n\n1. `yarn create next-app --example with-typescript .`\n1. `git init`\n\n### Setup testcafe framework\n\n1. `git checkout -b testcafe`\n1. `yarn add -D testcafe testcafe-react-selectors` more info on [testcafe-react-selectors](https://github.com/DevExpress/testcafe-react-selectors)\n1. create new file `.vscode/launch.json`\n   ```json\n   {\n     \"type\": \"node\",\n     \"protocol\": \"inspector\",\n     \"request\": \"launch\",\n     \"name\": \"Launch test files with TestCafe\",\n     \"program\": \"${workspaceRoot}/node_modules/testcafe/bin/testcafe.js\",\n     \"args\": [\"chrome\", \"${relativeFile}\"],\n     \"console\": \"integratedTerminal\",\n     \"cwd\": \"${workspaceRoot}\"\n   }\n   ```\n1. Create test file `tests/main.ts`\n\n   ```ts\n   import { Selector } from \"testcafe\";\n\n   fixture`Getting Started`\n     .page`http://devexpress.github.io/testcafe/example`;\n\n   test(\"My first test\", async t =\u003e {\n     await t\n       .typeText(\"#developer-name\", \"John Smith\")\n       .click(\"#submit-button\")\n\n       // Use the assertion to check if the actual header text is equal to the expected one\n       .expect(Selector(\"#article-header\").innerText)\n       .eql(\"Thank you, John Smith!\");\n   });\n   ```\n\n### Good to know\n\n- Run mobile version `testcafe \"chrome:emulation:device=iphone X\" tests/sample-fixture.js`\n- `-S`, `--screenshots-on-fails` take a screenshot whenever a test fails\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdiskas%2Fdevtalks-e2e","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdiskas%2Fdevtalks-e2e","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdiskas%2Fdevtalks-e2e/lists"}