Closed zzcr closed 3 weeks ago
The pull request includes modifications to various test files in a Playwright testing suite, primarily focusing on adjusting test cases related to visual styling, component interactions, and expected dimensions. Key changes involve commenting out certain actions, updating expected CSS properties, and removing references to components and functions. Notably, tests now emphasize visibility checks over interactions, reflecting adjustments in the underlying component structure and styling.
File Path | Change Summary |
---|---|
examples/sites/demos/pc/app/base-select/copy-multi.spec.ts |
Modifications to test cases, focusing on visibility of copyIcon instead of actions involving copyValueInput . |
examples/sites/demos/pc/app/base-select/input-box-type.spec.ts |
Updated class assertions from tiny-base-select__underline to tiny-input-underline and changed border color assertions. |
examples/sites/demos/pc/app/base-select/popup-style-position.spec.ts |
Removed assertion for x-placement attribute on dropdown element. |
examples/sites/demos/pc/app/base-select/size.spec.ts |
Adjusted expected CSS heights for input elements across different size specifications. |
examples/sites/demos/pc/app/icon/show-title.spec.ts |
Deleted test case for title visibility, including error handling during page load. |
examples/sites/demos/pc/app/select/size.spec.ts |
Updated expected height values for various input sizes in tests. |
examples/sites/demos/pc/app/slider/shortcut-operation.spec.ts |
Changed interaction method for slider from hover to click, with added delays after key presses. |
examples/sites/demos/pc/app/tabs/tab-style-bordercard.spec.ts |
Updated expected CSS background color for tab header. |
examples/sites/demos/pc/app/tag/size.spec.ts |
Changed expected CSS height for mini tag from '17px' to '18px'. |
examples/sites/demos/pc/app/time-picker/event-composition-api.vue |
Removed button and associated focus handling for time picker component. |
examples/sites/demos/pc/app/time-picker/event.spec.ts |
Removed lines interacting with focus button and time selection element. |
examples/sites/demos/pc/app/time-picker/event.vue |
Removed focus-triggering button and updated component bindings, simplifying the template. |
input-box-type.spec.ts
.size.spec.ts
.align-composition-api.vue
and align.vue
.date-range-composition-api.vue
and date-range.vue
.e2e-test
🐇 In the land of code, where rabbits play,
Changes hop along, brightening the day.
With tests that now check for icons in sight,
And colors that shift, oh what a delight!
So let’s celebrate with a joyful cheer,
For every small change brings us all near! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
Bug Fixes
New Features
Chores