{"id":13711372,"url":"https://github.com/Lakitna/cypress-commands","last_synced_at":"2025-05-06T20:32:47.441Z","repository":{"id":37432318,"uuid":"178219568","full_name":"Lakitna/cypress-commands","owner":"Lakitna","description":"A collection of Cypress commands to extend and complement the defaults","archived":false,"fork":false,"pushed_at":"2023-02-08T23:46:00.000Z","size":1099,"stargazers_count":156,"open_issues_count":5,"forks_count":17,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-04-05T00:07:42.767Z","etag":null,"topics":["cypress","cypress-plugin"],"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/Lakitna.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-03-28T14:24:09.000Z","updated_at":"2025-02-11T21:34:31.000Z","dependencies_parsed_at":"2024-05-13T00:32:58.662Z","dependency_job_id":"6942d3a5-0734-447c-a44b-3727c083dd48","html_url":"https://github.com/Lakitna/cypress-commands","commit_stats":{"total_commits":175,"total_committers":9,"mean_commits":"19.444444444444443","dds":"0.14857142857142858","last_synced_commit":"28bbe2bbfc24bd500608475b1fe20f16e0ad37f7"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakitna%2Fcypress-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakitna%2Fcypress-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakitna%2Fcypress-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakitna%2Fcypress-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lakitna","download_url":"https://codeload.github.com/Lakitna/cypress-commands/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252764715,"owners_count":21800736,"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":["cypress","cypress-plugin"],"created_at":"2024-08-02T23:01:07.529Z","updated_at":"2025-05-06T20:32:46.830Z","avatar_url":"https://github.com/Lakitna.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Cypress commands\n\n[![npm version](https://badge.fury.io/js/cypress-commands.svg)](https://badge.fury.io/js/cypress-commands)\n\nA collection of high-quality Cypress commands to complement and extend the defaults.\n\nThis repository is not maintained by the Cypress developers. This means we can choose to ignore\nparts of their vision.\n\nDocumentation is a cornerstone of Cypress, the commands in this repository will try to keep these\ndocumentation standards.\n\n## Cypress version\n\n`cypress-commands` should work with the latest version of Cypress. If this is not the case, please\nopen an issue.\n\nIt's tested against multiple versions of Cypress. See the\n[CI definition](./.github/workflows/ci.yaml) for the most up-to-date list.\n\n## Installation\n\nInstall the module.\n\n```shell\nnpm install cypress-commands\n```\n\nAdd the following line to `cypress/support/index.js`.\n\n```javascript\nrequire('cypress-commands');\n```\n\n### Type definitions\n\nImport typescript definitions by adding them to your `tsconfig.json`. Add the cypress-commands types\nbefore the Cypress types so intellisense will prefer the cypress-commands versions of extended\ncommands.\n\n```json\n{\n  \"compilerOptions\": {\n    \"types\": [\"cypress-commands\", \"cypress\"]\n  }\n}\n```\n\n#### Known issue: `cypress.config.ts` limitation\n\nDue to the way Cypress defines its types, it's currently not possible for plugin authors to extend\nthe Cypress config types.\n\nBecause of this limitation, it's not possible to set the `requestBaseUrl` option in\n`cypress.config.ts`. For the time being, you can work around this limitation by using\n`cypress.config.js` instead.\n\nSee https://github.com/cypress-io/cypress/issues/22127 for more details.\n\n## Extended commands\n\nThese commands have been extended to be able to do more than originally intended. For these\ncommands, all tests that exist in the Cypress repository are copied to make sure the default\nbehaviour stays identical unless we want it changed.\n\n- [`.request()`](./docs/request.md)\n- [`.then()`](./docs/then.md)\n\n## Added commands\n\nThese commands do not exist in Cypress by default.\n\n- [`.attribute()`](./docs/attribute.md)\n- [`.text()`](./docs/text.md)\n- [`.to()`](./docs/to.md)\n\n## Contributing\n\nContributors are always welcome! I don't care if you are a beginner or an expert, all help is\nwelcome.\n\n## Running tests\n\nFirst clone the repository and install the dependencies.\n\n### GUI mode\n\n```shell\nnpm start\n```\n\n### CLI mode\n\n```shell\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLakitna%2Fcypress-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLakitna%2Fcypress-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLakitna%2Fcypress-commands/lists"}