{"id":16009741,"url":"https://github.com/hirohe/antd-playwright-helper","last_synced_at":"2025-04-05T02:24:42.115Z","repository":{"id":203019250,"uuid":"501073901","full_name":"hirohe/antd-playwright-helper","owner":"hirohe","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-09T07:47:48.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T01:02:58.736Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hirohe.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}},"created_at":"2022-06-08T02:35:18.000Z","updated_at":"2024-01-08T09:56:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"f73ca276-cdf9-4930-b38a-0ed75d474e8b","html_url":"https://github.com/hirohe/antd-playwright-helper","commit_stats":null,"previous_names":["hirohe/antd-playwright-helper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirohe%2Fantd-playwright-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirohe%2Fantd-playwright-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirohe%2Fantd-playwright-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirohe%2Fantd-playwright-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirohe","download_url":"https://codeload.github.com/hirohe/antd-playwright-helper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247277552,"owners_count":20912544,"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-10-08T13:04:00.475Z","updated_at":"2025-04-05T02:24:41.674Z","avatar_url":"https://github.com/hirohe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# antd-playwright-helper\n\nsome helper for playwright to interact with antd components\n\nant design components are quite complex, and it's hard to interact with them directly. such as `DateRangePicker` and `Select`. you need various steps to set the value of these components (locate the form item, find the input element, click or fill some text to search...).\n\n## Usage\n\n### Antd Form Helper\n\n```ts\ntest('test all kinds of form items', async ({ page }) =\u003e {\n  await page.goto('...')\n  \n  const formHelper = new AntdFormHelper(page)\n  await formHelper.fillFormValues([\n    {\n      label: 'date-range',\n      type: AntdInputType.DateRangePicker,\n      value: ['2022-01-01', '2022-01-24'],\n    },\n    {\n      label: 'city',\n      type: AntdInputType.SearchSelect,\n      value: 'Beijing',\n    }\n  ])\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirohe%2Fantd-playwright-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirohe%2Fantd-playwright-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirohe%2Fantd-playwright-helper/lists"}