├── .cid └── tiny-opentiny-vue-theme.yml ├── .codecheck └── check.yml ├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ ├── config.yml │ └── feature-request.yml ├── PULL_REQUEST_TEMPLATE.md ├── labeler.yaml └── workflows │ └── auto-label.yaml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── LICENSE ├── README.md ├── commitlint.config.js ├── logo.svg ├── package.json ├── playwright.config.ts ├── src └── config.ts └── tests ├── alert ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── center-chromium-win32.png │ ├── custom-class-chromium-win32.png │ ├── custom-close-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── icon-chromium-win32.png │ ├── show-icon-chromium-win32.png │ ├── size-chromium-win32.png │ └── title-chromium-win32.png ├── anchor ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ └── basic-usage-click-chromium-win32.png ├── auto-complete ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── active-chromium-win32.png │ ├── basic-usage-chromium-win32.png │ ├── clearable-chromium-win32.png │ ├── custom-icon-chromium-win32.png │ ├── disabled-chromium-win32.png │ ├── focus-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── loading-chromium-win32.png │ └── option-hover-chromium-win32.png ├── badge ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── content-chromium-win32.png │ ├── dynamic-hidden-chromium-win32.png │ ├── is-dot-chromium-win32.png │ ├── is-dot-hover-chromium-win32.png │ ├── max-chromium-win32.png │ ├── offset-chromium-win32.png │ └── type-chromium-win32.png ├── breadcrumb ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── base-chromium-win32.png │ ├── hover-chromium-win32.png │ └── separator-chromium-win32.png ├── button-group ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── button-group-multiple-chromium-win32.png │ ├── disabled-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── multiple-hover-chromium-win32.png │ ├── plain-chromium-win32.png │ ├── plain-hover-chromium-win32.png │ ├── show-edit-chromium-win32.png │ ├── show-more-chromium-win32.png │ ├── size-chromium-win32.png │ ├── size-hover-chromium-win32.png │ ├── sup-chromium-win32.png │ └── sup-hover-chromium-win32.png ├── button ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── dynamic-disabled1-chromium-win32.png │ ├── dynamic-disabled2-chromium-win32.png │ ├── icon-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-1-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-10-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-11-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-12-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-13-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-14-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-15-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-16-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-17-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-18-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-2-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-3-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-4-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-5-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-6-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-7-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-8-chromium-win32.png │ ├── input组件xdesign规范-button默认--UI截图-9-chromium-win32.png │ ├── input组件xdesign规范-幽灵--UI截图-1-chromium-win32.png │ ├── input组件xdesign规范-幽灵--UI截图-2-chromium-win32.png │ ├── input组件xdesign规范-幽灵--UI截图-3-chromium-win32.png │ ├── input组件xdesign规范-幽灵--UI截图-4-chromium-win32.png │ ├── input组件xdesign规范-幽灵--UI截图-5-chromium-win32.png │ ├── input组件xdesign规范-幽灵--UI截图-6-chromium-win32.png │ ├── size-chromium-win32.png │ └── text-chromium-win32.png ├── calendar-view ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── line-hover-chromium-win32.png │ ├── right-hover-chromium-win32.png │ └── set-working-day-chromium-win32.png ├── carousel ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── card-mode-chromium-win32.png │ ├── card-show-chromium-win32.png │ ├── carousel-arrow-always-chromium-win32.png │ ├── close-loop-chromium-win32.png │ ├── dialog-card-chromium-win32.png │ ├── show-title-chromium-win32.png │ └── up-down-carousel-chromium-win32.png ├── chart ├── bar │ ├── bar.spec.ts │ └── bar.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ ├── demo4-chromium-win32.png │ │ ├── demo5-chromium-win32.png │ │ ├── demo6-chromium-win32.png │ │ └── demo7-chromium-win32.png ├── boxplot │ ├── boxplot.spec.ts │ └── boxplot.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── multiple-chromium-win32.png │ │ └── vertical-chromium-win32.png ├── candle │ ├── candle.spec.ts │ └── candle.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ ├── demo4-chromium-win32.png │ │ ├── demo5-chromium-win32.png │ │ └── demo6-chromium-win32.png ├── fixtures.js ├── funnel │ ├── funnel.spec.ts │ └── funnel.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ ├── demo4-chromium-win32.png │ │ ├── demo5-chromium-win32.png │ │ ├── demo6-chromium-win32.png │ │ └── demo7-chromium-win32.png ├── gauge │ ├── gauge.spec.ts │ └── gauge.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ ├── demo4-chromium-win32.png │ │ ├── demo5-chromium-win32.png │ │ └── demo6-chromium-win32.png ├── graph │ ├── graph.spec.ts │ └── graph.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ └── demo2-chromium-win32.png ├── heatmap │ ├── heatmap.spec.ts │ └── heatmap.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ └── demo3-chromium-win32.png ├── histogram │ ├── histogram.spec.ts │ └── histogram.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ ├── demo4-chromium-win32.png │ │ ├── demo5-chromium-win32.png │ │ ├── demo6-chromium-win32.png │ │ ├── demo7-chromium-win32.png │ │ └── demo8-chromium-win32.png ├── line │ ├── line.spec.ts │ └── line.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ ├── demo5-chromium-win32.png │ │ ├── demo6-chromium-win32.png │ │ ├── demo7-chromium-win32.png │ │ ├── demo8-chromium-win32.png │ │ └── demo9-chromium-win32.png ├── map │ ├── map.spec.ts │ └── map.spec.ts-snapshots │ │ └── base-chromium-win32.png ├── pie │ ├── pie.spec.ts │ └── pie.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ ├── demo4-chromium-win32.png │ │ ├── demo5-chromium-win32.png │ │ ├── demo6-chromium-win32.png │ │ └── demo7-chromium-win32.png ├── process │ ├── process.spec.ts │ └── process.spec.ts-snapshots │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ └── demo6-chromium-win32.png ├── radar │ ├── radar.spec.ts │ └── radar.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ └── demo3-chromium-win32.png ├── ring │ ├── ring.spec.ts │ └── ring.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ ├── demo4-chromium-win32.png │ │ ├── demo5-chromium-win32.png │ │ ├── demo6-chromium-win32.png │ │ └── ring-title-chromium-win32.png ├── sankey │ ├── sankey.spec.ts │ └── sankey.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ └── demo2-chromium-win32.png ├── scatter │ ├── scatter.spec.ts │ └── scatter.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ └── demo3-chromium-win32.png ├── sunburst │ ├── sunburst.spec.ts │ └── sunburst.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ └── demo3-chromium-win32.png ├── tree │ ├── tree.spec.ts │ └── tree.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ ├── demo4-chromium-win32.png │ │ └── demo5-chromium-win32.png ├── waterfall │ ├── waterfall.spec.ts │ └── waterfall.spec.ts-snapshots │ │ ├── base-chromium-win32.png │ │ ├── demo2-chromium-win32.png │ │ ├── demo3-chromium-win32.png │ │ └── demo4-chromium-win32.png └── wordcloud │ ├── wordcloud.spec.ts │ └── wordcloud.spec.ts-snapshots │ ├── base-chromium-win32.png │ ├── demo3-chromium-win32.png │ └── demo4-chromium-win32.png ├── checkbox ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── button-hover-chromium-win32.png │ ├── checkbox-button-chromium-win32.png │ ├── disabled-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── indeterminate-chromium-win32.png │ ├── multiple-chromium-win32.png │ └── vertical-chromium-win32.png ├── collapse ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── disabled-chromium-win32.png │ └── title-chromium-win32.png ├── container ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ └── custom-with-height-chromium-win32.png ├── dialog-box ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── center-chromium-win32.png │ ├── open-close-events-chromium-win32.png │ └── right-dialog-chromium-win32.png ├── divider ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── content-position-chromium-win32.png │ ├── custom-style-chromium-win32.png │ └── direction-chromium-win32.png ├── drawer ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── footer-slot-chromium-win32.png │ └── tips-props-chromium-win32.png ├── drop-times ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── click-chromium-win32.png │ ├── focus-hover-chromium-win32.png │ ├── hover-chromium-win32.png │ └── select-chromium-win32.png ├── file-upload ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── custom-tip-chromium-win32.png │ ├── custom-tip-test1-hover-chromium-win32.png │ ├── custom-tip-test2-hover-chromium-win32.png │ ├── form-validation-chromium-win32.png │ ├── form-validation-click-chromium-win32.png │ ├── picture-card-chromium-win32.png │ ├── picture-card-fail-hover-chromium-win32.png │ ├── picture-card-success-hover-chromium-win32.png │ └── picture-card-success-preview-chromium-win32.png ├── filter-panel ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── code-chromium-win32.png │ ├── code-expand-chromium-win32.png │ ├── code-expand-popover-chromium-win32.png │ ├── code-expand-tag-chromium-win32.png │ ├── tip-chromium-win32.png │ ├── tip-expand-chromium-win32.png │ ├── tip-expand-popover-chromium-win32.png │ └── tip-expand-tag-chromium-win32.png ├── form ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── disabled-chromium-win32.png │ ├── display-only-chromium-win32.png │ ├── extra-tip-chromium-win32.png │ ├── inline-chromium-win32.png │ ├── medium-chromium-win32.png │ ├── mini-chromium-win32.png │ ├── small-chromium-win32.png │ ├── text-validate-chromium-win32.png │ ├── tip-validate-chromium-win32.png │ └── top-chromium-win32.png ├── grid └── xdesign │ ├── align.spec.ts │ ├── align.spec.ts-snapshots │ ├── footer-align-chromium-win32.png │ ├── grid-align-chromium-win32.png │ └── header-align-chromium-win32.png │ ├── appearance.spec.ts │ ├── appearance.spec.ts-snapshots │ ├── border-chromium-win32.png │ ├── border-hover-chromium-win32.png │ ├── stripe-chromium-win32.png │ ├── stripe-hover-chromium-win32.png │ └── stripe-select-chromium-win32.png │ ├── edit.spec.ts │ ├── edit.spec.ts-snapshots │ ├── edit-active-chromium-win32.png │ └── edit-chromium-win32.png │ ├── empty.spec.ts │ ├── empty.spec.ts-snapshots │ ├── center-empty-chromium-win32.png │ └── empty-chromium-win32.png │ ├── expand.spec.ts │ ├── expand.spec.ts-snapshots │ ├── expand-active-chromium-win32.png │ ├── expand-chromium-win32.png │ └── nest-grid-chromium-win32.png │ ├── filter.spec.ts │ ├── filter.spec.ts-snapshots │ ├── filter-active-chromium-win32.png │ └── filter-chromium-win32.png │ ├── fixed.spec.ts │ ├── fixed.spec.ts-snapshots │ ├── group-fixed-chromium-win32.png │ ├── left-fixed-chromium-win32.png │ └── right-fixed-chromium-win32.png │ ├── loading.spec.ts │ ├── loading.spec.ts-snapshots │ └── loading-chromium-win32.png │ ├── pager.spec.ts │ ├── pager.spec.ts-snapshots │ └── pager-chromium-win32.png │ ├── select-row.spec.ts │ ├── select-row.spec.ts-snapshots │ ├── all-selection-chromium-win32.png │ ├── basic-usage-chromium-win32.png │ ├── radio-chromium-win32.png │ ├── radio-hover-chromium-win32.png │ ├── row-hover-chromium-win32.png │ └── selection-chromium-win32.png │ ├── size.spec.ts │ ├── size.spec.ts-snapshots │ └── mini-chromium-win32.png │ ├── sort.spec.ts │ ├── sort.spec.ts-snapshots │ ├── sort-active-chromium-win32.png │ └── sort-chromium-win32.png │ ├── toolbar.spec.ts │ ├── toolbar.spec.ts-snapshots │ ├── large-chromium-win32.png │ ├── toolbar-chromium-win32.png │ └── two-row-chromium-win32.png │ ├── tree.spec.ts │ ├── tree.spec.ts-snapshots │ ├── tree-chromium-win32.png │ └── tree-expand-chromium-win32.png │ ├── validate.spec.ts │ └── validate.spec.ts-snapshots │ ├── inline-validate-chromium-win32.png │ └── validate-chromium-win32.png ├── guide ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── hover-btn-chromium-win32.png │ └── hover-icon-chromium-win32.png ├── hrapprover ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── custom-chromium-win32.png │ └── custom-service-chromium-win32.png ├── input ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── clearable-chromium-win32.png │ ├── clearable-hover-chromium-win32.png │ ├── counter-chromium-win32.png │ ├── disabled-chromium-win32.png │ ├── focus-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── input-icon-chromium-win32.png │ ├── password-chromium-win32.png │ ├── textarea-chromium-win32.png │ └── textarea-scroll-chromium-win32.png ├── ip-address ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── disabled-chromium-win32.png │ ├── hover-chromium-win32.png │ └── size-chromium-win32.png ├── layout ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ └── basic-usage-chromium-win32.png ├── link ├── xedsign.spec.ts └── xedsign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── click-chromium-win32.png │ ├── custom-icon-chromium-win32.png │ ├── disable-click-chromium-win32.png │ ├── disable-hover-chromium-win32.png │ ├── dynamic-disable-chromium-win32.png │ ├── focus-no-underline-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── icon-click-chromium-win32.png │ ├── icon-hover-chromium-win32.png │ ├── link-style-chromium-win32.png │ ├── style-click-chromium-win32.png │ ├── style-hover-chromium-win32.png │ ├── underline-click-chromium-win32.png │ └── underline-hover-chromium-win32.png ├── locales ├── xedsign.spec.ts └── xedsign.spec.ts-snapshots │ ├── custom-chromium-win32.png │ └── custom-service-chromium-win32.png ├── milestone ├── xedsign.spec.ts └── xedsign.spec.ts-snapshots │ └── basic-usage-chromium-win32.png ├── notify ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── error-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── info-chromium-win32.png │ ├── success-chromium-win32.png │ └── warning-chromium-win32.png ├── numeric ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── dynamic-disabled-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── numeric-size-chromium-win32.png │ └── unit-chromium-win32.png ├── pager ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── goto-hover-chromium-win32.png │ ├── mini-chromium-win32.png │ ├── mini-disabled-chromium-win32.png │ ├── next-hover-chromium-win32.png │ ├── page-item-hover-chromium-win32.png │ ├── pager-complete-chromium-win32.png │ ├── pager-disabled-chromium-win32.png │ ├── pager-fixed-chromium-win32.png │ ├── pager-number-chromium-win32.png │ ├── pager-simple-chromium-win32.png │ ├── pager-simplest-chromium-win32.png │ ├── popper-chromium-win32.png │ ├── popper-item-hover-chromium-win32.png │ ├── prev-hover-chromium-win32.png │ └── sizes-hover-chromium-win32.png ├── pop-upload ├── xdesign.spec.ts ├── xdesign.spec.ts-snapshots │ ├── upload-tip-chromium-win32.png │ ├── upload-tip-list-chromium-win32.png │ ├── upload-tip-list-fail-chromium-win32.png │ └── upload-tip-list-popover-chromium-win32.png └── 测试.jpg ├── progress ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ └── basic-usage-chromium-win32.png ├── radio ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── checked-hover-chromium-win32.png │ ├── disabled-chromium-win32.png │ ├── group-hover-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── radio-group-chromium-win32.png │ ├── size-chromium-win32.png │ └── vertical-chromium-win32.png ├── search ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── active-chromium-win32.png │ ├── basic-usage-chromium-win32.png │ ├── clearable-chromium-win32.png │ ├── disabled-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── search-types-chromium-win32.png │ └── slot-chromium-win32.png ├── split ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── horizontal-collapse-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── nested-use-chromium-win32.png │ ├── split-mode-chromium-win32.png │ └── three-areas-chromium-win32.png ├── statistic ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── prefix-suffix-slot-chromium-win32.png │ └── statistic-slot-chromium-win32.png ├── steps ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── advanced-chromium-win32.png │ ├── line-dot-chromium-win32.png │ ├── line-horizontal-chromium-win32.png │ ├── size-chromium-win32.png │ ├── slot-item-footer-chromium-win32.png │ └── slot-item-footer-hover-chromium-win32.png ├── switch ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── disabled-chromium-win32.png │ ├── loading-chromium-win32.png │ └── mini-mode-chromium-win32.png ├── tabs ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── basic-usage-click-chromium-win32.png │ ├── bottom-chromium-win32.png │ ├── left-chromium-win32.png │ ├── more-show-all-btn-hover-chromium-win32.png │ ├── more-show-all-chromium-win32.png │ ├── more-show-all-click-chromium-win32.png │ ├── right-chromium-win32.png │ ├── size-chromium-win32.png │ ├── size-hover-0-chromium-win32.png │ ├── size-hover-1-chromium-win32.png │ ├── size-hover-2-chromium-win32.png │ ├── tabs-second-layer-chromium-win32.png │ ├── tabs-second-layer-currency-chromium-win32.png │ ├── tabs-second-layer-hover-chromium-win32.png │ ├── tabs-second-layer-selected-chromium-win32.png │ ├── tabs-separator-chromium-win32.png │ └── tabs-separator-hover-chromium-win32.png ├── tag ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-size-chromium-win32.png │ ├── delete-chromium-win32.png │ ├── disabled-chromium-win32.png │ ├── effect-chromium-win32.png │ └── icon-chromium-win32.png ├── time-line ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── shape-chromium-win32.png │ └── status-chromium-win32.png ├── time-select ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots │ ├── basic-usage-chromium-win32.png │ ├── focus-chromium-win32.png │ ├── focus-hover-chromium-win32.png │ ├── hover-chromium-win32.png │ ├── icon-hover-chromium-win32.png │ ├── select-chromium-win32.png │ └── select-hover-chromium-win32.png ├── user-link ├── xedsign.spec.ts └── xedsign.spec.ts-snapshots │ ├── custom-chromium-win32.png │ ├── custom-service-chromium-win32.png │ └── expand-chromium-win32.png └── wizard ├── xdesign.spec.ts └── xdesign.spec.ts-snapshots ├── basic-usage-chromium-win32.png ├── page-guide-chromium-win32.png ├── time-line-flow-chromium-win32.png └── vertical-chromium-win32.png /.cid/tiny-opentiny-vue-theme.yml: -------------------------------------------------------------------------------- 1 | version: 0.1.0 2 | name: tiny-opentiny-vue-theme 3 | language: nodejs 4 | 5 | # 构建工具 6 | dependencies: 7 | base: 8 | nodejs: best 9 | 10 | # 构建机器 11 | machine: 12 | standard: 13 | euler: 14 | - default 15 | 16 | # 构建脚本 17 | scripts: 18 | - sh build.sh 19 | 20 | # 构建产物 21 | artifacts: 22 | npm_deploy: 23 | - config_path: ./package.json 24 | publish_path: ./dist/ 25 | -------------------------------------------------------------------------------- /.codecheck/check.yml: -------------------------------------------------------------------------------- 1 | version: 2.0 2 | 3 | steps: 4 | pre_codecheck: 5 | - checkout 6 | 7 | tool_params: 8 | secsolar: 9 | source_dir: ./ -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | contact_links: 3 | - name: Questions or need help 4 | url: https://github.com/opentiny/ui-vue/discussions 5 | about: Add this WeChat(opentiny), we will invite you to the WeChat discussion group later. 6 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.yml: -------------------------------------------------------------------------------- 1 | name: ✨ Feature Request 2 | description: Propose new features to @opentiny/vue to improve it. 3 | title: '✨ [Feature]: ' 4 | labels: ['✨ feature'] 5 | body: 6 | - type: textarea 7 | id: feature-solve 8 | attributes: 9 | label: What problem does this feature solve 10 | description: | 11 | Explain your use case, context, and rationale behind this feature request. More importantly, what is the end user experience you are trying to build that led to the need for this feature? 12 | placeholder: Please Input 13 | validations: 14 | required: true 15 | - type: textarea 16 | id: feature-api 17 | attributes: 18 | label: What does the proposed API look like 19 | description: | 20 | Describe how you propose to solve the problem and provide code samples of how the API would work once implemented. Note that you can use Markdown to format your code blocks. 21 | placeholder: Please Input 22 | validations: 23 | required: true 24 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | # PR 2 | 3 | ## PR Checklist 4 | 5 | Please check if your PR fulfills the following requirements: 6 | 7 | - [ ] The commit message follows our [Commit Message Guidelines](https://github.com/opentiny/ui-vue/blob/main/CONTRIBUTING.md) 8 | - [ ] Tests for the changes have been added (for bug fixes / features) 9 | - [ ] Docs have been added / updated (for bug fixes / features) 10 | 11 | ## PR Type 12 | 13 | What kind of change does this PR introduce? 14 | 15 | 16 | 17 | - [ ] Bugfix 18 | - [ ] Feature 19 | - [ ] Code style update (formatting, local variables) 20 | - [ ] Refactoring (no functional changes, no api changes) 21 | - [ ] Build related changes 22 | - [ ] CI related changes 23 | - [ ] Documentation content changes 24 | - [ ] Other... Please describe: 25 | 26 | ## What is the current behavior? 27 | 28 | 29 | 30 | Issue Number: N/A 31 | 32 | ## What is the new behavior? 33 | 34 | ## Does this PR introduce a breaking change? 35 | 36 | - [ ] Yes 37 | - [ ] No 38 | 39 | 40 | 41 | ## Other information 42 | -------------------------------------------------------------------------------- /.github/labeler.yaml: -------------------------------------------------------------------------------- 1 | version: v1 2 | 3 | labels: 4 | - label: "enhancement" 5 | sync: true 6 | matcher: 7 | title: "^feat.*: ?.*" 8 | commit: "^feat.*: ?.*" 9 | - label: "bug" 10 | sync: true 11 | matcher: 12 | title: "^fix.*: ?.*" 13 | commit: "^fix.*: ?.*" 14 | - label: "e2e" 15 | sync: true 16 | matcher: 17 | title: "^test.*: ?.*" 18 | commit: "^test.*: ?.*" 19 | - label: "refactoring" 20 | sync: true 21 | matcher: 22 | title: "^refactor.*: ?.*" 23 | commit: "^refactor.*: ?.*" 24 | - label: "chore" 25 | sync: true 26 | matcher: 27 | title: "^chore.*: ?.*" 28 | commit: "^chore.*: ?.*" 29 | -------------------------------------------------------------------------------- /.github/workflows/auto-label.yaml: -------------------------------------------------------------------------------- 1 | name: Auto Label (Pull Request) 2 | 3 | on: 4 | pull_request_target: 5 | types: [opened, edited] 6 | 7 | permissions: 8 | contents: read 9 | pull-requests: write 10 | 11 | jobs: 12 | label: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: fuxingloh/multi-labeler@v4.0.0 16 | with: 17 | github-token: ${{ secrets.GITHUB_TOKEN }} 18 | config-path: .github/labeler.yaml 19 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | dist/ 4 | coverage/ 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | 15 | # Editor directories and files 16 | .idea 17 | .history 18 | *.suo 19 | *.ntvs* 20 | *.njsproj 21 | *.sln 22 | *.sw? 23 | *.log 24 | 25 | yarn.lock 26 | package-lock.json 27 | 28 | *.tgz 29 | 30 | test-results 31 | playwright-report 32 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | pnpm-lock.yaml 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false, 3 | "singleQuote": true, 4 | "printWidth": 120, 5 | "trailingComma": "none", 6 | "quoteProps": "preserve", 7 | "endOfLine": "auto", 8 | "bracketSpacing": true, 9 | "jsxBracketSameLine": true, 10 | "jsxSingleQuote": false, 11 | "useTabs": false, 12 | "tabWidth": 2, 13 | "proseWrap": "preserve", 14 | "arrowParens": "always", 15 | "overrides": [ 16 | { 17 | "files": ".prettierrc", 18 | "options": { 19 | "parser": "json" 20 | } 21 | } 22 | ] 23 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 - present TinyVue Authors. 4 | Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd. 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | TinyVue Logo 4 | 5 |

6 | 7 |

Tiny-Vue-Theme 是 TinyVue 组件库的UI集成测试环境

8 | 9 | ## 本地开发 10 | 11 | ```shell 12 | git clone git@github.com:opentiny/tiny-vue-theme.git 13 | cd tiny-vue-theme 14 | npm i 15 | ``` 16 | 17 | ## 执行测试用例 18 | 19 | npm run test 20 | 21 | ## 开源协议 22 | 23 | [MIT](LICENSE) -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ["@commitlint/config-conventional"] }; 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@opentiny/vue-ui-e2e", 3 | "version": "0.1.0", 4 | "description": "@opentiny/vue-ui-e2e", 5 | "author": "tinyUI for Vue Team", 6 | "type": "module", 7 | "license": "MIT", 8 | "scripts": { 9 | "test": "playwright test", 10 | "install:browser": "playwright install", 11 | "codegen": "playwright codegen http://localhost:3101" 12 | }, 13 | "devDependencies": { 14 | "@playwright/test": "^1.47.0", 15 | "path": "0.12.7", 16 | "prettier": "^3.3.3" 17 | } 18 | } -------------------------------------------------------------------------------- /playwright.config.ts: -------------------------------------------------------------------------------- 1 | import Config from './src/config' 2 | import path from 'node:path' 3 | import { fileURLToPath } from 'node:url' 4 | 5 | const __filename = fileURLToPath(import.meta.url) 6 | 7 | const __dirname = path.dirname(__filename) 8 | 9 | /** 10 | * 本地开发环境链接:'http://localhost:3101' 11 | * 本地官网链接:'https://tinyuidesign-alpha.cloudbu.xxx.com' 12 | */ 13 | const origin = 'http://localhost:3101' 14 | 15 | const baseURL = `${origin}/tiny-vue/zh-CN/smb-theme/components/` 16 | const devServerCommon = 'pnpm run -w dev' 17 | 18 | const testDir = path.join(__dirname, './tests') 19 | 20 | export default Config({ 21 | testDir, 22 | baseURL, 23 | storageState: { 24 | origins: [ 25 | { 26 | origin, 27 | localStorage: [{ name: 'tiny-vue-demo-mode', value: 'single' }] 28 | } 29 | ] 30 | }, 31 | devServerCommon 32 | }) 33 | -------------------------------------------------------------------------------- /tests/alert/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/alert/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/alert/xdesign.spec.ts-snapshots/center-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/alert/xdesign.spec.ts-snapshots/center-chromium-win32.png -------------------------------------------------------------------------------- /tests/alert/xdesign.spec.ts-snapshots/custom-class-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/alert/xdesign.spec.ts-snapshots/custom-class-chromium-win32.png -------------------------------------------------------------------------------- /tests/alert/xdesign.spec.ts-snapshots/custom-close-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/alert/xdesign.spec.ts-snapshots/custom-close-chromium-win32.png -------------------------------------------------------------------------------- /tests/alert/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/alert/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/alert/xdesign.spec.ts-snapshots/icon-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/alert/xdesign.spec.ts-snapshots/icon-chromium-win32.png -------------------------------------------------------------------------------- /tests/alert/xdesign.spec.ts-snapshots/show-icon-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/alert/xdesign.spec.ts-snapshots/show-icon-chromium-win32.png -------------------------------------------------------------------------------- /tests/alert/xdesign.spec.ts-snapshots/size-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/alert/xdesign.spec.ts-snapshots/size-chromium-win32.png -------------------------------------------------------------------------------- /tests/alert/xdesign.spec.ts-snapshots/title-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/alert/xdesign.spec.ts-snapshots/title-chromium-win32.png -------------------------------------------------------------------------------- /tests/anchor/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('anchor 组件xdesign规范', () => { 4 | test('默认--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('anchor#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo .tiny-anchor') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | 11 | // 点击时截图 12 | await page.getByLabel('示例', { exact: true }).getByRole('link', { name: '基本用法' }).click() 13 | await expect(demo).toHaveScreenshot('basic-usage-click.png') 14 | }) 15 | }) 16 | -------------------------------------------------------------------------------- /tests/anchor/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/anchor/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/anchor/xdesign.spec.ts-snapshots/basic-usage-click-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/anchor/xdesign.spec.ts-snapshots/basic-usage-click-chromium-win32.png -------------------------------------------------------------------------------- /tests/auto-complete/xdesign.spec.ts-snapshots/active-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/auto-complete/xdesign.spec.ts-snapshots/active-chromium-win32.png -------------------------------------------------------------------------------- /tests/auto-complete/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/auto-complete/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/auto-complete/xdesign.spec.ts-snapshots/clearable-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/auto-complete/xdesign.spec.ts-snapshots/clearable-chromium-win32.png -------------------------------------------------------------------------------- /tests/auto-complete/xdesign.spec.ts-snapshots/custom-icon-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/auto-complete/xdesign.spec.ts-snapshots/custom-icon-chromium-win32.png -------------------------------------------------------------------------------- /tests/auto-complete/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/auto-complete/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/auto-complete/xdesign.spec.ts-snapshots/focus-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/auto-complete/xdesign.spec.ts-snapshots/focus-chromium-win32.png -------------------------------------------------------------------------------- /tests/auto-complete/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/auto-complete/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/auto-complete/xdesign.spec.ts-snapshots/loading-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/auto-complete/xdesign.spec.ts-snapshots/loading-chromium-win32.png -------------------------------------------------------------------------------- /tests/auto-complete/xdesign.spec.ts-snapshots/option-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/auto-complete/xdesign.spec.ts-snapshots/option-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/badge/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/badge/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/badge/xdesign.spec.ts-snapshots/content-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/badge/xdesign.spec.ts-snapshots/content-chromium-win32.png -------------------------------------------------------------------------------- /tests/badge/xdesign.spec.ts-snapshots/dynamic-hidden-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/badge/xdesign.spec.ts-snapshots/dynamic-hidden-chromium-win32.png -------------------------------------------------------------------------------- /tests/badge/xdesign.spec.ts-snapshots/is-dot-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/badge/xdesign.spec.ts-snapshots/is-dot-chromium-win32.png -------------------------------------------------------------------------------- /tests/badge/xdesign.spec.ts-snapshots/is-dot-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/badge/xdesign.spec.ts-snapshots/is-dot-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/badge/xdesign.spec.ts-snapshots/max-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/badge/xdesign.spec.ts-snapshots/max-chromium-win32.png -------------------------------------------------------------------------------- /tests/badge/xdesign.spec.ts-snapshots/offset-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/badge/xdesign.spec.ts-snapshots/offset-chromium-win32.png -------------------------------------------------------------------------------- /tests/badge/xdesign.spec.ts-snapshots/type-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/badge/xdesign.spec.ts-snapshots/type-chromium-win32.png -------------------------------------------------------------------------------- /tests/breadcrumb/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('breadcrumb组件xdesign规范', () => { 4 | test('默认--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('breadcrumb#base') 7 | const demo = page.locator('#base .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('base.png') 10 | 11 | // 关闭按钮hover状态 12 | await demo.getByText('产品').hover() 13 | await expect(demo).toBeInViewport() 14 | await expect(demo).toHaveScreenshot('hover.png') 15 | }) 16 | 17 | test('自定义分隔符--UI截图', async ({ page }) => { 18 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 19 | await page.goto('breadcrumb#separator') 20 | const demo = page.locator('#separator .pc-demo') 21 | await expect(demo).toBeInViewport() 22 | await expect(demo).toHaveScreenshot('separator.png') 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /tests/breadcrumb/xdesign.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/breadcrumb/xdesign.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/breadcrumb/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/breadcrumb/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/breadcrumb/xdesign.spec.ts-snapshots/separator-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/breadcrumb/xdesign.spec.ts-snapshots/separator-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/button-group-multiple-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/button-group-multiple-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/multiple-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/multiple-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/plain-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/plain-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/plain-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/plain-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/show-edit-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/show-edit-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/show-more-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/show-more-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/size-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/size-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/size-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/size-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/sup-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/sup-chromium-win32.png -------------------------------------------------------------------------------- /tests/button-group/xdesign.spec.ts-snapshots/sup-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button-group/xdesign.spec.ts-snapshots/sup-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/dynamic-disabled1-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/dynamic-disabled1-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/dynamic-disabled2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/dynamic-disabled2-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/icon-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/icon-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-1-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-1-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-10-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-10-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-11-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-11-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-12-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-12-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-13-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-13-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-14-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-14-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-15-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-15-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-16-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-16-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-17-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-17-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-18-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-18-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-2-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-3-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-4-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-5-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-6-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-7-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-7-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-8-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-8-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-9-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-button默认--UI截图-9-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-1-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-1-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-2-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-3-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-4-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-5-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/input组件xdesign规范-幽灵--UI截图-6-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/size-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/size-chromium-win32.png -------------------------------------------------------------------------------- /tests/button/xdesign.spec.ts-snapshots/text-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/button/xdesign.spec.ts-snapshots/text-chromium-win32.png -------------------------------------------------------------------------------- /tests/calendar-view/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/calendar-view/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/calendar-view/xdesign.spec.ts-snapshots/line-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/calendar-view/xdesign.spec.ts-snapshots/line-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/calendar-view/xdesign.spec.ts-snapshots/right-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/calendar-view/xdesign.spec.ts-snapshots/right-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/calendar-view/xdesign.spec.ts-snapshots/set-working-day-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/calendar-view/xdesign.spec.ts-snapshots/set-working-day-chromium-win32.png -------------------------------------------------------------------------------- /tests/carousel/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/carousel/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/carousel/xdesign.spec.ts-snapshots/card-mode-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/carousel/xdesign.spec.ts-snapshots/card-mode-chromium-win32.png -------------------------------------------------------------------------------- /tests/carousel/xdesign.spec.ts-snapshots/card-show-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/carousel/xdesign.spec.ts-snapshots/card-show-chromium-win32.png -------------------------------------------------------------------------------- /tests/carousel/xdesign.spec.ts-snapshots/carousel-arrow-always-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/carousel/xdesign.spec.ts-snapshots/carousel-arrow-always-chromium-win32.png -------------------------------------------------------------------------------- /tests/carousel/xdesign.spec.ts-snapshots/close-loop-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/carousel/xdesign.spec.ts-snapshots/close-loop-chromium-win32.png -------------------------------------------------------------------------------- /tests/carousel/xdesign.spec.ts-snapshots/dialog-card-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/carousel/xdesign.spec.ts-snapshots/dialog-card-chromium-win32.png -------------------------------------------------------------------------------- /tests/carousel/xdesign.spec.ts-snapshots/show-title-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/carousel/xdesign.spec.ts-snapshots/show-title-chromium-win32.png -------------------------------------------------------------------------------- /tests/carousel/xdesign.spec.ts-snapshots/up-down-carousel-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/carousel/xdesign.spec.ts-snapshots/up-down-carousel-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/bar/bar.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-bar#bar-base') 5 | await expect(page.locator('#bar-base .hui-chart')).toBeInViewport() 6 | await expect(page).toHaveScreenshot('base.png') 7 | }) 8 | 9 | test('demo2', async ({ page }) => { 10 | await page.goto('chart-bar#bar-demo2') 11 | await expect(page.locator('#bar-demo2 .hui-chart')).toBeInViewport() 12 | await expect(page).toHaveScreenshot('demo2.png') 13 | }) 14 | 15 | test('demo3', async ({ page }) => { 16 | await page.goto('chart-bar#bar-demo3') 17 | const chart = page.locator('#bar-demo3 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo3.png') 19 | }) 20 | 21 | test('demo4', async ({ page }) => { 22 | await page.goto('chart-bar#bar-demo4') 23 | const chart = page.locator('#bar-demo4 .hui-chart') 24 | await expect(chart).toHaveScreenshot('demo4.png') 25 | }) 26 | 27 | test('demo5', async ({ page }) => { 28 | await page.goto('chart-bar#bar-demo5') 29 | const chart = page.locator('#bar-demo5 .hui-chart') 30 | await expect(chart).toHaveScreenshot('demo5.png') 31 | }) 32 | 33 | test('demo6', async ({ page }) => { 34 | await page.goto('chart-bar#bar-demo6') 35 | const chart = page.locator('#bar-demo6 .hui-chart') 36 | await expect(chart).toHaveScreenshot('demo6.png') 37 | }) 38 | 39 | test('demo7', async ({ page }) => { 40 | await page.goto('chart-bar#bar-demo7') 41 | const chart = page.locator('#bar-demo7 .hui-chart') 42 | await expect(chart).toHaveScreenshot('demo7.png') 43 | }) 44 | -------------------------------------------------------------------------------- /tests/chart/bar/bar.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/bar/bar.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/bar/bar.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/bar/bar.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/bar/bar.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/bar/bar.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/bar/bar.spec.ts-snapshots/demo4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/bar/bar.spec.ts-snapshots/demo4-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/bar/bar.spec.ts-snapshots/demo5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/bar/bar.spec.ts-snapshots/demo5-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/bar/bar.spec.ts-snapshots/demo6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/bar/bar.spec.ts-snapshots/demo6-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/bar/bar.spec.ts-snapshots/demo7-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/bar/bar.spec.ts-snapshots/demo7-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/boxplot/boxplot.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-boxplot#boxplot-base') 5 | const chart = page.locator('#boxplot-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | 9 | test('multiple', async ({ page }) => { 10 | await page.goto('chart-boxplot#boxplot-multiple') 11 | const chart = page.locator('#boxplot-multiple .hui-chart') 12 | await expect(chart).toHaveScreenshot('multiple.png') 13 | }) 14 | -------------------------------------------------------------------------------- /tests/chart/boxplot/boxplot.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/boxplot/boxplot.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/boxplot/boxplot.spec.ts-snapshots/multiple-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/boxplot/boxplot.spec.ts-snapshots/multiple-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/boxplot/boxplot.spec.ts-snapshots/vertical-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/boxplot/boxplot.spec.ts-snapshots/vertical-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/candle/candle.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-candle#candle-base') 5 | const chart = page.locator('#candle-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | 9 | test('demo2', async ({ page }) => { 10 | await page.goto('chart-candle#candle-demo2') 11 | const chart = page.locator('#candle-demo2 .hui-chart') 12 | await expect(chart).toHaveScreenshot('demo2.png') 13 | }) 14 | 15 | test('demo3', async ({ page }) => { 16 | await page.goto('chart-candle#candle-demo3') 17 | const chart = page.locator('#candle-demo3 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo3.png') 19 | }) 20 | 21 | test('demo4', async ({ page }) => { 22 | await page.goto('chart-candle#candle-demo4') 23 | const chart = page.locator('#candle-demo4 .hui-chart') 24 | await expect(chart).toHaveScreenshot('demo4.png') 25 | }) 26 | 27 | test('demo5', async ({ page }) => { 28 | await page.goto('chart-candle#candle-demo5') 29 | const chart = page.locator('#candle-demo5 .hui-chart') 30 | await expect(chart).toHaveScreenshot('demo5.png') 31 | }) 32 | 33 | test('demo6', async ({ page }) => { 34 | await page.goto('chart-candle#candle-demo6') 35 | const chart = page.locator('#candle-demo6 .hui-chart') 36 | await expect(chart).toHaveScreenshot('demo6.png') 37 | }) 38 | -------------------------------------------------------------------------------- /tests/chart/candle/candle.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/candle/candle.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/candle/candle.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/candle/candle.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/candle/candle.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/candle/candle.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/candle/candle.spec.ts-snapshots/demo4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/candle/candle.spec.ts-snapshots/demo4-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/candle/candle.spec.ts-snapshots/demo5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/candle/candle.spec.ts-snapshots/demo5-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/candle/candle.spec.ts-snapshots/demo6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/candle/candle.spec.ts-snapshots/demo6-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/fixtures.js: -------------------------------------------------------------------------------- 1 | import { test as baseTest, expect } from '@playwright/test' 2 | 3 | const config = { 4 | waitTime: 2000 // 默认 2000 毫秒 5 | } 6 | 7 | // 创建一个可以在所有测试中使用的自定义 test 8 | const test = baseTest.extend({ 9 | page: async ({ page }, use) => { 10 | const originalGoto = page.goto.bind(page) 11 | page.goto = async (url, options) => { 12 | await originalGoto(url, options) 13 | await page.waitForTimeout(config.waitTime) 14 | } 15 | // 使用自定义的 page 16 | await use(page) 17 | } 18 | }) 19 | export { test, expect, config } 20 | -------------------------------------------------------------------------------- /tests/chart/funnel/funnel.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect, config } from '../fixtures' 2 | 3 | config.waitTime = 4000 4 | 5 | test('base', async ({ page }) => { 6 | await page.goto('chart-funnel#funnel-base') 7 | await expect(page.locator('#funnel-base .hui-chart')).toBeInViewport() 8 | await expect(page).toHaveScreenshot('base.png') 9 | }) 10 | 11 | test('demo2', async ({ page }) => { 12 | await page.goto('chart-funnel#funnel-demo2') 13 | const chart = page.locator('#funnel-demo2 .hui-chart') 14 | await expect(chart).toHaveScreenshot('demo2.png') 15 | }) 16 | 17 | test('demo3', async ({ page }) => { 18 | await page.goto('chart-funnel#funnel-demo3') 19 | const chart = page.locator('#funnel-demo3 .hui-chart') 20 | await expect(chart).toHaveScreenshot('demo3.png') 21 | }) 22 | 23 | test('demo4', async ({ page }) => { 24 | await page.goto('chart-funnel#funnel-demo4') 25 | const chart = page.locator('#funnel-demo4 .hui-chart') 26 | await expect(chart).toHaveScreenshot('demo4.png') 27 | }) 28 | 29 | test('demo5', async ({ page }) => { 30 | await page.goto('chart-funnel#funnel-demo5') 31 | const chart = page.locator('#funnel-demo5 .hui-chart') 32 | await expect(chart).toHaveScreenshot('demo5.png') 33 | }) 34 | 35 | test('demo6', async ({ page }) => { 36 | await page.goto('chart-funnel#funnel-demo6') 37 | const chart = page.locator('#funnel-demo6 .hui-chart') 38 | await expect(chart).toHaveScreenshot('demo6.png') 39 | }) 40 | 41 | test('demo7', async ({ page }) => { 42 | await page.goto('chart-funnel#funnel-demo7') 43 | const chart = page.locator('#funnel-demo7 .hui-chart') 44 | await expect(chart).toHaveScreenshot('demo7.png') 45 | }) 46 | -------------------------------------------------------------------------------- /tests/chart/funnel/funnel.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/funnel/funnel.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/funnel/funnel.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/funnel/funnel.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/funnel/funnel.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/funnel/funnel.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/funnel/funnel.spec.ts-snapshots/demo4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/funnel/funnel.spec.ts-snapshots/demo4-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/funnel/funnel.spec.ts-snapshots/demo5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/funnel/funnel.spec.ts-snapshots/demo5-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/funnel/funnel.spec.ts-snapshots/demo6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/funnel/funnel.spec.ts-snapshots/demo6-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/funnel/funnel.spec.ts-snapshots/demo7-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/funnel/funnel.spec.ts-snapshots/demo7-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/gauge/gauge.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect, config } from '../fixtures' 2 | 3 | config.waitTime = 4000 4 | test('base', async ({ page }) => { 5 | await page.goto('chart-gauge#gauge-base') 6 | const chart = page.locator('#gauge-base .hui-chart') 7 | await expect(chart).toHaveScreenshot('base.png') 8 | }) 9 | 10 | test('demo2', async ({ page }) => { 11 | await page.goto('chart-gauge#gauge-demo2') 12 | const chart = page.locator('#gauge-demo2 .hui-chart') 13 | await expect(chart).toHaveScreenshot('demo2.png') 14 | }) 15 | 16 | test('demo3', async ({ page }) => { 17 | await page.goto('chart-gauge#gauge-demo3') 18 | const chart = page.locator('#gauge-demo3 .hui-chart') 19 | await expect(chart).toBeInViewport() 20 | await expect(chart).toHaveScreenshot('demo3.png') 21 | }) 22 | 23 | test('demo4', async ({ page }) => { 24 | await page.goto('chart-gauge#gauge-demo4') 25 | const chart = page.locator('#gauge-demo4 .hui-chart') 26 | await expect(chart).toHaveScreenshot('demo4.png') 27 | }) 28 | 29 | test('demo5', async ({ page }) => { 30 | await page.goto('chart-gauge#gauge-demo5') 31 | const chart = page.locator('#gauge-demo5 .hui-chart') 32 | await expect(chart).toHaveScreenshot('demo5.png') 33 | }) 34 | 35 | test('demo6', async ({ page }) => { 36 | await page.goto('chart-gauge#gauge-demo6') 37 | const chart = page.locator('#gauge-demo6 .hui-chart') 38 | await expect(chart).toHaveScreenshot('demo6.png') 39 | }) 40 | -------------------------------------------------------------------------------- /tests/chart/gauge/gauge.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/gauge/gauge.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/gauge/gauge.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/gauge/gauge.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/gauge/gauge.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/gauge/gauge.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/gauge/gauge.spec.ts-snapshots/demo4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/gauge/gauge.spec.ts-snapshots/demo4-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/gauge/gauge.spec.ts-snapshots/demo5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/gauge/gauge.spec.ts-snapshots/demo5-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/gauge/gauge.spec.ts-snapshots/demo6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/gauge/gauge.spec.ts-snapshots/demo6-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/graph/graph.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect, config } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | config.waitTime = 4000 5 | await page.goto('chart-graph#graph-base') 6 | const chart = page.locator('#graph-base .hui-chart') 7 | await expect(chart).toHaveScreenshot('base.png') 8 | }) 9 | 10 | test('demo2', async ({ page }) => { 11 | await page.goto('chart-graph#graph-demo2') 12 | const chart = page.locator('#graph-demo2 .hui-chart') 13 | await expect(chart).toHaveScreenshot('demo2.png') 14 | }) 15 | -------------------------------------------------------------------------------- /tests/chart/graph/graph.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/graph/graph.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/graph/graph.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/graph/graph.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/heatmap/heatmap.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-heatmap#heatmap-base') 5 | const chart = page.locator('#heatmap-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | 9 | test('demo2', async ({ page }) => { 10 | await page.goto('chart-heatmap#heatmap-demo2') 11 | const chart = page.locator('#heatmap-demo2 .hui-chart') 12 | await expect(chart).toHaveScreenshot('demo2.png') 13 | }) 14 | 15 | test('demo3', async ({ page }) => { 16 | await page.goto('chart-heatmap#heatmap-demo3') 17 | const chart = page.locator('#heatmap-demo3 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo3.png') 19 | }) 20 | -------------------------------------------------------------------------------- /tests/chart/heatmap/heatmap.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/heatmap/heatmap.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/heatmap/heatmap.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/heatmap/heatmap.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/heatmap/heatmap.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/heatmap/heatmap.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/histogram/histogram.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/histogram/histogram.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/histogram/histogram.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/histogram/histogram.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/histogram/histogram.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/histogram/histogram.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/histogram/histogram.spec.ts-snapshots/demo4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/histogram/histogram.spec.ts-snapshots/demo4-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/histogram/histogram.spec.ts-snapshots/demo5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/histogram/histogram.spec.ts-snapshots/demo5-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/histogram/histogram.spec.ts-snapshots/demo6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/histogram/histogram.spec.ts-snapshots/demo6-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/histogram/histogram.spec.ts-snapshots/demo7-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/histogram/histogram.spec.ts-snapshots/demo7-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/histogram/histogram.spec.ts-snapshots/demo8-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/histogram/histogram.spec.ts-snapshots/demo8-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/line/line.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/line/line.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/line/line.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/line/line.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/line/line.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/line/line.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/line/line.spec.ts-snapshots/demo5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/line/line.spec.ts-snapshots/demo5-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/line/line.spec.ts-snapshots/demo6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/line/line.spec.ts-snapshots/demo6-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/line/line.spec.ts-snapshots/demo7-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/line/line.spec.ts-snapshots/demo7-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/line/line.spec.ts-snapshots/demo8-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/line/line.spec.ts-snapshots/demo8-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/line/line.spec.ts-snapshots/demo9-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/line/line.spec.ts-snapshots/demo9-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/map/map.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-map#map-base') 5 | const chart = page.locator('#map-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | -------------------------------------------------------------------------------- /tests/chart/map/map.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/map/map.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/pie/pie.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-pie#pie-base') 5 | const chart = page.locator('#pie-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | 9 | test('demo2', async ({ page }) => { 10 | await page.goto('chart-pie#pie-demo2') 11 | const chart = page.locator('#pie-demo2 .hui-chart') 12 | await expect(chart).toHaveScreenshot('demo2.png') 13 | }) 14 | 15 | test('demo3', async ({ page }) => { 16 | await page.goto('chart-pie#pie-demo3') 17 | const chart = page.locator('#pie-demo3 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo3.png') 19 | }) 20 | 21 | test('demo4', async ({ page }) => { 22 | await page.goto('chart-pie#pie-demo4') 23 | const chart = page.locator('#pie-demo4 .hui-chart') 24 | await expect(chart).toHaveScreenshot('demo4.png') 25 | }) 26 | 27 | test('demo5', async ({ page }) => { 28 | await page.goto('chart-pie#pie-demo5') 29 | const chart = page.locator('#pie-demo5 .hui-chart') 30 | await expect(chart).toHaveScreenshot('demo5.png') 31 | }) 32 | 33 | test('demo6', async ({ page }) => { 34 | await page.goto('chart-pie#pie-demo6') 35 | const chart = page.locator('#pie-demo6 .hui-chart') 36 | await expect(chart).toHaveScreenshot('demo6.png') 37 | }) 38 | 39 | test('demo7', async ({ page }) => { 40 | await page.goto('chart-pie#pie-demo7') 41 | const chart = page.locator('#pie-demo7 .hui-chart') 42 | await expect(chart).toHaveScreenshot('demo7.png') 43 | }) 44 | -------------------------------------------------------------------------------- /tests/chart/pie/pie.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/pie/pie.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/pie/pie.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/pie/pie.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/pie/pie.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/pie/pie.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/pie/pie.spec.ts-snapshots/demo4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/pie/pie.spec.ts-snapshots/demo4-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/pie/pie.spec.ts-snapshots/demo5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/pie/pie.spec.ts-snapshots/demo5-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/pie/pie.spec.ts-snapshots/demo6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/pie/pie.spec.ts-snapshots/demo6-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/pie/pie.spec.ts-snapshots/demo7-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/pie/pie.spec.ts-snapshots/demo7-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/process/process.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '@playwright/test' 2 | 3 | test('demo2', async ({ page }) => { 4 | await page.goto('chart-process#process-demo2') 5 | const chart = page.locator('#process-demo2 .hui-chart') 6 | await expect(chart).toHaveScreenshot('demo2.png') 7 | }) 8 | 9 | test('demo3', async ({ page }) => { 10 | await page.goto('chart-process#process-demo3') 11 | const chart = page.locator('#process-demo3 .hui-chart') 12 | await expect(chart).toHaveScreenshot('demo3.png') 13 | }) 14 | 15 | test('demo6', async ({ page }) => { 16 | await page.goto('chart-process#process-demo6') 17 | const chart = page.locator('#process-demo6 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo6.png') 19 | }) 20 | -------------------------------------------------------------------------------- /tests/chart/process/process.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/process/process.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/process/process.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/process/process.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/process/process.spec.ts-snapshots/demo6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/process/process.spec.ts-snapshots/demo6-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/radar/radar.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-radar#radar-base') 5 | const chart = page.locator('#radar-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | 9 | test('demo2', async ({ page }) => { 10 | await page.goto('chart-radar#radar-demo2') 11 | const chart = page.locator('#radar-demo2 .hui-chart') 12 | await expect(chart).toHaveScreenshot('demo2.png') 13 | }) 14 | 15 | test('demo3', async ({ page }) => { 16 | await page.goto('chart-radar#radar-demo3') 17 | const chart = page.locator('#radar-demo3 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo3.png') 19 | }) 20 | -------------------------------------------------------------------------------- /tests/chart/radar/radar.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/radar/radar.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/radar/radar.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/radar/radar.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/radar/radar.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/radar/radar.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/ring/ring.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect, config } from '../fixtures' 2 | 3 | config.waitTime = 5000 4 | test('base', async ({ page }) => { 5 | await page.goto('chart-ring#ring-base') 6 | await expect(page.locator('#ring-base .hui-chart')).toBeInViewport() 7 | await expect(page).toHaveScreenshot('base.png') 8 | }) 9 | 10 | test('demo2', async ({ page }) => { 11 | await page.goto('chart-ring#ring-demo2') 12 | const chart = page.locator('#ring-demo2 .hui-chart') 13 | await expect(chart).toHaveScreenshot('demo2.png') 14 | }) 15 | 16 | test('demo3', async ({ page }) => { 17 | await page.goto('chart-ring#ring-demo3') 18 | const chart = page.locator('#ring-demo3 .hui-chart') 19 | await expect(chart).toHaveScreenshot('demo3.png') 20 | }) 21 | 22 | test('demo4', async ({ page }) => { 23 | await page.goto('chart-ring#ring-demo4') 24 | const chart = page.locator('#ring-demo4 .hui-chart') 25 | await expect(chart).toBeVisible() 26 | await expect(chart).toHaveScreenshot('demo4.png') 27 | }) 28 | 29 | test('demo5', async ({ page }) => { 30 | config.waitTime = 5000 31 | await page.goto('chart-ring#ring-demo5') 32 | const chart = page.locator('#ring-demo5 .hui-chart') 33 | await expect(chart).toHaveScreenshot('demo5.png') 34 | }) 35 | 36 | test('demo6', async ({ page }) => { 37 | await page.goto('chart-ring#ring-demo6') 38 | const chart = page.locator('#ring-demo6 .hui-chart') 39 | await expect(chart).toHaveScreenshot('demo6.png') 40 | }) 41 | 42 | test('ring-title', async ({ page }) => { 43 | await page.goto('chart-ring#ring-ring-title') 44 | const chart = page.locator('#ring-ring-title .hui-chart') 45 | await expect(chart).toBeVisible() 46 | await expect(chart).toHaveScreenshot('ring-title.png') 47 | }) 48 | -------------------------------------------------------------------------------- /tests/chart/ring/ring.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/ring/ring.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/ring/ring.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/ring/ring.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/ring/ring.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/ring/ring.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/ring/ring.spec.ts-snapshots/demo4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/ring/ring.spec.ts-snapshots/demo4-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/ring/ring.spec.ts-snapshots/demo5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/ring/ring.spec.ts-snapshots/demo5-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/ring/ring.spec.ts-snapshots/demo6-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/ring/ring.spec.ts-snapshots/demo6-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/ring/ring.spec.ts-snapshots/ring-title-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/ring/ring.spec.ts-snapshots/ring-title-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/sankey/sankey.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect, config } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | config.waitTime = 5000 5 | await page.goto('chart-sankey#sankey-base') 6 | await expect(page.locator('#sankey-base .hui-chart')).toBeInViewport() 7 | await expect(page).toHaveScreenshot('base.png') 8 | }) 9 | 10 | test('demo2', async ({ page }) => { 11 | config.waitTime = 3000 12 | await page.goto('chart-sankey#sankey-demo2') 13 | await expect(page.locator('#sankey-demo2 .hui-chart')).toBeInViewport() 14 | await expect(page).toHaveScreenshot('demo2.png') 15 | }) 16 | -------------------------------------------------------------------------------- /tests/chart/sankey/sankey.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/sankey/sankey.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/sankey/sankey.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/sankey/sankey.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/scatter/scatter.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-scatter#scatter-base') 5 | const chart = page.locator('#scatter-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | 9 | test('demo2', async ({ page }) => { 10 | await page.goto('chart-scatter#scatter-demo2') 11 | const chart = page.locator('#scatter-demo2 .hui-chart') 12 | await expect(chart).toHaveScreenshot('demo2.png') 13 | }) 14 | 15 | test('demo3', async ({ page }) => { 16 | await page.goto('chart-scatter#scatter-demo3') 17 | const chart = page.locator('#scatter-demo3 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo3.png') 19 | }) 20 | -------------------------------------------------------------------------------- /tests/chart/scatter/scatter.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/scatter/scatter.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/scatter/scatter.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/scatter/scatter.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/scatter/scatter.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/scatter/scatter.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/sunburst/sunburst.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-sunburst#sunburst-base') 5 | const chart = page.locator('#sunburst-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | 9 | test('demo2', async ({ page }) => { 10 | await page.goto('chart-sunburst#sunburst-demo2') 11 | const chart = page.locator('#sunburst-demo2 .hui-chart') 12 | await expect(chart).toHaveScreenshot('demo2.png') 13 | }) 14 | 15 | test('demo3', async ({ page }) => { 16 | await page.goto('chart-sunburst#sunburst-demo3') 17 | const chart = page.locator('#sunburst-demo3 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo3.png') 19 | }) 20 | -------------------------------------------------------------------------------- /tests/chart/sunburst/sunburst.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/sunburst/sunburst.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/sunburst/sunburst.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/sunburst/sunburst.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/sunburst/sunburst.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/sunburst/sunburst.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/tree/tree.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-tree#tree-base') 5 | const chart = page.locator('#tree-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | 9 | test('demo2', async ({ page }) => { 10 | await page.goto('chart-tree#tree-demo2') 11 | const chart = page.locator('#tree-demo2 .hui-chart') 12 | await expect(chart).toHaveScreenshot('demo2.png') 13 | }) 14 | 15 | test('demo3', async ({ page }) => { 16 | await page.goto('chart-tree#tree-demo3') 17 | const chart = page.locator('#tree-demo3 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo3.png') 19 | }) 20 | 21 | test('demo4', async ({ page }) => { 22 | await page.goto('chart-tree#tree-demo4') 23 | const chart = page.locator('#tree-demo4 .hui-chart') 24 | await expect(chart).toHaveScreenshot('demo4.png') 25 | }) 26 | 27 | test('demo5', async ({ page }) => { 28 | await page.goto('chart-tree#tree-demo5') 29 | const chart = page.locator('#tree-demo5 .hui-chart').first() 30 | await expect(chart).toHaveScreenshot('demo5.png') 31 | }) 32 | -------------------------------------------------------------------------------- /tests/chart/tree/tree.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/tree/tree.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/tree/tree.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/tree/tree.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/tree/tree.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/tree/tree.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/tree/tree.spec.ts-snapshots/demo4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/tree/tree.spec.ts-snapshots/demo4-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/tree/tree.spec.ts-snapshots/demo5-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/tree/tree.spec.ts-snapshots/demo5-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/waterfall/waterfall.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-waterfall#waterfall-base') 5 | const chart = page.locator('#waterfall-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | 9 | test('demo2', async ({ page }) => { 10 | await page.goto('chart-waterfall#waterfall-demo2') 11 | const chart = page.locator('#waterfall-demo2 .hui-chart') 12 | await expect(chart).toHaveScreenshot('demo2.png') 13 | }) 14 | 15 | test('demo3', async ({ page }) => { 16 | await page.goto('chart-waterfall#waterfall-demo3') 17 | const chart = page.locator('#waterfall-demo3 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo3.png') 19 | }) 20 | 21 | test('demo4', async ({ page }) => { 22 | await page.goto('chart-waterfall#waterfall-demo4') 23 | const chart = page.locator('#waterfall-demo4 .hui-chart') 24 | await expect(chart).toHaveScreenshot('demo4.png') 25 | }) 26 | -------------------------------------------------------------------------------- /tests/chart/waterfall/waterfall.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/waterfall/waterfall.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/waterfall/waterfall.spec.ts-snapshots/demo2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/waterfall/waterfall.spec.ts-snapshots/demo2-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/waterfall/waterfall.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/waterfall/waterfall.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/waterfall/waterfall.spec.ts-snapshots/demo4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/waterfall/waterfall.spec.ts-snapshots/demo4-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/wordcloud/wordcloud.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from '../fixtures' 2 | 3 | test('base', async ({ page }) => { 4 | await page.goto('chart-wordcloud#wordcloud-base') 5 | const chart = page.locator('#wordcloud-base .hui-chart') 6 | await expect(chart).toHaveScreenshot('base.png') 7 | }) 8 | 9 | // test('demo2', async ({ page }) => { 10 | // await page.goto('chart-wordcloud#wordcloud-demo2') 11 | // const chart = page.locator('#wordcloud-demo2 .hui-chart') 12 | // await expect(chart).toHaveScreenshot('demo2.png') 13 | // }) 14 | 15 | test('demo3', async ({ page }) => { 16 | await page.goto('chart-wordcloud#wordcloud-demo3') 17 | const chart = page.locator('#wordcloud-demo3 .hui-chart') 18 | await expect(chart).toHaveScreenshot('demo3.png') 19 | }) 20 | 21 | test('demo4', async ({ page }) => { 22 | await page.goto('chart-wordcloud#wordcloud-demo4') 23 | const chart = page.locator('#wordcloud-demo4 .hui-chart') 24 | await expect(chart).toHaveScreenshot('demo4.png') 25 | }) 26 | -------------------------------------------------------------------------------- /tests/chart/wordcloud/wordcloud.spec.ts-snapshots/base-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/wordcloud/wordcloud.spec.ts-snapshots/base-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/wordcloud/wordcloud.spec.ts-snapshots/demo3-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/wordcloud/wordcloud.spec.ts-snapshots/demo3-chromium-win32.png -------------------------------------------------------------------------------- /tests/chart/wordcloud/wordcloud.spec.ts-snapshots/demo4-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/chart/wordcloud/wordcloud.spec.ts-snapshots/demo4-chromium-win32.png -------------------------------------------------------------------------------- /tests/checkbox/xdesign.spec.ts-snapshots/button-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/checkbox/xdesign.spec.ts-snapshots/button-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/checkbox/xdesign.spec.ts-snapshots/checkbox-button-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/checkbox/xdesign.spec.ts-snapshots/checkbox-button-chromium-win32.png -------------------------------------------------------------------------------- /tests/checkbox/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/checkbox/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/checkbox/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/checkbox/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/checkbox/xdesign.spec.ts-snapshots/indeterminate-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/checkbox/xdesign.spec.ts-snapshots/indeterminate-chromium-win32.png -------------------------------------------------------------------------------- /tests/checkbox/xdesign.spec.ts-snapshots/multiple-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/checkbox/xdesign.spec.ts-snapshots/multiple-chromium-win32.png -------------------------------------------------------------------------------- /tests/checkbox/xdesign.spec.ts-snapshots/vertical-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/checkbox/xdesign.spec.ts-snapshots/vertical-chromium-win32.png -------------------------------------------------------------------------------- /tests/collapse/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('collapse折叠面板xdesign规范', () => { 4 | test('基本用法--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('collapse#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | }) 11 | 12 | test('禁用--UI截图', async ({ page }) => { 13 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 14 | await page.goto('collapse#disable') 15 | const demo = page.locator('#disable .pc-demo') 16 | await expect(demo).toBeInViewport() 17 | await expect(demo).toHaveScreenshot('disabled.png') 18 | }) 19 | 20 | test('面板标题--UI截图', async ({ page }) => { 21 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 22 | await page.goto('collapse#title') 23 | const demo = page.locator('#title .pc-demo') 24 | await expect(demo).toBeInViewport() 25 | await expect(demo).toHaveScreenshot('title.png') 26 | }) 27 | }) 28 | -------------------------------------------------------------------------------- /tests/collapse/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/collapse/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/collapse/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/collapse/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/collapse/xdesign.spec.ts-snapshots/title-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/collapse/xdesign.spec.ts-snapshots/title-chromium-win32.png -------------------------------------------------------------------------------- /tests/container/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('container组件xdesign规范', () => { 4 | test('基础用法--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('container#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | }) 11 | 12 | test('自定义宽高--UI截图', async ({ page }) => { 13 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 14 | await page.goto('container#custom-with-height') 15 | const demo = page.locator('#custom-with-height .pc-demo') 16 | await expect(demo).toBeInViewport() 17 | await expect(demo).toHaveScreenshot('custom-with-height.png') 18 | }) 19 | }) 20 | -------------------------------------------------------------------------------- /tests/container/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/container/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/container/xdesign.spec.ts-snapshots/custom-with-height-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/container/xdesign.spec.ts-snapshots/custom-with-height-chromium-win32.png -------------------------------------------------------------------------------- /tests/dialog-box/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/dialog-box/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/dialog-box/xdesign.spec.ts-snapshots/center-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/dialog-box/xdesign.spec.ts-snapshots/center-chromium-win32.png -------------------------------------------------------------------------------- /tests/dialog-box/xdesign.spec.ts-snapshots/open-close-events-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/dialog-box/xdesign.spec.ts-snapshots/open-close-events-chromium-win32.png -------------------------------------------------------------------------------- /tests/dialog-box/xdesign.spec.ts-snapshots/right-dialog-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/dialog-box/xdesign.spec.ts-snapshots/right-dialog-chromium-win32.png -------------------------------------------------------------------------------- /tests/divider/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('divider组件xdesign规范', () => { 4 | test('基本用法--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('divider#basic-usage') 7 | const demo = page.locator('#basic-usage') 8 | const body = demo.locator('.pc-demo') 9 | await expect(body).toBeInViewport() 10 | await expect(body).toHaveScreenshot('basic-usage.png') 11 | }) 12 | test('垂直分割线--UI截图', async ({ page }) => { 13 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 14 | await page.goto('divider#direction') 15 | const demo = page.locator('#direction') 16 | const body = demo.locator('.pc-demo') 17 | await expect(body).toBeInViewport() 18 | await expect(body).toHaveScreenshot('direction.png') 19 | }) 20 | test('分割线文案位置--UI截图', async ({ page }) => { 21 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 22 | await page.goto('divider#content-position') 23 | const demo = page.locator('#content-position') 24 | const body = demo.locator('.pc-demo') 25 | await expect(body).toBeInViewport() 26 | await expect(body).toHaveScreenshot('content-position.png') 27 | }) 28 | test('自定义颜色--UI截图', async ({ page }) => { 29 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 30 | await page.goto('divider#custom-style') 31 | const demo = page.locator('#custom-style') 32 | const body = demo.locator('.pc-demo') 33 | await expect(body).toBeInViewport() 34 | await expect(body).toHaveScreenshot('custom-style.png') 35 | }) 36 | }) 37 | -------------------------------------------------------------------------------- /tests/divider/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/divider/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/divider/xdesign.spec.ts-snapshots/content-position-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/divider/xdesign.spec.ts-snapshots/content-position-chromium-win32.png -------------------------------------------------------------------------------- /tests/divider/xdesign.spec.ts-snapshots/custom-style-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/divider/xdesign.spec.ts-snapshots/custom-style-chromium-win32.png -------------------------------------------------------------------------------- /tests/divider/xdesign.spec.ts-snapshots/direction-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/divider/xdesign.spec.ts-snapshots/direction-chromium-win32.png -------------------------------------------------------------------------------- /tests/drawer/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('drawer组件xdesign规范', () => { 4 | test('基本用法--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('drawer#basic-usage') 7 | const demo = page.locator('#basic-usage') 8 | await demo.getByRole('button', { name: '抽屉组件' }).click() 9 | const body = demo.locator('.tiny-drawer__box') 10 | await expect(body).toBeInViewport() 11 | await expect(body).toHaveScreenshot('basic-usage.png') 12 | }) 13 | 14 | test('帮助提示--UI截图', async ({ page }) => { 15 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 16 | await page.goto('drawer#tips-props') 17 | const demo = page.locator('#tips-props') 18 | await demo.getByRole('button', { name: '展开抽屉' }).click() 19 | const body = demo.locator('.tiny-drawer__box') 20 | await expect(body).toBeInViewport() 21 | await expect(body).toHaveScreenshot('tips-props.png') 22 | }) 23 | 24 | test('底部插槽--UI截图', async ({ page }) => { 25 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 26 | await page.goto('drawer#footer-slot') 27 | const demo = page.locator('#footer-slot') 28 | await demo.getByRole('button', { name: '底部插槽示例' }).click() 29 | const body = demo.locator('.tiny-drawer__box') 30 | await expect(body).toBeInViewport() 31 | await expect(body).toHaveScreenshot('footer-slot.png') 32 | }) 33 | 34 | }) 35 | -------------------------------------------------------------------------------- /tests/drawer/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/drawer/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/drawer/xdesign.spec.ts-snapshots/footer-slot-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/drawer/xdesign.spec.ts-snapshots/footer-slot-chromium-win32.png -------------------------------------------------------------------------------- /tests/drawer/xdesign.spec.ts-snapshots/tips-props-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/drawer/xdesign.spec.ts-snapshots/tips-props-chromium-win32.png -------------------------------------------------------------------------------- /tests/drop-times/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('drop-times组件xdesign规范', () => { 4 | test('默认--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('drop-times#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | const bigPic = page.locator('#doc-layout div').filter({ hasText: '示例API基本用法详细用法参考如下示例当前选中值:drop' }).nth(2) 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('basic-usage.png') 11 | 12 | // hover时截图 13 | const input = demo.getByRole('textbox', { name: '请选择' }) 14 | await input.hover() 15 | await expect(demo).toBeInViewport() 16 | await expect(demo).toHaveScreenshot('hover.png') 17 | 18 | // 聚焦时截图 19 | await input.click() 20 | await expect(bigPic).toBeInViewport() 21 | await expect(bigPic).toHaveScreenshot('click.png') 22 | 23 | // 聚焦时截图 24 | const select = page.getByText('00:30') 25 | await select.hover() 26 | await expect(bigPic).toBeInViewport() 27 | await expect(bigPic).toHaveScreenshot('focus-hover.png') 28 | 29 | // 选中后截图 30 | await select.click() 31 | await expect(demo).toBeInViewport() 32 | await expect(demo).toHaveScreenshot('select.png') 33 | }) 34 | }) 35 | -------------------------------------------------------------------------------- /tests/drop-times/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/drop-times/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/drop-times/xdesign.spec.ts-snapshots/click-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/drop-times/xdesign.spec.ts-snapshots/click-chromium-win32.png -------------------------------------------------------------------------------- /tests/drop-times/xdesign.spec.ts-snapshots/focus-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/drop-times/xdesign.spec.ts-snapshots/focus-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/drop-times/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/drop-times/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/drop-times/xdesign.spec.ts-snapshots/select-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/drop-times/xdesign.spec.ts-snapshots/select-chromium-win32.png -------------------------------------------------------------------------------- /tests/file-upload/xdesign.spec.ts-snapshots/custom-tip-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/file-upload/xdesign.spec.ts-snapshots/custom-tip-chromium-win32.png -------------------------------------------------------------------------------- /tests/file-upload/xdesign.spec.ts-snapshots/custom-tip-test1-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/file-upload/xdesign.spec.ts-snapshots/custom-tip-test1-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/file-upload/xdesign.spec.ts-snapshots/custom-tip-test2-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/file-upload/xdesign.spec.ts-snapshots/custom-tip-test2-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/file-upload/xdesign.spec.ts-snapshots/form-validation-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/file-upload/xdesign.spec.ts-snapshots/form-validation-chromium-win32.png -------------------------------------------------------------------------------- /tests/file-upload/xdesign.spec.ts-snapshots/form-validation-click-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/file-upload/xdesign.spec.ts-snapshots/form-validation-click-chromium-win32.png -------------------------------------------------------------------------------- /tests/file-upload/xdesign.spec.ts-snapshots/picture-card-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/file-upload/xdesign.spec.ts-snapshots/picture-card-chromium-win32.png -------------------------------------------------------------------------------- /tests/file-upload/xdesign.spec.ts-snapshots/picture-card-fail-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/file-upload/xdesign.spec.ts-snapshots/picture-card-fail-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/file-upload/xdesign.spec.ts-snapshots/picture-card-success-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/file-upload/xdesign.spec.ts-snapshots/picture-card-success-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/file-upload/xdesign.spec.ts-snapshots/picture-card-success-preview-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/file-upload/xdesign.spec.ts-snapshots/picture-card-success-preview-chromium-win32.png -------------------------------------------------------------------------------- /tests/filter-panel/xdesign.spec.ts-snapshots/code-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/filter-panel/xdesign.spec.ts-snapshots/code-chromium-win32.png -------------------------------------------------------------------------------- /tests/filter-panel/xdesign.spec.ts-snapshots/code-expand-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/filter-panel/xdesign.spec.ts-snapshots/code-expand-chromium-win32.png -------------------------------------------------------------------------------- /tests/filter-panel/xdesign.spec.ts-snapshots/code-expand-popover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/filter-panel/xdesign.spec.ts-snapshots/code-expand-popover-chromium-win32.png -------------------------------------------------------------------------------- /tests/filter-panel/xdesign.spec.ts-snapshots/code-expand-tag-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/filter-panel/xdesign.spec.ts-snapshots/code-expand-tag-chromium-win32.png -------------------------------------------------------------------------------- /tests/filter-panel/xdesign.spec.ts-snapshots/tip-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/filter-panel/xdesign.spec.ts-snapshots/tip-chromium-win32.png -------------------------------------------------------------------------------- /tests/filter-panel/xdesign.spec.ts-snapshots/tip-expand-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/filter-panel/xdesign.spec.ts-snapshots/tip-expand-chromium-win32.png -------------------------------------------------------------------------------- /tests/filter-panel/xdesign.spec.ts-snapshots/tip-expand-popover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/filter-panel/xdesign.spec.ts-snapshots/tip-expand-popover-chromium-win32.png -------------------------------------------------------------------------------- /tests/filter-panel/xdesign.spec.ts-snapshots/tip-expand-tag-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/filter-panel/xdesign.spec.ts-snapshots/tip-expand-tag-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/display-only-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/display-only-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/extra-tip-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/extra-tip-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/inline-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/inline-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/medium-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/medium-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/mini-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/mini-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/small-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/small-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/text-validate-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/text-validate-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/tip-validate-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/tip-validate-chromium-win32.png -------------------------------------------------------------------------------- /tests/form/xdesign.spec.ts-snapshots/top-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/form/xdesign.spec.ts-snapshots/top-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/align.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件表格对齐xdesign规范', () => { 4 | test('表头对齐--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-align#align-header-align') 7 | const demo = page.locator('#align-header-align .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('header-align.png') 11 | }) 12 | 13 | test('表尾对齐--UI截图', async ({ page }) => { 14 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 15 | await page.goto('grid-align#align-footer-align') 16 | const demo = page.locator('#align-footer-align .pc-demo') 17 | 18 | await expect(demo).toBeInViewport() 19 | await expect(demo).toHaveScreenshot('footer-align.png') 20 | }) 21 | 22 | test('表格对齐--UI截图', async ({ page }) => { 23 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 24 | await page.goto('grid-align#align-grid-align') 25 | const demo = page.locator('#align-grid-align .pc-demo') 26 | 27 | await expect(demo).toBeInViewport() 28 | await expect(demo).toHaveScreenshot('grid-align.png') 29 | }) 30 | 31 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/align.spec.ts-snapshots/footer-align-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/align.spec.ts-snapshots/footer-align-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/align.spec.ts-snapshots/grid-align-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/align.spec.ts-snapshots/grid-align-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/align.spec.ts-snapshots/header-align-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/align.spec.ts-snapshots/header-align-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/appearance.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件外观设置xdesign规范', () => { 4 | test('边框--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-appearance-settings#appearance-settings-grid-border') 7 | const demo = page.locator('#appearance-settings-grid-border .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('border.png') 11 | 12 | // 带边框的hover 13 | const firstRow = demo.locator('.tiny-grid-body__row').first() 14 | await firstRow.hover() 15 | await expect(demo).toHaveScreenshot('border-hover.png') 16 | }) 17 | 18 | test('斑马纹--UI截图', async ({ page }) => { 19 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 20 | await page.goto('grid-appearance-settings#appearance-settings-stripe') 21 | const demo = page.locator('#appearance-settings-stripe .pc-demo') 22 | 23 | await expect(demo).toBeInViewport() 24 | await expect(demo).toHaveScreenshot('stripe.png') 25 | 26 | // 斑马纹的hover 27 | const secondRow = demo.locator('.tiny-grid-body__row').nth(1) 28 | await secondRow.hover() 29 | await expect(demo).toHaveScreenshot('stripe-hover.png') 30 | // 斑马纹选中 31 | await secondRow.locator('.tiny-grid-checkbox__icon').click() 32 | await expect(demo).toHaveScreenshot('stripe-select.png') 33 | }) 34 | 35 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/appearance.spec.ts-snapshots/border-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/appearance.spec.ts-snapshots/border-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/appearance.spec.ts-snapshots/border-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/appearance.spec.ts-snapshots/border-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/appearance.spec.ts-snapshots/stripe-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/appearance.spec.ts-snapshots/stripe-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/appearance.spec.ts-snapshots/stripe-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/appearance.spec.ts-snapshots/stripe-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/appearance.spec.ts-snapshots/stripe-select-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/appearance.spec.ts-snapshots/stripe-select-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/edit.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件编辑xdesign规范', () => { 4 | test('编辑--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-editor#editor-inner-editor') 7 | const demo = page.locator('#editor-inner-editor .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('edit.png') 11 | 12 | // 编辑态 13 | const firstRow = demo.locator('.tiny-grid-body__row').first() 14 | await firstRow.locator('.tiny-grid-cell').filter({ hasText: 'GFD科技YX公司' }).click() 15 | await expect(demo).toHaveScreenshot('edit-active.png') 16 | }) 17 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/edit.spec.ts-snapshots/edit-active-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/edit.spec.ts-snapshots/edit-active-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/edit.spec.ts-snapshots/edit-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/edit.spec.ts-snapshots/edit-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/empty.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件空数据xdesign规范', () => { 4 | test('空数据--UI截图', async ({ page }) => { 5 | 6 | await page.goto('grid-empty#empty-empty-data-default-tip') 7 | const demo = page.locator('#empty-empty-data-default-tip .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('empty.png') 11 | }) 12 | 13 | test('空数据居中--UI截图', async ({ page }) => { 14 | 15 | await page.goto('grid-empty#empty-empty-data-iscenter') 16 | const demo = page.locator('#empty-empty-data-iscenter .pc-demo') 17 | 18 | await expect(demo).toBeInViewport() 19 | await expect(demo).toHaveScreenshot('center-empty.png') 20 | 21 | }) 22 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/empty.spec.ts-snapshots/center-empty-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/empty.spec.ts-snapshots/center-empty-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/empty.spec.ts-snapshots/empty-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/empty.spec.ts-snapshots/empty-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/expand.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件展开行xdesign规范', () => { 4 | test('展开行--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-expand#expand-has-row-expand') 7 | const demo = page.locator('#expand-has-row-expand .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('expand.png') 11 | 12 | // 展开态 13 | const firstRow = demo.locator('.tiny-grid-body__row').first() 14 | await firstRow.locator('.tiny-grid__expanded').click() 15 | await expect(demo).toHaveScreenshot('expand-active.png') 16 | }) 17 | 18 | test('嵌套表格--UI截图', async ({ page }) => { 19 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 20 | await page.goto('grid-expand#expand-nested-grid') 21 | const demo = page.locator('#expand-nested-grid .pc-demo') 22 | 23 | await expect(demo).toBeInViewport() 24 | 25 | // 展开态 26 | const firstRow = demo.locator('.tiny-grid-body__row').first() 27 | await firstRow.locator('.tiny-grid__expanded').click() 28 | await expect(demo).toHaveScreenshot('nest-grid.png') 29 | }) 30 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/expand.spec.ts-snapshots/expand-active-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/expand.spec.ts-snapshots/expand-active-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/expand.spec.ts-snapshots/expand-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/expand.spec.ts-snapshots/expand-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/expand.spec.ts-snapshots/nest-grid-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/expand.spec.ts-snapshots/nest-grid-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/filter.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件过滤xdesign规范', () => { 4 | test('过滤--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-filter#filter-default-filter') 7 | const demo = page.locator('#filter-default-filter .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('filter.png') 11 | 12 | // 编辑态 13 | const header = demo.locator('.tiny-grid-header__row').first() 14 | await header.locator('.tiny-grid-cell').filter({ hasText: '城市' }).locator('.tiny-grid-filter-wrapper').click() 15 | await page.locator('.tiny-grid__filter-option').filter({ hasText: '中山' }).locator('svg').click() 16 | await expect(demo).toHaveScreenshot('filter-active.png') 17 | }) 18 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/filter.spec.ts-snapshots/filter-active-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/filter.spec.ts-snapshots/filter-active-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/filter.spec.ts-snapshots/filter-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/filter.spec.ts-snapshots/filter-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/fixed.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件冻结xdesign规范', () => { 4 | test('左冻结--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-fixed#fixed-left-fixed') 7 | const demo = page.locator('#fixed-left-fixed .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | 11 | // 滚动到右边 12 | const firstRow = demo.locator('.tiny-grid-body__row').first() 13 | await firstRow.click() 14 | await page.mouse.wheel(2000, 0) 15 | await expect(demo).toHaveScreenshot('left-fixed.png') 16 | }) 17 | 18 | test('右冻结--UI截图', async ({ page }) => { 19 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 20 | await page.goto('grid-fixed#fixed-right-fixed') 21 | const demo = page.locator('#fixed-right-fixed .pc-demo') 22 | 23 | await expect(demo).toBeInViewport() 24 | await expect(demo).toHaveScreenshot('right-fixed.png') 25 | }) 26 | 27 | test('分组表头冻结--UI截图', async ({ page }) => { 28 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 29 | await page.goto('grid-fixed#group-header-fixed') 30 | const demo = page.locator('#group-header-fixed .pc-demo') 31 | 32 | await expect(demo).toBeInViewport() 33 | await expect(demo).toHaveScreenshot('group-fixed.png') 34 | }) 35 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/fixed.spec.ts-snapshots/group-fixed-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/fixed.spec.ts-snapshots/group-fixed-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/fixed.spec.ts-snapshots/left-fixed-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/fixed.spec.ts-snapshots/left-fixed-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/fixed.spec.ts-snapshots/right-fixed-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/fixed.spec.ts-snapshots/right-fixed-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/loading.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件加载中xdesign规范', () => { 4 | test('加载中--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-loading#loading-grid-loading-tip') 7 | const demo = page.locator('#loading-grid-loading-tip .pc-demo') 8 | 9 | await expect(demo).toHaveScreenshot('loading.png') 10 | }) 11 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/loading.spec.ts-snapshots/loading-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/loading.spec.ts-snapshots/loading-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/pager.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件分页xdesign规范', () => { 4 | test('分页--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-pager#pager-inner-default-pager') 7 | const demo = page.locator('#pager-inner-default-pager .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('pager.png') 11 | 12 | }) 13 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/pager.spec.ts-snapshots/pager-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/pager.spec.ts-snapshots/pager-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/select-row.spec.ts-snapshots/all-selection-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/select-row.spec.ts-snapshots/all-selection-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/select-row.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/select-row.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/select-row.spec.ts-snapshots/radio-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/select-row.spec.ts-snapshots/radio-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/select-row.spec.ts-snapshots/radio-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/select-row.spec.ts-snapshots/radio-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/select-row.spec.ts-snapshots/row-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/select-row.spec.ts-snapshots/row-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/select-row.spec.ts-snapshots/selection-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/select-row.spec.ts-snapshots/selection-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/size.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件尺寸xdesign规范', () => { 4 | test('尺寸--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-size#size-grid-size') 7 | const demo = page.locator('#size-grid-size .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | await demo.locator('.tiny-tabs__item__title').filter({ hasText: 'mini' }).click() 11 | 12 | const miniGrid = demo.locator('.tiny-grid__wrapper.size__mini') 13 | await expect(miniGrid).toHaveScreenshot('mini.png') 14 | }) 15 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/size.spec.ts-snapshots/mini-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/size.spec.ts-snapshots/mini-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/sort.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件排序xdesign规范', () => { 4 | test('排序--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-sort#sort-default-sort') 7 | const demo = page.locator('#sort-default-sort .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('sort.png') 11 | 12 | // 编辑态 13 | const header = demo.locator('.tiny-grid-header__row').first() 14 | await header.locator('.tiny-grid-cell').filter({ hasText: '员工数排序点击表头排序,可以通过配置 trigger 设置触发源' }).locator('svg').click() 15 | await expect(demo).toHaveScreenshot('sort-active.png') 16 | }) 17 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/sort.spec.ts-snapshots/sort-active-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/sort.spec.ts-snapshots/sort-active-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/sort.spec.ts-snapshots/sort-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/sort.spec.ts-snapshots/sort-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/toolbar.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件工具栏xdesign规范', () => { 4 | test('工具栏--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-toolbar#toolbar-insert-delete-update') 7 | const demo = page.locator('#toolbar-insert-delete-update .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('toolbar.png') 11 | }) 12 | 13 | test('大工具栏--UI截图', async ({ page }) => { 14 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 15 | await page.goto('grid-toolbar#toolbar-copy-row-data') 16 | const demo = page.locator('#toolbar-copy-row-data .pc-demo') 17 | 18 | await expect(demo).toBeInViewport() 19 | await expect(demo).toHaveScreenshot('large.png') 20 | }) 21 | 22 | test('两行工具栏--UI截图', async ({ page }) => { 23 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 24 | await page.goto('grid-toolbar#toolbar-custom-toolbar') 25 | const demo = page.locator('#toolbar-custom-toolbar .pc-demo') 26 | 27 | await expect(demo).toBeInViewport() 28 | await expect(demo).toHaveScreenshot('two-row.png') 29 | }) 30 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/toolbar.spec.ts-snapshots/large-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/toolbar.spec.ts-snapshots/large-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/toolbar.spec.ts-snapshots/toolbar-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/toolbar.spec.ts-snapshots/toolbar-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/toolbar.spec.ts-snapshots/two-row-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/toolbar.spec.ts-snapshots/two-row-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/tree.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件树表xdesign规范', () => { 4 | test('树表--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-tree-table#tree-table-set-tree-expansion') 7 | const demo = page.locator('#tree-table-set-tree-expansion .pc-demo') 8 | const grid = demo.locator('.tiny-grid.tiny-grid__wrapper') 9 | 10 | await page.setViewportSize({ 11 | width: 1400, 12 | height: 1200 13 | }) 14 | 15 | await expect(grid).toBeInViewport() 16 | await expect(grid).toHaveScreenshot('tree.png') 17 | 18 | // 展开态 19 | await demo.locator('button').filter({ hasText: '展开所有树节点' }).click() 20 | await expect(grid).toHaveScreenshot('tree-expand.png') 21 | }) 22 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/tree.spec.ts-snapshots/tree-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/tree.spec.ts-snapshots/tree-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/tree.spec.ts-snapshots/tree-expand-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/tree.spec.ts-snapshots/tree-expand-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/validate.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('grid 组件校验xdesign规范', () => { 4 | test('气泡提示校验--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('grid-validation#validation-editing-validation') 7 | const demo = page.locator('#validation-editing-validation .pc-demo') 8 | 9 | await expect(demo).toBeInViewport() 10 | const second = demo.locator('.tiny-grid-body__row').nth(1) 11 | await second.locator('.tiny-grid-cell').filter({ hasText: 'WWW科技YX公司' }).click() 12 | await second.locator('input').fill('') 13 | await expect(demo).toHaveScreenshot('validate.png') 14 | }) 15 | 16 | test('行内提示校验--UI截图', async ({ page }) => { 17 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 18 | await page.goto('grid-validation#valid-config') 19 | const demo = page.locator('#valid-config .pc-demo') 20 | 21 | await expect(demo).toBeInViewport() 22 | // 编辑态 23 | const firstRow = demo.locator('.tiny-grid-body__row').first() 24 | await firstRow.locator('td').nth(3).click() 25 | await expect(demo).toHaveScreenshot('inline-validate.png') 26 | }) 27 | }) -------------------------------------------------------------------------------- /tests/grid/xdesign/validate.spec.ts-snapshots/inline-validate-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/validate.spec.ts-snapshots/inline-validate-chromium-win32.png -------------------------------------------------------------------------------- /tests/grid/xdesign/validate.spec.ts-snapshots/validate-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/grid/xdesign/validate.spec.ts-snapshots/validate-chromium-win32.png -------------------------------------------------------------------------------- /tests/guide/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('guide组件xdesign规范', () => { 4 | test('默认--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('guide#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await demo.getByRole('button', { name: '开始引导' }).click() 9 | const guide = page.locator('.tiny-guide.shepherd-element') 10 | await expect(guide).toBeInViewport() 11 | await expect(guide).toHaveScreenshot('basic-usage.png') 12 | 13 | // 关闭按钮hover状态 14 | const closeIcon = guide.locator('.shepherd-cancel-icon span') 15 | await closeIcon.hover() 16 | await expect(guide).toBeInViewport() 17 | await expect(guide).toHaveScreenshot('hover-icon.png') 18 | 19 | // 下一步按钮hover状态 20 | const nextBtn = guide.getByRole('button', { name: '下一步' }) 21 | await nextBtn.hover() 22 | await expect(guide).toBeInViewport() 23 | await expect(guide).toHaveScreenshot('hover-btn.png') 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /tests/guide/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/guide/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/guide/xdesign.spec.ts-snapshots/hover-btn-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/guide/xdesign.spec.ts-snapshots/hover-btn-chromium-win32.png -------------------------------------------------------------------------------- /tests/guide/xdesign.spec.ts-snapshots/hover-icon-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/guide/xdesign.spec.ts-snapshots/hover-icon-chromium-win32.png -------------------------------------------------------------------------------- /tests/hrapprover/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('hrapprover组件xdesign规范', () => { 4 | test('自定义服务--UI截图', async ({ page }) => { 5 | // 受服务影响,控制台有报错,运行时可注释异常捕获 6 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 7 | await page.goto('hrapprover#custom-service') 8 | const demo = page.locator('#custom-service .pc-demo') 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('custom-service.png') 11 | 12 | const prover = page.getByLabel('示例', { exact: true }).getByRole('img') 13 | await prover.click() 14 | await expect(demo).toBeInViewport() 15 | await expect(demo).toHaveScreenshot('custom.png') 16 | }) 17 | }) 18 | -------------------------------------------------------------------------------- /tests/hrapprover/xdesign.spec.ts-snapshots/custom-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/hrapprover/xdesign.spec.ts-snapshots/custom-chromium-win32.png -------------------------------------------------------------------------------- /tests/hrapprover/xdesign.spec.ts-snapshots/custom-service-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/hrapprover/xdesign.spec.ts-snapshots/custom-service-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/clearable-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/clearable-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/clearable-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/clearable-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/counter-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/counter-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/focus-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/focus-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/input-icon-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/input-icon-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/password-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/password-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/textarea-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/textarea-chromium-win32.png -------------------------------------------------------------------------------- /tests/input/xdesign.spec.ts-snapshots/textarea-scroll-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/input/xdesign.spec.ts-snapshots/textarea-scroll-chromium-win32.png -------------------------------------------------------------------------------- /tests/ip-address/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('IpAddress组件xdesign规范', () => { 4 | test('默认--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('ip-address#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | 11 | // hover时截图 12 | const ipInput = demo.locator('.tiny-ip-address__input').first() 13 | await ipInput.hover() 14 | await expect(demo).toBeInViewport() 15 | await expect(demo).toHaveScreenshot('hover.png') 16 | }) 17 | 18 | test('禁用--UI截图', async ({ page }) => { 19 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 20 | await page.goto('ip-address#disabled') 21 | const demo = page.locator('#disabled .pc-demo') 22 | 23 | await expect(demo).toBeInViewport() 24 | await expect(demo).toHaveScreenshot('disabled.png') 25 | }) 26 | 27 | test('尺寸--UI截图', async ({ page }) => { 28 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 29 | await page.goto('ip-address#size') 30 | const demo = page.locator('#size .pc-demo') 31 | await expect(demo).toBeInViewport() 32 | await expect(demo).toHaveScreenshot('size.png') 33 | }) 34 | }) 35 | -------------------------------------------------------------------------------- /tests/ip-address/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/ip-address/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/ip-address/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/ip-address/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/ip-address/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/ip-address/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/ip-address/xdesign.spec.ts-snapshots/size-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/ip-address/xdesign.spec.ts-snapshots/size-chromium-win32.png -------------------------------------------------------------------------------- /tests/layout/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('layout组件xdesign规范', () => { 4 | test('基础用法--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('layout#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | }) 11 | 12 | }) 13 | -------------------------------------------------------------------------------- /tests/layout/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/layout/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/click-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/click-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/custom-icon-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/custom-icon-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/disable-click-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/disable-click-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/disable-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/disable-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/dynamic-disable-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/dynamic-disable-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/focus-no-underline-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/focus-no-underline-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/icon-click-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/icon-click-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/icon-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/icon-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/link-style-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/link-style-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/style-click-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/style-click-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/style-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/style-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/underline-click-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/underline-click-chromium-win32.png -------------------------------------------------------------------------------- /tests/link/xedsign.spec.ts-snapshots/underline-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/link/xedsign.spec.ts-snapshots/underline-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/locales/xedsign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('locales组件xdesign规范', () => { 4 | test('默认--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('locales#custom-service') 7 | const demo = page.locator('#custom-service .pc-demo') 8 | const demoPage = page.locator('#doc-layout div').filter({ hasText: '示例API自定义服务get-locale' }).nth(2) 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('custom-service.png') 11 | 12 | // hover时截图 13 | const link = demo.getByText('zhCN').nth(1) 14 | await link.hover() 15 | await expect(demoPage).toBeInViewport() 16 | await expect(demoPage).toHaveScreenshot('custom.png') 17 | }) 18 | }) 19 | -------------------------------------------------------------------------------- /tests/locales/xedsign.spec.ts-snapshots/custom-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/locales/xedsign.spec.ts-snapshots/custom-chromium-win32.png -------------------------------------------------------------------------------- /tests/locales/xedsign.spec.ts-snapshots/custom-service-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/locales/xedsign.spec.ts-snapshots/custom-service-chromium-win32.png -------------------------------------------------------------------------------- /tests/milestone/xedsign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('milestone 组件xdesign规范', () => { 4 | test('默认--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('milestone#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /tests/milestone/xedsign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/milestone/xedsign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/notify/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/notify/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/notify/xdesign.spec.ts-snapshots/error-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/notify/xdesign.spec.ts-snapshots/error-chromium-win32.png -------------------------------------------------------------------------------- /tests/notify/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/notify/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/notify/xdesign.spec.ts-snapshots/info-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/notify/xdesign.spec.ts-snapshots/info-chromium-win32.png -------------------------------------------------------------------------------- /tests/notify/xdesign.spec.ts-snapshots/success-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/notify/xdesign.spec.ts-snapshots/success-chromium-win32.png -------------------------------------------------------------------------------- /tests/notify/xdesign.spec.ts-snapshots/warning-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/notify/xdesign.spec.ts-snapshots/warning-chromium-win32.png -------------------------------------------------------------------------------- /tests/numeric/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('numeric数字输入框xdesign规范', () => { 4 | test('基本用法--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('numeric#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | 11 | await demo.locator('.tiny-numeric__increase').hover() 12 | await expect(demo).toBeInViewport() 13 | await expect(demo).toHaveScreenshot('hover.png') 14 | }) 15 | test('禁用--UI截图', async ({ page }) => { 16 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 17 | await page.goto('numeric#dynamic-disabled') 18 | const num = page.locator('.pc-demo') 19 | await expect(num).toBeInViewport() 20 | await expect(num).toHaveScreenshot('dynamic-disabled.png') 21 | }) 22 | test('尺寸--UI截图', async ({ page }) => { 23 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 24 | await page.goto('numeric#numeric-size') 25 | const num = page.locator('.pc-demo') 26 | await expect(num).toBeInViewport() 27 | await expect(num).toHaveScreenshot('numeric-size.png') 28 | }) 29 | test('单位--UI截图', async ({ page }) => { 30 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 31 | await page.goto('numeric#unit') 32 | const num = page.locator('.pc-demo') 33 | await expect(num).toBeInViewport() 34 | await expect(num).toHaveScreenshot('unit.png') 35 | }) 36 | }) 37 | -------------------------------------------------------------------------------- /tests/numeric/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/numeric/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/numeric/xdesign.spec.ts-snapshots/dynamic-disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/numeric/xdesign.spec.ts-snapshots/dynamic-disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/numeric/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/numeric/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/numeric/xdesign.spec.ts-snapshots/numeric-size-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/numeric/xdesign.spec.ts-snapshots/numeric-size-chromium-win32.png -------------------------------------------------------------------------------- /tests/numeric/xdesign.spec.ts-snapshots/unit-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/numeric/xdesign.spec.ts-snapshots/unit-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/goto-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/goto-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/mini-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/mini-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/mini-disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/mini-disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/next-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/next-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/page-item-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/page-item-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/pager-complete-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/pager-complete-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/pager-disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/pager-disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/pager-fixed-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/pager-fixed-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/pager-number-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/pager-number-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/pager-simple-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/pager-simple-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/pager-simplest-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/pager-simplest-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/popper-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/popper-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/popper-item-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/popper-item-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/prev-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/prev-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/pager/xdesign.spec.ts-snapshots/sizes-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pager/xdesign.spec.ts-snapshots/sizes-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/pop-upload/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | import path from 'path' 3 | 4 | test.describe('pop-upload 组件xdesign规范', () => { 5 | test('自定义上传提示 --UI截图', async ({ page }) => { 6 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 7 | await page.goto('pop-upload#upload-tip') 8 | const demo = page.locator('#upload-tip .pc-demo') 9 | const modal = page.locator('.tiny-popupload__modal > .tiny-modal__box').locator('visible=true') 10 | await expect(demo).toBeInViewport() 11 | await demo.getByRole('button', { name: '添加文件' }).click() 12 | await expect(modal).toHaveCount(1) 13 | await expect(modal).toHaveScreenshot('upload-tip.png') 14 | 15 | // 点击开始上传截图 16 | const lists = modal.locator('.tiny-popupload__dialog-table-item') 17 | const uploadBtn = modal.getByRole('button', { name: '添加文件' }) 18 | const currentPath1 = path.resolve('tests/pop-upload/测试.jpg') 19 | const [fileChooser] = await Promise.all([page.waitForEvent('filechooser'), uploadBtn.click()]) 20 | await fileChooser.setFiles(currentPath1) 21 | await expect(lists).toHaveCount(1) 22 | await expect(modal).toHaveScreenshot('upload-tip-list.png') 23 | 24 | // 点击删除确认截图 25 | await modal.getByText('删除', { exact: true }).first().click() 26 | await expect(modal).toHaveScreenshot('upload-tip-list-popover.png') 27 | 28 | // 上传后的截图 29 | await modal.getByRole('button', { name: '开始上传' }).click() 30 | await expect(page.getByText('共1条数据:其中1条出错,请修改后重试')).toHaveCount(1) 31 | await expect(modal).toHaveScreenshot('upload-tip-list-fail.png') 32 | }) 33 | }) 34 | -------------------------------------------------------------------------------- /tests/pop-upload/xdesign.spec.ts-snapshots/upload-tip-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pop-upload/xdesign.spec.ts-snapshots/upload-tip-chromium-win32.png -------------------------------------------------------------------------------- /tests/pop-upload/xdesign.spec.ts-snapshots/upload-tip-list-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pop-upload/xdesign.spec.ts-snapshots/upload-tip-list-chromium-win32.png -------------------------------------------------------------------------------- /tests/pop-upload/xdesign.spec.ts-snapshots/upload-tip-list-fail-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pop-upload/xdesign.spec.ts-snapshots/upload-tip-list-fail-chromium-win32.png -------------------------------------------------------------------------------- /tests/pop-upload/xdesign.spec.ts-snapshots/upload-tip-list-popover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pop-upload/xdesign.spec.ts-snapshots/upload-tip-list-popover-chromium-win32.png -------------------------------------------------------------------------------- /tests/pop-upload/测试.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/pop-upload/测试.jpg -------------------------------------------------------------------------------- /tests/progress/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('progress 组件xdesign规范', () => { 4 | test('默认 --UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('progress#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /tests/progress/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/progress/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/radio/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/radio/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/radio/xdesign.spec.ts-snapshots/checked-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/radio/xdesign.spec.ts-snapshots/checked-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/radio/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/radio/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/radio/xdesign.spec.ts-snapshots/group-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/radio/xdesign.spec.ts-snapshots/group-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/radio/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/radio/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/radio/xdesign.spec.ts-snapshots/radio-group-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/radio/xdesign.spec.ts-snapshots/radio-group-chromium-win32.png -------------------------------------------------------------------------------- /tests/radio/xdesign.spec.ts-snapshots/size-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/radio/xdesign.spec.ts-snapshots/size-chromium-win32.png -------------------------------------------------------------------------------- /tests/radio/xdesign.spec.ts-snapshots/vertical-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/radio/xdesign.spec.ts-snapshots/vertical-chromium-win32.png -------------------------------------------------------------------------------- /tests/search/xdesign.spec.ts-snapshots/active-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/search/xdesign.spec.ts-snapshots/active-chromium-win32.png -------------------------------------------------------------------------------- /tests/search/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/search/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/search/xdesign.spec.ts-snapshots/clearable-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/search/xdesign.spec.ts-snapshots/clearable-chromium-win32.png -------------------------------------------------------------------------------- /tests/search/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/search/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/search/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/search/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/search/xdesign.spec.ts-snapshots/search-types-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/search/xdesign.spec.ts-snapshots/search-types-chromium-win32.png -------------------------------------------------------------------------------- /tests/search/xdesign.spec.ts-snapshots/slot-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/search/xdesign.spec.ts-snapshots/slot-chromium-win32.png -------------------------------------------------------------------------------- /tests/split/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/split/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/split/xdesign.spec.ts-snapshots/horizontal-collapse-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/split/xdesign.spec.ts-snapshots/horizontal-collapse-chromium-win32.png -------------------------------------------------------------------------------- /tests/split/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/split/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/split/xdesign.spec.ts-snapshots/nested-use-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/split/xdesign.spec.ts-snapshots/nested-use-chromium-win32.png -------------------------------------------------------------------------------- /tests/split/xdesign.spec.ts-snapshots/split-mode-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/split/xdesign.spec.ts-snapshots/split-mode-chromium-win32.png -------------------------------------------------------------------------------- /tests/split/xdesign.spec.ts-snapshots/three-areas-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/split/xdesign.spec.ts-snapshots/three-areas-chromium-win32.png -------------------------------------------------------------------------------- /tests/statistic/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('statistic组件xdesign规范', () => { 4 | test('默认--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('statistic#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | }) 11 | 12 | test('前后缀--UI截图', async ({ page }) => { 13 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 14 | await page.goto('statistic#prefix-suffix-slot') 15 | const demo = page.locator('#prefix-suffix-slot .pc-demo') 16 | await expect(demo).toBeInViewport() 17 | await expect(demo).toHaveScreenshot('prefix-suffix-slot.png') 18 | }) 19 | 20 | test('标题--UI截图', async ({ page }) => { 21 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 22 | await page.goto('statistic#statistic-slot') 23 | const demo = page.locator('#statistic-slot .pc-demo') 24 | await expect(demo).toBeInViewport() 25 | await expect(demo).toHaveScreenshot('statistic-slot.png') 26 | }) 27 | }) 28 | -------------------------------------------------------------------------------- /tests/statistic/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/statistic/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/statistic/xdesign.spec.ts-snapshots/prefix-suffix-slot-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/statistic/xdesign.spec.ts-snapshots/prefix-suffix-slot-chromium-win32.png -------------------------------------------------------------------------------- /tests/statistic/xdesign.spec.ts-snapshots/statistic-slot-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/statistic/xdesign.spec.ts-snapshots/statistic-slot-chromium-win32.png -------------------------------------------------------------------------------- /tests/steps/xdesign.spec.ts-snapshots/advanced-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/steps/xdesign.spec.ts-snapshots/advanced-chromium-win32.png -------------------------------------------------------------------------------- /tests/steps/xdesign.spec.ts-snapshots/line-dot-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/steps/xdesign.spec.ts-snapshots/line-dot-chromium-win32.png -------------------------------------------------------------------------------- /tests/steps/xdesign.spec.ts-snapshots/line-horizontal-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/steps/xdesign.spec.ts-snapshots/line-horizontal-chromium-win32.png -------------------------------------------------------------------------------- /tests/steps/xdesign.spec.ts-snapshots/size-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/steps/xdesign.spec.ts-snapshots/size-chromium-win32.png -------------------------------------------------------------------------------- /tests/steps/xdesign.spec.ts-snapshots/slot-item-footer-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/steps/xdesign.spec.ts-snapshots/slot-item-footer-chromium-win32.png -------------------------------------------------------------------------------- /tests/steps/xdesign.spec.ts-snapshots/slot-item-footer-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/steps/xdesign.spec.ts-snapshots/slot-item-footer-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/switch/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('switch组件xdesign规范', () => { 4 | test('默认--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('switch#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | }) 11 | 12 | test('迷你尺寸--UI截图', async ({ page }) => { 13 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 14 | await page.goto('switch#mini-mode') 15 | const demo = page.locator('#mini-mode .pc-demo') 16 | await expect(demo).toBeInViewport() 17 | await expect(demo).toHaveScreenshot('mini-mode.png') 18 | }) 19 | 20 | test('加载中状态--UI截图', async ({ page }) => { 21 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 22 | await page.goto('switch#loading') 23 | const demo = page.locator('#loading .pc-demo') 24 | await expect(demo).toBeInViewport() 25 | await expect(demo).toHaveScreenshot('loading.png') 26 | }) 27 | 28 | test('禁用状态--UI截图', async ({ page }) => { 29 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 30 | await page.goto('switch#dynamic-disable') 31 | const demo = page.locator('#dynamic-disable .pc-demo') 32 | await expect(demo).toBeInViewport() 33 | await expect(demo).toHaveScreenshot('disabled.png') 34 | }) 35 | }) 36 | -------------------------------------------------------------------------------- /tests/switch/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/switch/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/switch/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/switch/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/switch/xdesign.spec.ts-snapshots/loading-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/switch/xdesign.spec.ts-snapshots/loading-chromium-win32.png -------------------------------------------------------------------------------- /tests/switch/xdesign.spec.ts-snapshots/mini-mode-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/switch/xdesign.spec.ts-snapshots/mini-mode-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/basic-usage-click-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/basic-usage-click-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/bottom-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/bottom-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/left-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/left-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/more-show-all-btn-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/more-show-all-btn-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/more-show-all-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/more-show-all-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/more-show-all-click-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/more-show-all-click-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/right-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/right-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/size-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/size-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/size-hover-0-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/size-hover-0-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/size-hover-1-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/size-hover-1-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/size-hover-2-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/size-hover-2-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/tabs-second-layer-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/tabs-second-layer-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/tabs-second-layer-currency-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/tabs-second-layer-currency-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/tabs-second-layer-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/tabs-second-layer-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/tabs-second-layer-selected-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/tabs-second-layer-selected-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/tabs-separator-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/tabs-separator-chromium-win32.png -------------------------------------------------------------------------------- /tests/tabs/xdesign.spec.ts-snapshots/tabs-separator-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tabs/xdesign.spec.ts-snapshots/tabs-separator-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/tag/xdesign.spec.ts-snapshots/basic-usage-size-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tag/xdesign.spec.ts-snapshots/basic-usage-size-chromium-win32.png -------------------------------------------------------------------------------- /tests/tag/xdesign.spec.ts-snapshots/delete-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tag/xdesign.spec.ts-snapshots/delete-chromium-win32.png -------------------------------------------------------------------------------- /tests/tag/xdesign.spec.ts-snapshots/disabled-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tag/xdesign.spec.ts-snapshots/disabled-chromium-win32.png -------------------------------------------------------------------------------- /tests/tag/xdesign.spec.ts-snapshots/effect-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tag/xdesign.spec.ts-snapshots/effect-chromium-win32.png -------------------------------------------------------------------------------- /tests/tag/xdesign.spec.ts-snapshots/icon-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/tag/xdesign.spec.ts-snapshots/icon-chromium-win32.png -------------------------------------------------------------------------------- /tests/time-line/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('timeline 组件xdesign规范', () => { 4 | test('节点状态 --UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('time-line#status') 7 | const demo = page.locator('#status .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('status.png') 10 | }) 11 | 12 | test('圆点外观 --UI截图', async ({ page }) => { 13 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 14 | await page.goto('time-line#shape') 15 | const demo = page.locator('#shape .pc-demo .tiny-timeline') 16 | await expect(demo).toBeInViewport() 17 | await expect(demo).toHaveScreenshot('shape.png') 18 | }) 19 | }) 20 | -------------------------------------------------------------------------------- /tests/time-line/xdesign.spec.ts-snapshots/shape-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/time-line/xdesign.spec.ts-snapshots/shape-chromium-win32.png -------------------------------------------------------------------------------- /tests/time-line/xdesign.spec.ts-snapshots/status-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/time-line/xdesign.spec.ts-snapshots/status-chromium-win32.png -------------------------------------------------------------------------------- /tests/time-select/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/time-select/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/time-select/xdesign.spec.ts-snapshots/focus-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/time-select/xdesign.spec.ts-snapshots/focus-chromium-win32.png -------------------------------------------------------------------------------- /tests/time-select/xdesign.spec.ts-snapshots/focus-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/time-select/xdesign.spec.ts-snapshots/focus-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/time-select/xdesign.spec.ts-snapshots/hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/time-select/xdesign.spec.ts-snapshots/hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/time-select/xdesign.spec.ts-snapshots/icon-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/time-select/xdesign.spec.ts-snapshots/icon-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/time-select/xdesign.spec.ts-snapshots/select-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/time-select/xdesign.spec.ts-snapshots/select-chromium-win32.png -------------------------------------------------------------------------------- /tests/time-select/xdesign.spec.ts-snapshots/select-hover-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/time-select/xdesign.spec.ts-snapshots/select-hover-chromium-win32.png -------------------------------------------------------------------------------- /tests/user-link/xedsign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('user-link组件xdesign规范', () => { 4 | test('默认--UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('user-link#custom-service') 7 | const demo = page.locator('#custom-service .pc-demo') 8 | const demoPage = page.locator('#doc-layout div').filter({ hasText: '示例API自定义服务注意 UserLink 组件请求的是' }).nth(2) 9 | await expect(demo).toBeInViewport() 10 | await expect(demo).toHaveScreenshot('custom-service.png') 11 | 12 | // hover时截图 13 | const link = demo.getByText('test3') 14 | await link.click() 15 | await expect(demoPage).toBeInViewport() 16 | await expect(demoPage).toHaveScreenshot('custom.png') 17 | 18 | const expand = page.getByText('展开') 19 | await expand.click() 20 | await expect(demoPage).toBeInViewport() 21 | await expect(demoPage).toHaveScreenshot('expand.png') 22 | }) 23 | }) 24 | -------------------------------------------------------------------------------- /tests/user-link/xedsign.spec.ts-snapshots/custom-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/user-link/xedsign.spec.ts-snapshots/custom-chromium-win32.png -------------------------------------------------------------------------------- /tests/user-link/xedsign.spec.ts-snapshots/custom-service-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/user-link/xedsign.spec.ts-snapshots/custom-service-chromium-win32.png -------------------------------------------------------------------------------- /tests/user-link/xedsign.spec.ts-snapshots/expand-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/user-link/xedsign.spec.ts-snapshots/expand-chromium-win32.png -------------------------------------------------------------------------------- /tests/wizard/xdesign.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from '@playwright/test' 2 | 3 | test.describe('wizard 组件xdesign规范', () => { 4 | test('默认 --UI截图', async ({ page }) => { 5 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 6 | await page.goto('wizard#basic-usage') 7 | const demo = page.locator('#basic-usage .pc-demo') 8 | await expect(demo).toBeInViewport() 9 | await expect(demo).toHaveScreenshot('basic-usage.png') 10 | }) 11 | 12 | test('页向导模式 --UI截图', async ({ page }) => { 13 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 14 | await page.goto('wizard#page-guide') 15 | const demo = page.locator('#page-guide .pc-demo') 16 | await expect(demo).toBeInViewport() 17 | await expect(demo).toHaveScreenshot('page-guide.png') 18 | }) 19 | 20 | test('垂直模式 --UI截图', async ({ page }) => { 21 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 22 | await page.goto('wizard#vertical') 23 | const demo = page.locator('#vertical .pc-demo') 24 | await expect(demo).toBeInViewport() 25 | await expect(demo).toHaveScreenshot('vertical.png') 26 | }) 27 | 28 | test('时间线 --UI截图', async ({ page }) => { 29 | page.on('pageerror', (exception) => expect(exception).toBeNull()) 30 | await page.goto('wizard#time-line-flow') 31 | const demo = page.locator('#time-line-flow .pc-demo') 32 | await expect(demo).toBeInViewport() 33 | await expect(demo).toHaveScreenshot('time-line-flow.png') 34 | }) 35 | }) 36 | -------------------------------------------------------------------------------- /tests/wizard/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/wizard/xdesign.spec.ts-snapshots/basic-usage-chromium-win32.png -------------------------------------------------------------------------------- /tests/wizard/xdesign.spec.ts-snapshots/page-guide-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/wizard/xdesign.spec.ts-snapshots/page-guide-chromium-win32.png -------------------------------------------------------------------------------- /tests/wizard/xdesign.spec.ts-snapshots/time-line-flow-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/wizard/xdesign.spec.ts-snapshots/time-line-flow-chromium-win32.png -------------------------------------------------------------------------------- /tests/wizard/xdesign.spec.ts-snapshots/vertical-chromium-win32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentiny/tiny-vue-theme/ebdc986b509295a6ce13fe477d984ae9b95ded17/tests/wizard/xdesign.spec.ts-snapshots/vertical-chromium-win32.png --------------------------------------------------------------------------------