{"id":19664643,"url":"https://github.com/wisersolutions/cypress-antd","last_synced_at":"2025-04-28T21:33:44.916Z","repository":{"id":35008914,"uuid":"194661033","full_name":"WiserSolutions/cypress-antd","owner":"WiserSolutions","description":"Helpers for interacting with Ant Design components in Cypress tests.","archived":false,"fork":false,"pushed_at":"2023-07-18T20:16:56.000Z","size":1005,"stargazers_count":33,"open_issues_count":7,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T11:23:15.311Z","etag":null,"topics":["cypress","innersource","test-automation"],"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/WiserSolutions.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}},"created_at":"2019-07-01T11:37:01.000Z","updated_at":"2025-02-25T08:48:24.000Z","dependencies_parsed_at":"2023-01-15T11:55:39.679Z","dependency_job_id":null,"html_url":"https://github.com/WiserSolutions/cypress-antd","commit_stats":null,"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WiserSolutions%2Fcypress-antd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WiserSolutions%2Fcypress-antd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WiserSolutions%2Fcypress-antd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WiserSolutions%2Fcypress-antd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WiserSolutions","download_url":"https://codeload.github.com/WiserSolutions/cypress-antd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251391397,"owners_count":21582163,"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","innersource","test-automation"],"created_at":"2024-11-11T16:18:26.573Z","updated_at":"2025-04-28T21:33:44.612Z","avatar_url":"https://github.com/WiserSolutions.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cypress-antd\n\nHelpers for interacting with Ant Design components in Cypress tests.\n\n\n## Use\n\nImport the provided helpers directly:\n\n```javascript\nimport { getButton, shouldHaveTooltip } from '@hon2a/cypress-antd'\n\n// note that \"child command\" (Cypress terminology) helpers are curried to be used inside `then`\ngetButton('Cool Button').then(shouldHaveTooltip('The coolness of this button knows no bounds.'))\n```\n\nor register them automatically with Cypress as custom commands:\n\n```javascript\nimport '@hon2a/cypress-antd/lib/register'\n\n// note that \"child commands\" are registered properly to automatically consume the yielded subject\ncy.getButton('Uncool Button').shouldHaveTooltip('This button is so very sad.')\n```\n\n_Documentation of individual commands is TBD. For now, the helper names and contracts should be self-explanatory._ \n\n## Development\n\n### Install\n\nInstall dependencies using:\n\n```sh\nnpm install\n```\n\n### Develop\n\nAfter you modify sources, run the following (or set up your IDE to do it for you):\n\n- format the code using `npm run format`\n- lint it using `npm run lint`\n- test it using `npm test`\n\nand fix the errors, if there are any.\n\n### Publish\n\nPublishing is done in two steps:\n\n1. Create a new version tag and push it to the repository:\n    ```sh\n    npm version \u003cpatch|minor|major\u003e\n    git push --follow-tags\n    ```\n1. Build and publish the new version as a npm package:\n    ```sh\n    npm publish --access public\n    ``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisersolutions%2Fcypress-antd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisersolutions%2Fcypress-antd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisersolutions%2Fcypress-antd/lists"}