-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(pie-switch): DSW-2382 refactored Switch to use @playwright/test
#2189
Conversation
|
…om testing stories
packages/components/pie-switch/test/component/pie-switch.spec.ts
Outdated
Show resolved
Hide resolved
packages/components/pie-switch/test/component/pie-switch.spec.ts
Outdated
Show resolved
Hide resolved
packages/components/pie-switch/test/component/pie-switch.spec.ts
Outdated
Show resolved
Hide resolved
packages/components/pie-switch/test/component/pie-switch.spec.ts
Outdated
Show resolved
Hide resolved
packages/components/pie-switch/test/component/pie-switch.spec.ts
Outdated
Show resolved
Hide resolved
packages/components/pie-switch/test/component/pie-switch.spec.ts
Outdated
Show resolved
Hide resolved
packages/components/pie-switch/test/component/pie-switch.spec.ts
Outdated
Show resolved
Hide resolved
packages/components/pie-switch/test/component/pie-switch.spec.ts
Outdated
Show resolved
Hide resolved
packages/components/pie-switch/test/component/pie-switch.spec.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor comments!
…test` (#2189) * refactor(pie-switch): DSW-2382 refactored Switch to use playwright/test * refactor(pie-switch): DSW-2382 removed unneeded storybook controls from testing stories * refactor(pie-switch): DSW-2382 updated storybook submit actions and tests * refactor(pie-switch): DSW-2382 added constants file for event string handling
…ght/test` (#2206) * refactor(pie-textarea): DSW-2385 updated textarea to use @playwright/test * chore(pie-radio-group): DSW-2512 move to beta (#2190) * fix(pie-monorepo): DSW-000 fix Version Packages PR linting ci (#2191) fix(pie-monorepo): DSW-000 fix release lint PR * Version Packages (#2185) release: release packages with 'latest' tag Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat(pie-thumbnail): DSW-2615 add the aspect ratio prop (#2184) * feat(pie-thumbnail): DSW-2580 add basic thumbnail functionality * feat(pie-thumbnail): DSW-2583 add disabled thumbnail prop * feat(pie-thumbnail): DSW-2583 add hasPadding thumbnail prop * feat(pie-thumbnail): DSW-2582 add size prop * feat(pie-thumbnail): DSW-2582 add size prop * fix(pie-thumbnail): DSW-2582 revert some changes * fix(pie-thumbnail): DSW-2582 revert some changes * fix(pie-thumbnail): DSW-2582 add sizes * feat(pie-thumbnail): DSW-2615 add the aspect ratio prop * fix(pie-thumbnail): DSW-2615 apply background to the image to respect the asepct ratio * fix(pie-thumbnail): DSW-2615 rever some changes * fix(pie-thumbnail): DSW-2615 rever some changes * fix(pie-thumbnail): DSW-2615 update aspect ratio calcs * fix(pie-thumbnail): DSW-2615 allow images to be cropped instead of shrinking * fix(pie-thumbnail): DSW-2615 revert some changes * fix(pie-thumbnail): DSW-2615 update stories * fix(pie-thumbnail): DSW-2615 update stories * fix(pie-thumbnail): DSW-2615 update stories * fix(pie-thumbnail): DSW-2615 fix tests * fix(pie-thumbnail): DSW-2615 fix tests * fix(pie-thumbnail): DSW-2615 update alt messages * fix(pie-monorepo): DSW-000 revert changes * fix(pie-thumbnail): DSW-2615 update tests * fix(pie-thumbnail): DSW-2615 update snapshot tests --------- Co-authored-by: boris.netsov <[email protected]> * deps(github-actions): DSW-000 Bump github/codeql-action from 3.28.5 to 3.28.8 in /.github/workflows (#2186) deps(github-actions): DSW-000: Bump github/codeql-action Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.5 to 3.28.8. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@f6091c0...dd74661) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Raouf <[email protected]> * refactor(pie-radio): DSW-2770 tests to use `@playwright/test` (#2188) * refactor(pie-radio): DSW-2770 tests to use `@playwright/test` * remove uneeded test * improve prop labelling * improve prop labelling --------- Co-authored-by: Ben Siggery <[email protected]> * format(pie-monorepo): DSW-000 fix linting config & linting issues (#2196) format(pie-monorepo): DSW-000 fix linting config \& linting issues Co-authored-by: Ben Siggery <[email protected]> * refactor(pie-switch): DSW-2382 refactored Switch to use `@playwright/test` (#2189) * refactor(pie-switch): DSW-2382 refactored Switch to use playwright/test * refactor(pie-switch): DSW-2382 removed unneeded storybook controls from testing stories * refactor(pie-switch): DSW-2382 updated storybook submit actions and tests * refactor(pie-switch): DSW-2382 added constants file for event string handling * cosmetic(pie-monorepo): PEW-89 update component styles for dark mode (#2182) * cosmetic(pie-monorepo): PEW-89 update component styles for dark mode * Fix linting error * PEW-89: Use correct colour tokens for text in tag brand variants * PEW-89: Update icon button's icon fill colour * Update yarn.lock * PEW-89: Use token for switch internal label font colour * Version Packages (#2192) release: release packages with 'latest' tag Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(pie-text-input): DSW-2384 tests to use @playwright/test (#2194) * text input tests * refactor components tests * add variation stories * add slot variations * visual tests * update import --------- Co-authored-by: Ben Siggery <[email protected]> * refactor(pie-textarea): DSW-2385 updated visual tests * refactor(pie-textarea): DSW-2385 updated visual tests to include rtl variants * cosmetic(pie-notification): PEW-89 use colour token for notification text (#2200) * Version Packages (#2202) release: release packages with 'latest' tag Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(pie-monorepo-utils): DSW-000 reuse shared logic for test aperture and snapit commands (#2198) * refactor(pie-monorepo-utils): DSW-000 reuse shared logic between /snapit \& /test-aperture * fix linting * improve comments * add changeset * Update packages/tools/pie-monorepo-utils/changeset-snapshot/utils.js Co-authored-by: Xander Marjoram <[email protected]> --------- Co-authored-by: Ben Siggery <[email protected]> Co-authored-by: Xander Marjoram <[email protected]> * refactor(pie-radio-group): DSW-2698 tests to use `@playwright/test` (#2201) Co-authored-by: Ben Siggery <[email protected]> * chore(pie-textarea): DSW-2385 lint fix * refactor(pie-textarea): DSW-2385 updated test assertions and selectors * refactor(pie-textarea): DSW-2385 added missing await * refactor(pie-textarea): DSW-2385 refactor test assertions on attributes --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Jamie Maguire <[email protected]> Co-authored-by: Raouf <[email protected]> Co-authored-by: pie-design-system-bot <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: boris.netsov <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ben Siggery <[email protected]> Co-authored-by: Ben Siggery <[email protected]> Co-authored-by: Xander Marjoram <[email protected]>
Describe your changes (can list changeset entries if preferable)
Accessibility
tests.Component
andVisual
tests from@sand4rt/experimental-ct-web
package to@playwright/test
as well as correspondingplaywright-lit
configs.Author Checklist (complete before requesting a review, do not delete any)
PIE Storybook
/PIE Docs
PR preview.Not-applicable Checklist items
/test-aperture
command.Reviewer checklists (complete before approving)
Mark items as
[-] N/A
if not applicable.Reviewer 1 - @siggerzz
PIE Storybook
/PIE Docs
PR preview.Reviewer 2 -
PIE Storybook
/PIE Docs
PR preview.