{"id":15896920,"url":"https://github.com/alexkrolick/cypress-test","last_synced_at":"2025-04-02T19:10:42.582Z","repository":{"id":68377617,"uuid":"157123402","full_name":"alexkrolick/cypress-test","owner":"alexkrolick","description":"playing around with cypress + react + dom-testing-library","archived":false,"fork":false,"pushed_at":"2018-11-12T05:46:32.000Z","size":148,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T00:11:40.454Z","etag":null,"topics":["javascript","testing"],"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/alexkrolick.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":"2018-11-11T21:35:01.000Z","updated_at":"2019-06-01T21:29:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"47472397-1b2e-489f-bfd5-ccea9590f18a","html_url":"https://github.com/alexkrolick/cypress-test","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/alexkrolick%2Fcypress-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexkrolick%2Fcypress-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexkrolick%2Fcypress-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexkrolick%2Fcypress-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexkrolick","download_url":"https://codeload.github.com/alexkrolick/cypress-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246875906,"owners_count":20848048,"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":["javascript","testing"],"created_at":"2024-10-06T09:24:17.743Z","updated_at":"2025-04-02T19:10:42.560Z","avatar_url":"https://github.com/alexkrolick.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cypress-test\n\nPlaying around with Cypress, Jest's `expect`, and `dom-testing-library`\n\n## Progress\n\n- [expect-compat](./cypress/support/expect-compat.js):\n  - merge Chai/Cypres and Jasmine/Jest assertions onto one `expect`\n  - add [jest-dom](https://github.com/gnapse/jest-dom) assertions like `toHaveTextContent`, `toBeInTheDocument`\n- [index.spec.js](./cypress/integration/index.spec.js): \n  - use `dom-testing-library` inside Cypress without a plugin\n  - trigger events with [user-event](https://github.com/Gpx/user-event)\n\n\u003cimg width=\"775\" alt=\"screen shot 2018-11-11 at 8 21 25 pm\" src=\"https://user-images.githubusercontent.com/1571667/48326832-57a2d100-e5f0-11e8-80ab-2ab2edde5b67.png\"\u003e\n\n\u003cimg width=\"895\" alt=\"screen shot 2018-11-11 at 8 30 59 pm\" src=\"https://user-images.githubusercontent.com/1571667/48326910-b9633b00-e5f0-11e8-84ef-08568dbc115f.png\"\u003e\n\n## Weirdness\n\n- Asssertions from Jest don't show up in the result panel or trigger a DOM snapshot for debugging\n- Need to use `done` argument (legacy from Mocha) in async tests that have native Promise chains","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexkrolick%2Fcypress-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexkrolick%2Fcypress-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexkrolick%2Fcypress-test/lists"}