@vardot/varbase-e2e 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +148 -0
- package/CLAUDE.md +544 -0
- package/README.md +22 -0
- package/bin/generate-reports.js +363 -0
- package/bin/init-varbase-e2e.js +330 -0
- package/bin/postinstall.js +26 -0
- package/cucumber.js +125 -0
- package/docs/00-quick-start.md +102 -0
- package/docs/01-getting-started.md +102 -0
- package/docs/02-bbr-smart-waits.md +77 -0
- package/docs/03-selector-registry.md +95 -0
- package/docs/04-step-reference.md +801 -0
- package/docs/05-web-first-assertions.md +91 -0
- package/docs/06-network-and-dialogs.md +83 -0
- package/docs/07-auth-state.md +75 -0
- package/docs/08-clock-mocking.md +59 -0
- package/docs/09-api-testing.md +114 -0
- package/docs/10-accessibility.md +167 -0
- package/docs/11-debugging.md +129 -0
- package/docs/12-ai-agent-guide.md +338 -0
- package/docs/13-faq.md +236 -0
- package/docs/14-recipes-cookbook.md +255 -0
- package/docs/15-tag-conventions.md +76 -0
- package/docs/16-ci-cd.md +90 -0
- package/docs/README.md +125 -0
- package/docs/advanced-screenshots/then-i-save-fullscreen-screenshot.md +36 -0
- package/docs/advanced-screenshots/then-i-save-width-x-height-screenshot.md +34 -0
- package/docs/advanced-screenshots/when-i-save-screenshot-name-filename.md +45 -0
- package/docs/advanced-screenshots.md +52 -0
- package/docs/advanced-selectors.md +18 -0
- package/docs/api-step-definitions.md +45 -0
- package/docs/global-settings.md +267 -0
- package/docs/install-varbase-e2e/ddev-varbase-e2e.md +52 -0
- package/docs/install-varbase-e2e.md +34 -0
- package/docs/overview.md +40 -0
- package/docs/step-definitions/given-i-am-anonymous-user.md +67 -0
- package/docs/step-definitions/given-i-am-homepage.md +68 -0
- package/docs/step-definitions/given-i-am-specific-page.md +72 -0
- package/docs/step-definitions/then-i-should-be.md +56 -0
- package/docs/step-definitions/then-i-should-see.md +62 -0
- package/docs/step-definitions/then-item-checkbox.md +54 -0
- package/docs/step-definitions/then-item-link-should-contain-url.md +84 -0
- package/docs/step-definitions/then-item-should-contain.md +67 -0
- package/docs/step-definitions/then-radio-button-value-should-be-selected.md +68 -0
- package/docs/step-definitions/then-response-status-code-should-be-number.md +69 -0
- package/docs/step-definitions/then-value-radio-button-selected.md +62 -0
- package/docs/step-definitions/when-i-attach-file-file-name-element.md +71 -0
- package/docs/step-definitions/when-i-check-checkbox.md +60 -0
- package/docs/step-definitions/when-i-click-link.md +51 -0
- package/docs/step-definitions/when-i-click-operation-text-row.md +71 -0
- package/docs/step-definitions/when-i-fill.md +59 -0
- package/docs/step-definitions/when-i-go-homepage.md +60 -0
- package/docs/step-definitions/when-i-go-specific-page.md +67 -0
- package/docs/step-definitions/when-i-move-backward-one-page.md +49 -0
- package/docs/step-definitions/when-i-move-forward-one-page.md +58 -0
- package/docs/step-definitions/when-i-press-button.md +58 -0
- package/docs/step-definitions/when-i-reload-page.md +51 -0
- package/docs/step-definitions/when-i-scroll.md +73 -0
- package/docs/step-definitions/when-i-select-option-select-list.md +53 -0
- package/docs/step-definitions/when-i-select-radio-button-value.md +62 -0
- package/docs/step-definitions/when-i-uncheck-checkbox.md +57 -0
- package/docs/step-definitions/when-i-wait-ajax-finish.md +64 -0
- package/docs/step-definitions/when-i-wait.md +62 -0
- package/docs/step-definitions.md +82 -0
- package/docs/steps/README.md +137 -0
- package/docs/steps/a11y.md +731 -0
- package/docs/steps/action.md +181 -0
- package/docs/steps/api.md +679 -0
- package/docs/steps/assertion.md +328 -0
- package/docs/steps/auth.md +108 -0
- package/docs/steps/clock.md +171 -0
- package/docs/steps/cookie.md +293 -0
- package/docs/steps/debug.md +52 -0
- package/docs/steps/dialog.md +226 -0
- package/docs/steps/drupal-canvas.md +414 -0
- package/docs/steps/drupal-ckeditor.md +118 -0
- package/docs/steps/drupal-core.md +688 -0
- package/docs/steps/drupal-layout-builder.md +437 -0
- package/docs/steps/drupal-media.md +107 -0
- package/docs/steps/drupal-moderation.md +81 -0
- package/docs/steps/drupal-paragraphs.md +36 -0
- package/docs/steps/element.md +455 -0
- package/docs/steps/field.md +648 -0
- package/docs/steps/file-download.md +235 -0
- package/docs/steps/form.md +344 -0
- package/docs/steps/iframe.md +248 -0
- package/docs/steps/input.md +220 -0
- package/docs/steps/javascript.md +111 -0
- package/docs/steps/keyboard.md +107 -0
- package/docs/steps/link.md +217 -0
- package/docs/steps/metatag.md +99 -0
- package/docs/steps/modal.md +232 -0
- package/docs/steps/navigation.md +275 -0
- package/docs/steps/network.md +284 -0
- package/docs/steps/path.md +203 -0
- package/docs/steps/response.md +102 -0
- package/docs/steps/responsive.md +139 -0
- package/docs/steps/rest.md +140 -0
- package/docs/steps/screenshot.md +211 -0
- package/docs/steps/scroll.md +266 -0
- package/docs/steps/selectors.md +848 -0
- package/docs/steps/storage.md +254 -0
- package/docs/steps/table.md +216 -0
- package/docs/steps/varbase.md +391 -0
- package/docs/steps/video.md +111 -0
- package/docs/steps/wait.md +553 -0
- package/docs/steps/web-first.md +289 -0
- package/docs/steps/xml.md +505 -0
- package/docs/steps/yaml.md +951 -0
- package/examples/a11y.html +31 -0
- package/examples/about-us.html +11 -0
- package/examples/account.html +32 -0
- package/examples/ajax-wait-examples.html +147 -0
- package/examples/contact-us.html +10 -0
- package/examples/cookies.html +10 -0
- package/examples/date.html +12 -0
- package/examples/dynamic-examples.html +498 -0
- package/examples/element.html +11 -0
- package/examples/example-api.json +28 -0
- package/examples/existing-page.html +11 -0
- package/examples/field.html +24 -0
- package/examples/index.html +37 -0
- package/examples/keyboard.html +11 -0
- package/examples/links.html +9 -0
- package/examples/modal.html +14 -0
- package/examples/path.html +3 -0
- package/examples/table.html +13 -0
- package/examples/test--modal-dialogs.html +252 -0
- package/examples/test--then--i-should--not--see-text-in-element.html +48 -0
- package/examples/test--then--i-should--see-text-in-element.html +48 -0
- package/examples/test--then--i-should--see-text-matching-pattern.html +31 -0
- package/examples/test--then--i-should-see-text-in-table-row.html +232 -0
- package/examples/test--then--the-checkbox-checked.html +68 -0
- package/examples/test--then--the-element-should_not-contain-cssproperty.html +47 -0
- package/examples/test--then--the-link-should-contain.html +21 -0
- package/examples/test--when--i-additionally-select.html +27 -0
- package/examples/test--when--i-attach-file-to-feild.html +50 -0
- package/examples/test--when--i-check-uncheck-checkbox.html +47 -0
- package/examples/test--when--i-click-link.html +18 -0
- package/examples/test--when--i-click-text-in-table-row.html +178 -0
- package/examples/test--when--i-fill-in.html +48 -0
- package/examples/test--when--i-press-button.html +31 -0
- package/examples/test--when--i-reload-page.html +27 -0
- package/examples/test--when--i-scroll-functionality.html +177 -0
- package/examples/test--when--i-scroll-left-right-functionality.html +149 -0
- package/examples/test--when--i-select-option-from-dropdownlist.html +35 -0
- package/examples/test--when--i-select-radio-button.html +95 -0
- package/examples/test--when-i-wait-max-of-time.html +39 -0
- package/examples/test--when-i-wait-page-until-is-loaded.html +47 -0
- package/examples/test--when-i-wait-specific-time.html +39 -0
- package/examples/test-acceptable-url-path.html +11 -0
- package/examples/video-demo.html +43 -0
- package/package.json +56 -0
- package/playwright.config.ts +39 -0
- package/tests/assets/test-document.pdf +14 -0
- package/tests/assets/vardot.png +0 -0
- package/tests/features/a11y.feature +39 -0
- package/tests/features/ajax-wait-examples.feature +24 -0
- package/tests/features/api-step-definitions-individual.feature +185 -0
- package/tests/features/complete-api-testing-examples.feature +205 -0
- package/tests/features/cookie.feature +13 -0
- package/tests/features/date.feature +11 -0
- package/tests/features/dynamic-content-examples.feature +156 -0
- package/tests/features/element.feature +16 -0
- package/tests/features/field.feature +25 -0
- package/tests/features/keyboard.feature +10 -0
- package/tests/features/link.feature +11 -0
- package/tests/features/modal-advanced-example.feature +54 -0
- package/tests/features/modal-basic-example.feature +42 -0
- package/tests/features/modal-error-handling-example.feature +37 -0
- package/tests/features/modal.feature +11 -0
- package/tests/features/path.feature +16 -0
- package/tests/features/response.feature +8 -0
- package/tests/features/responsive.feature +10 -0
- package/tests/features/table.feature +18 -0
- package/tests/features/test--given--i-am-an-anonymous-user.feature +10 -0
- package/tests/features/test--given--i-am-on-homepage.feature +16 -0
- package/tests/features/test--then--i-save-screenshot.feature +33 -0
- package/tests/features/test--then--i-see-locator.feature +320 -0
- package/tests/features/test--then--i-should--not--see-text-in-element.feature +13 -0
- package/tests/features/test--then--i-should--see-text-in-element-by-attr.feature +10 -0
- package/tests/features/test--then--i-should--see-text-in-element.feature +10 -0
- package/tests/features/test--then--i-should--see-text-matching-pattern-in-element.feature +13 -0
- package/tests/features/test--then--i-should--see-text-matching-pattern.feature +18 -0
- package/tests/features/test--then--i-should-be-on-page.feature +10 -0
- package/tests/features/test--then--i-should-be-on-the-homepage.feature +10 -0
- package/tests/features/test--then--i-should-not-see-an-element-by-attr.feature +8 -0
- package/tests/features/test--then--i-should-not-see-an-element.feature +8 -0
- package/tests/features/test--then--i-should-see-an-element-by-attr.feature +8 -0
- package/tests/features/test--then--i-should-see-an-element.feature +8 -0
- package/tests/features/test--then--i-should-see-n-elements.feature +24 -0
- package/tests/features/test--then--i-should-see-text-in-table-row.feature +96 -0
- package/tests/features/test--then--print-current-url-and-response.feature +21 -0
- package/tests/features/test--then--the-checkbox-is-checked.feature +18 -0
- package/tests/features/test--then--the-checkbox-should-be-checked.feature +16 -0
- package/tests/features/test--then--the-element-should-contain-cssproperty.feature +9 -0
- package/tests/features/test--then--the-element-should-not-contain-cssproperty.feature +10 -0
- package/tests/features/test--then--the-field-should-contain-value.feature +11 -0
- package/tests/features/test--then--the-response-should-contain.feature +11 -0
- package/tests/features/test--then--the-response-status-code-should-be.feature +31 -0
- package/tests/features/test--then--the-url-should-match.feature +7 -0
- package/tests/features/test--then-the-link-should-contain-by-attribute.feature +18 -0
- package/tests/features/test--then-the-link-should-contain.feature +7 -0
- package/tests/features/test--when--i-additionally-select.feature +30 -0
- package/tests/features/test--when--i-attach-file-to-feild.feature +9 -0
- package/tests/features/test--when--i-check-checkbox.feature +21 -0
- package/tests/features/test--when--i-click-link-by-attribute.feature +21 -0
- package/tests/features/test--when--i-click-link.feature +9 -0
- package/tests/features/test--when--i-click-text-in-table-row.feature +37 -0
- package/tests/features/test--when--i-fill-in-by-attr.feature +31 -0
- package/tests/features/test--when--i-fill-in-table-by-attr.feature +19 -0
- package/tests/features/test--when--i-fill-in.feature +32 -0
- package/tests/features/test--when--i-follow.feature +22 -0
- package/tests/features/test--when--i-go-to-homepage.feature +9 -0
- package/tests/features/test--when--i-move-forward-backward-one-page.feature +14 -0
- package/tests/features/test--when--i-press-button-by-attribute.feature +18 -0
- package/tests/features/test--when--i-press-button.feature +13 -0
- package/tests/features/test--when--i-reload-page.feature +11 -0
- package/tests/features/test--when--i-scroll-left-right.feature +48 -0
- package/tests/features/test--when--i-scroll.feature +48 -0
- package/tests/features/test--when--i-select-option-from-dropdownlist.feature +21 -0
- package/tests/features/test--when--i-select-radio-button.feature +37 -0
- package/tests/features/test--when--i-wait-page-is-loaded.feature +8 -0
- package/tests/features/test--when--i-wait-time.feature +21 -0
- package/tests/features/video.feature +18 -0
- package/tests/features/wait.feature +7 -0
- package/tests/features/yaml.feature +102 -0
- package/tests/selectors/_canonical-keys.json +113 -0
- package/tests/selectors/back-end-selectors.json +19 -0
- package/tests/selectors/cms-contentful-admin.json +35 -0
- package/tests/selectors/cms-craft-admin.json +39 -0
- package/tests/selectors/cms-drupal-cms-gin.json +56 -0
- package/tests/selectors/cms-drupal-core-claro.json +50 -0
- package/tests/selectors/cms-generic-admin.json +34 -0
- package/tests/selectors/cms-ghost-admin.json +34 -0
- package/tests/selectors/cms-joomla-admin.json +41 -0
- package/tests/selectors/cms-magento2-admin.json +32 -0
- package/tests/selectors/cms-prestashop-admin.json +38 -0
- package/tests/selectors/cms-shopify-admin.json +25 -0
- package/tests/selectors/cms-strapi-admin.json +42 -0
- package/tests/selectors/cms-typo3-admin.json +41 -0
- package/tests/selectors/cms-woocommerce-front.json +50 -0
- package/tests/selectors/cms-wordpress-admin.json +31 -0
- package/tests/selectors/framework-ant-design.json +80 -0
- package/tests/selectors/framework-bootstrap.json +86 -0
- package/tests/selectors/framework-bulma.json +74 -0
- package/tests/selectors/framework-chakra.json +58 -0
- package/tests/selectors/framework-foundation.json +51 -0
- package/tests/selectors/framework-material-ui.json +72 -0
- package/tests/selectors/framework-shadcn.json +51 -0
- package/tests/selectors/framework-tailwind.json +40 -0
- package/tests/selectors/framework-vuetify.json +61 -0
- package/tests/selectors/front-end-selectors.json +16 -0
- package/tests/selectors/homepage-selectors.json +13 -0
- package/tests/step-definitions/a11y.steps.js +800 -0
- package/tests/step-definitions/action.steps.js +167 -0
- package/tests/step-definitions/api.steps.js +732 -0
- package/tests/step-definitions/assertion.steps.js +352 -0
- package/tests/step-definitions/auth.steps.js +126 -0
- package/tests/step-definitions/clock.steps.js +128 -0
- package/tests/step-definitions/cookie.steps.js +216 -0
- package/tests/step-definitions/debug.steps.js +39 -0
- package/tests/step-definitions/dialog.steps.js +193 -0
- package/tests/step-definitions/drupal-canvas.steps.js +764 -0
- package/tests/step-definitions/drupal-ckeditor.steps.js +108 -0
- package/tests/step-definitions/drupal-core.steps.js +665 -0
- package/tests/step-definitions/drupal-helpers.js +371 -0
- package/tests/step-definitions/drupal-layout-builder.steps.js +466 -0
- package/tests/step-definitions/drupal-media.steps.js +99 -0
- package/tests/step-definitions/drupal-moderation.steps.js +71 -0
- package/tests/step-definitions/drupal-paragraphs.steps.js +50 -0
- package/tests/step-definitions/element.steps.js +356 -0
- package/tests/step-definitions/field.steps.js +653 -0
- package/tests/step-definitions/file-download.steps.js +211 -0
- package/tests/step-definitions/form.steps.js +333 -0
- package/tests/step-definitions/iframe.steps.js +228 -0
- package/tests/step-definitions/input.steps.js +202 -0
- package/tests/step-definitions/javascript.steps.js +232 -0
- package/tests/step-definitions/keyboard.steps.js +112 -0
- package/tests/step-definitions/link.steps.js +142 -0
- package/tests/step-definitions/metatag.steps.js +91 -0
- package/tests/step-definitions/modal.steps.js +244 -0
- package/tests/step-definitions/navigation.steps.js +218 -0
- package/tests/step-definitions/network.steps.js +280 -0
- package/tests/step-definitions/path.steps.js +141 -0
- package/tests/step-definitions/response.steps.js +98 -0
- package/tests/step-definitions/responsive.steps.js +125 -0
- package/tests/step-definitions/rest.steps.js +111 -0
- package/tests/step-definitions/screenshot.steps.js +423 -0
- package/tests/step-definitions/scroll.steps.js +189 -0
- package/tests/step-definitions/selectors.steps.js +1003 -0
- package/tests/step-definitions/storage.steps.js +194 -0
- package/tests/step-definitions/table.steps.js +181 -0
- package/tests/step-definitions/varbase-e2e.js +897 -0
- package/tests/step-definitions/varbase.steps.js +458 -0
- package/tests/step-definitions/video.steps.js +178 -0
- package/tests/step-definitions/wait.steps.js +400 -0
- package/tests/step-definitions/web-first.steps.js +298 -0
- package/tests/step-definitions/xml.steps.js +411 -0
- package/tests/step-definitions/yaml.steps.js +913 -0
- package/tsconfig.json +26 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": {
|
|
3
|
+
"modal": ".modal.is-active, [role=\"dialog\"]",
|
|
4
|
+
"modal background": ".modal-background",
|
|
5
|
+
"modal content": ".modal-content",
|
|
6
|
+
"modal card": ".modal-card",
|
|
7
|
+
"modal card head": ".modal-card-head",
|
|
8
|
+
"modal card title": ".modal-card-title",
|
|
9
|
+
"modal card body": ".modal-card-body",
|
|
10
|
+
"modal card foot": ".modal-card-foot",
|
|
11
|
+
"modal close": ".modal-close, .delete",
|
|
12
|
+
"main nav": ".navbar",
|
|
13
|
+
"navbar brand": ".navbar-brand",
|
|
14
|
+
"navbar burger": ".navbar-burger",
|
|
15
|
+
"navbar menu": ".navbar-menu",
|
|
16
|
+
"main nav item": ".navbar-item",
|
|
17
|
+
"navbar dropdown": ".navbar-dropdown",
|
|
18
|
+
"primary button": ".button.is-primary, .button.is-success",
|
|
19
|
+
"link button": ".button.is-link",
|
|
20
|
+
"info button": ".button.is-info",
|
|
21
|
+
"warning button": ".button.is-warning",
|
|
22
|
+
"danger button": ".button.is-danger",
|
|
23
|
+
"light button": ".button.is-light",
|
|
24
|
+
"dark button": ".button.is-dark",
|
|
25
|
+
"secondary button": ".button.is-outlined",
|
|
26
|
+
"rounded button": ".button.is-rounded",
|
|
27
|
+
"notice info": ".notification, .notification.is-primary, .notification.is-info",
|
|
28
|
+
"notice success": ".notification.is-success",
|
|
29
|
+
"notice error": ".notification.is-danger",
|
|
30
|
+
"notice warning": ".notification.is-warning",
|
|
31
|
+
"form item": ".field, .control",
|
|
32
|
+
"form label": ".label",
|
|
33
|
+
"form input": "input.input",
|
|
34
|
+
"form textarea": "textarea.textarea",
|
|
35
|
+
"select": ".select",
|
|
36
|
+
"checkbox": ".checkbox",
|
|
37
|
+
"radio": ".radio",
|
|
38
|
+
"help": ".help",
|
|
39
|
+
"is danger": ".is-danger",
|
|
40
|
+
"is success": ".is-success",
|
|
41
|
+
"data table": "table.table, table.is-striped, table.is-hoverable",
|
|
42
|
+
"tabs": ".tabs",
|
|
43
|
+
"active tab": ".tabs li.is-active",
|
|
44
|
+
"card": ".card",
|
|
45
|
+
"card header": ".card-header",
|
|
46
|
+
"card content": ".card-content",
|
|
47
|
+
"card footer": ".card-footer",
|
|
48
|
+
"menu": ".menu",
|
|
49
|
+
"menu list": ".menu-list",
|
|
50
|
+
"active menu item": ".menu-list a.is-active",
|
|
51
|
+
"panel": ".panel",
|
|
52
|
+
"panel block": ".panel-block",
|
|
53
|
+
"active panel block": ".panel-block.is-active",
|
|
54
|
+
"tag": ".tag",
|
|
55
|
+
"breadcrumb": ".breadcrumb",
|
|
56
|
+
"active breadcrumb": ".breadcrumb li.is-active",
|
|
57
|
+
"pagination": ".pagination",
|
|
58
|
+
"pagination current": ".pagination-link.is-current",
|
|
59
|
+
"level": ".level",
|
|
60
|
+
"section": ".section",
|
|
61
|
+
"container": ".container",
|
|
62
|
+
"hero": ".hero",
|
|
63
|
+
"box": ".box",
|
|
64
|
+
"dropdown": ".dropdown",
|
|
65
|
+
"dropdown active": ".dropdown.is-active",
|
|
66
|
+
"dropdown menu": ".dropdown-menu",
|
|
67
|
+
"dropdown item": ".dropdown-item",
|
|
68
|
+
"loader": ".is-loading"
|
|
69
|
+
},
|
|
70
|
+
"xpath": {
|
|
71
|
+
"primary button": "//button[contains(@class,'button') and contains(@class,'is-primary')]",
|
|
72
|
+
"first card": "(//*[contains(@class,'card')])[1]"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": {
|
|
3
|
+
"modal": "[role=\"dialog\"], section.chakra-modal__content",
|
|
4
|
+
"modal overlay": ".chakra-modal__overlay",
|
|
5
|
+
"modal content": ".chakra-modal__content",
|
|
6
|
+
"modal header": ".chakra-modal__header",
|
|
7
|
+
"modal body": ".chakra-modal__body",
|
|
8
|
+
"modal footer": ".chakra-modal__footer",
|
|
9
|
+
"modal close": ".chakra-modal__close-btn",
|
|
10
|
+
"sidebar": ".chakra-modal__content[role=\"dialog\"]",
|
|
11
|
+
"primary button": "button.chakra-button[data-theme=\"colorScheme=blue\"], button[data-variant=\"solid\"]",
|
|
12
|
+
"secondary button": "button[data-variant=\"outline\"]",
|
|
13
|
+
"ghost button": "button[data-variant=\"ghost\"]",
|
|
14
|
+
"link button": "button[data-variant=\"link\"]",
|
|
15
|
+
"icon button": ".chakra-icon-button",
|
|
16
|
+
"alert": ".chakra-alert",
|
|
17
|
+
"notice info": ".chakra-alert[data-status=\"info\"]",
|
|
18
|
+
"notice success": ".chakra-alert[data-status=\"success\"]",
|
|
19
|
+
"notice warning": ".chakra-alert[data-status=\"warning\"]",
|
|
20
|
+
"notice error": ".chakra-alert[data-status=\"error\"]",
|
|
21
|
+
"toast": ".chakra-toast",
|
|
22
|
+
"form input": ".chakra-form-control, .chakra-input",
|
|
23
|
+
"form label": ".chakra-form__label",
|
|
24
|
+
"form helper": ".chakra-form__helper-text",
|
|
25
|
+
"form error": ".chakra-form__error-message",
|
|
26
|
+
"input invalid": ".chakra-input[aria-invalid=\"true\"]",
|
|
27
|
+
"form textarea": ".chakra-textarea",
|
|
28
|
+
"select": ".chakra-select",
|
|
29
|
+
"checkbox": ".chakra-checkbox",
|
|
30
|
+
"checkbox checked": ".chakra-checkbox[data-checked]",
|
|
31
|
+
"radio": ".chakra-radio",
|
|
32
|
+
"switch": ".chakra-switch",
|
|
33
|
+
"menu": ".chakra-menu__menu-list",
|
|
34
|
+
"main nav item": ".chakra-menu__menuitem",
|
|
35
|
+
"tabs": ".chakra-tabs",
|
|
36
|
+
"tab list": ".chakra-tabs__tablist",
|
|
37
|
+
"tab item": ".chakra-tabs__tab",
|
|
38
|
+
"active tab": ".chakra-tabs__tab[aria-selected=\"true\"]",
|
|
39
|
+
"tab content": ".chakra-tabs__tab-panel",
|
|
40
|
+
"data table": ".chakra-table",
|
|
41
|
+
"card": ".chakra-card",
|
|
42
|
+
"badge": ".chakra-badge",
|
|
43
|
+
"tag": ".chakra-tag",
|
|
44
|
+
"tooltip": ".chakra-tooltip",
|
|
45
|
+
"popover": ".chakra-popover__content",
|
|
46
|
+
"spinner": ".chakra-spinner",
|
|
47
|
+
"skeleton": ".chakra-skeleton",
|
|
48
|
+
"breadcrumb": ".chakra-breadcrumb",
|
|
49
|
+
"stat": ".chakra-stat",
|
|
50
|
+
"accordion": ".chakra-accordion",
|
|
51
|
+
"accordion item": ".chakra-accordion__item",
|
|
52
|
+
"accordion button": ".chakra-accordion__button"
|
|
53
|
+
},
|
|
54
|
+
"xpath": {
|
|
55
|
+
"primary button": "//button[contains(@class,'chakra-button')][@data-variant='solid']",
|
|
56
|
+
"first table row": "(//*[contains(@class,'chakra-table')]//tbody/tr)[1]"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": {
|
|
3
|
+
"modal": ".reveal[aria-hidden=\"false\"], [role=\"dialog\"]",
|
|
4
|
+
"modal overlay": ".reveal-overlay",
|
|
5
|
+
"modal close": ".close-button",
|
|
6
|
+
"header bar": ".top-bar",
|
|
7
|
+
"menu": ".menu",
|
|
8
|
+
"menu item active": ".menu .is-active",
|
|
9
|
+
"primary button": ".button.primary, .button.success",
|
|
10
|
+
"secondary button": ".button.secondary, .button.hollow",
|
|
11
|
+
"danger button": ".button.alert",
|
|
12
|
+
"warning button": ".button.warning",
|
|
13
|
+
"notice info": ".callout.primary, .callout.secondary",
|
|
14
|
+
"notice success": ".callout.success",
|
|
15
|
+
"notice error": ".callout.alert",
|
|
16
|
+
"notice warning": ".callout.warning",
|
|
17
|
+
"form input": "input.input-group-field, input[type='text'], input[type='email']",
|
|
18
|
+
"form label": "label, .label",
|
|
19
|
+
"form error": ".form-error.is-visible",
|
|
20
|
+
"is invalid input": ".is-invalid-input",
|
|
21
|
+
"switch": ".switch",
|
|
22
|
+
"tabs": ".tabs",
|
|
23
|
+
"tab item": ".tabs-title",
|
|
24
|
+
"active tab": ".tabs-title.is-active",
|
|
25
|
+
"tab content": ".tabs-panel.is-active",
|
|
26
|
+
"accordion": ".accordion",
|
|
27
|
+
"accordion item": ".accordion-item",
|
|
28
|
+
"active accordion": ".accordion-item.is-active",
|
|
29
|
+
"card": ".card",
|
|
30
|
+
"card section": ".card-section",
|
|
31
|
+
"card divider": ".card-divider",
|
|
32
|
+
"data table": "table, table.striped, table.hover",
|
|
33
|
+
"breadcrumbs": ".breadcrumbs",
|
|
34
|
+
"active breadcrumb": ".breadcrumbs li.disabled",
|
|
35
|
+
"pagination": ".pagination",
|
|
36
|
+
"current page": ".pagination .current",
|
|
37
|
+
"badge": ".badge",
|
|
38
|
+
"tooltip": ".has-tip",
|
|
39
|
+
"dropdown": ".dropdown-pane",
|
|
40
|
+
"dropdown open": ".dropdown-pane.is-open",
|
|
41
|
+
"off canvas": ".off-canvas",
|
|
42
|
+
"off canvas open": ".is-open-right, .is-open-left",
|
|
43
|
+
"orbit": ".orbit",
|
|
44
|
+
"row": ".row, .grid-x",
|
|
45
|
+
"container": ".grid-container"
|
|
46
|
+
},
|
|
47
|
+
"xpath": {
|
|
48
|
+
"primary button": "//button[contains(@class,'button') and contains(@class,'primary')]",
|
|
49
|
+
"first card": "(//*[contains(@class,'card')])[1]"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": {
|
|
3
|
+
"modal": ".MuiDialog-root, .MuiModal-root, [role=\"dialog\"]",
|
|
4
|
+
"dialog": ".MuiDialog-paper",
|
|
5
|
+
"dialog title": ".MuiDialogTitle-root",
|
|
6
|
+
"dialog content": ".MuiDialogContent-root",
|
|
7
|
+
"dialog actions": ".MuiDialogActions-root",
|
|
8
|
+
"backdrop": ".MuiBackdrop-root",
|
|
9
|
+
"header bar": ".MuiAppBar-root",
|
|
10
|
+
"toolbar": ".MuiToolbar-root",
|
|
11
|
+
"sidebar": ".MuiDrawer-root",
|
|
12
|
+
"drawer paper": ".MuiDrawer-paper",
|
|
13
|
+
"main nav": ".MuiAppBar-root, nav.MuiBox-root",
|
|
14
|
+
"primary button": ".MuiButton-containedPrimary, .MuiButton-contained.MuiButton-colorPrimary",
|
|
15
|
+
"secondary button": ".MuiButton-containedSecondary, .MuiButton-outlined",
|
|
16
|
+
"text button": ".MuiButton-text",
|
|
17
|
+
"danger button": ".MuiButton-containedError",
|
|
18
|
+
"icon button": ".MuiIconButton-root",
|
|
19
|
+
"fab": ".MuiFab-root",
|
|
20
|
+
"notice success": ".MuiAlert-standardSuccess, .MuiAlert-filledSuccess",
|
|
21
|
+
"notice error": ".MuiAlert-standardError, .MuiAlert-filledError",
|
|
22
|
+
"notice warning": ".MuiAlert-standardWarning",
|
|
23
|
+
"notice info": ".MuiAlert-standardInfo",
|
|
24
|
+
"snackbar": ".MuiSnackbar-root",
|
|
25
|
+
"form input": ".MuiTextField-root, .MuiInputBase-root, .MuiInputBase-input",
|
|
26
|
+
"input outlined": ".MuiOutlinedInput-root",
|
|
27
|
+
"input filled": ".MuiFilledInput-root",
|
|
28
|
+
"form label": ".MuiInputLabel-root",
|
|
29
|
+
"form helper": ".MuiFormHelperText-root",
|
|
30
|
+
"form error": ".MuiFormHelperText-root.Mui-error",
|
|
31
|
+
"select": ".MuiSelect-select",
|
|
32
|
+
"main nav item": ".MuiMenuItem-root",
|
|
33
|
+
"menu list": ".MuiMenu-list",
|
|
34
|
+
"checkbox": ".MuiCheckbox-root",
|
|
35
|
+
"checkbox checked": ".MuiCheckbox-root.Mui-checked",
|
|
36
|
+
"radio": ".MuiRadio-root",
|
|
37
|
+
"radio checked": ".MuiRadio-root.Mui-checked",
|
|
38
|
+
"switch": ".MuiSwitch-root",
|
|
39
|
+
"switch checked": ".MuiSwitch-root .Mui-checked",
|
|
40
|
+
"data table": ".MuiTable-root, .MuiDataGrid-root",
|
|
41
|
+
"table header": ".MuiTableHead-root",
|
|
42
|
+
"table body": ".MuiTableBody-root",
|
|
43
|
+
"table row": ".MuiTableRow-root, .MuiDataGrid-row",
|
|
44
|
+
"table row cell": ".MuiTableCell-root",
|
|
45
|
+
"tabs": ".MuiTabs-root",
|
|
46
|
+
"tab item": ".MuiTab-root",
|
|
47
|
+
"active tab": ".MuiTab-root.Mui-selected",
|
|
48
|
+
"card": ".MuiCard-root",
|
|
49
|
+
"card content": ".MuiCardContent-root",
|
|
50
|
+
"card actions": ".MuiCardActions-root",
|
|
51
|
+
"data list": ".MuiList-root",
|
|
52
|
+
"list item": ".MuiListItem-root",
|
|
53
|
+
"list item button": ".MuiListItemButton-root",
|
|
54
|
+
"selected list": ".MuiListItem-root.Mui-selected, .MuiListItemButton-root.Mui-selected",
|
|
55
|
+
"chip": ".MuiChip-root",
|
|
56
|
+
"badge": ".MuiBadge-badge",
|
|
57
|
+
"tooltip": ".MuiTooltip-tooltip",
|
|
58
|
+
"popover": ".MuiPopover-paper",
|
|
59
|
+
"menu paper": ".MuiMenu-paper",
|
|
60
|
+
"spinner": ".MuiCircularProgress-root",
|
|
61
|
+
"linear progress": ".MuiLinearProgress-root",
|
|
62
|
+
"skeleton": ".MuiSkeleton-root",
|
|
63
|
+
"breadcrumbs": ".MuiBreadcrumbs-root",
|
|
64
|
+
"pagination": ".MuiPagination-root",
|
|
65
|
+
"stepper": ".MuiStepper-root"
|
|
66
|
+
},
|
|
67
|
+
"xpath": {
|
|
68
|
+
"primary button": "//button[contains(@class,'MuiButton-containedPrimary')]",
|
|
69
|
+
"first dialog": "(//div[contains(@class,'MuiDialog-paper')])[1]",
|
|
70
|
+
"selected list": "//*[contains(@class,'MuiListItem-root') and contains(@class,'Mui-selected')]"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": {
|
|
3
|
+
"modal": "[role=\"dialog\"], [data-state=\"open\"][role=\"dialog\"]",
|
|
4
|
+
"dialog overlay": "[data-radix-dialog-overlay], [data-radix-popover-overlay]",
|
|
5
|
+
"dialog content": "[data-radix-dialog-content]",
|
|
6
|
+
"dialog title": "[data-radix-dialog-title]",
|
|
7
|
+
"dialog description": "[data-radix-dialog-description]",
|
|
8
|
+
"dialog close": "[data-radix-dialog-close]",
|
|
9
|
+
"sheet": "[data-radix-dialog-content][data-side]",
|
|
10
|
+
"primary button": "button[data-variant=\"default\"], button.bg-primary",
|
|
11
|
+
"secondary button": "button[data-variant=\"secondary\"], button[data-variant=\"outline\"]",
|
|
12
|
+
"danger button": "button[data-variant=\"destructive\"]",
|
|
13
|
+
"ghost button": "button[data-variant=\"ghost\"]",
|
|
14
|
+
"link button": "button[data-variant=\"link\"]",
|
|
15
|
+
"alert": "[role=\"alert\"]",
|
|
16
|
+
"alert destructive": "[role=\"alert\"].border-destructive",
|
|
17
|
+
"toast": "[data-sonner-toast], [role=\"status\"][data-radix-toast-root]",
|
|
18
|
+
"form input": "input[class*='bg-background']",
|
|
19
|
+
"form label": "label[for]",
|
|
20
|
+
"select trigger": "[data-radix-select-trigger]",
|
|
21
|
+
"select content": "[data-radix-select-content]",
|
|
22
|
+
"select item": "[data-radix-select-item]",
|
|
23
|
+
"checkbox": "[data-radix-checkbox-root]",
|
|
24
|
+
"checkbox checked": "[data-radix-checkbox-root][data-state=\"checked\"]",
|
|
25
|
+
"radio": "[data-radix-radio-group-item]",
|
|
26
|
+
"switch": "[data-radix-switch-root]",
|
|
27
|
+
"switch checked": "[data-radix-switch-root][data-state=\"checked\"]",
|
|
28
|
+
"popover content": "[data-radix-popover-content]",
|
|
29
|
+
"tooltip content": "[data-radix-tooltip-content]",
|
|
30
|
+
"dropdown menu": "[data-radix-dropdown-menu-content]",
|
|
31
|
+
"dropdown menu item": "[data-radix-dropdown-menu-item]",
|
|
32
|
+
"tabs": "[role=\"tablist\"]",
|
|
33
|
+
"tab item": "[role=\"tab\"]",
|
|
34
|
+
"active tab": "[role=\"tab\"][data-state=\"active\"]",
|
|
35
|
+
"tab content": "[role=\"tabpanel\"]",
|
|
36
|
+
"card": "[class*='rounded-lg'][class*='border'][class*='bg-card']",
|
|
37
|
+
"accordion item": "[data-radix-accordion-item]",
|
|
38
|
+
"accordion trigger": "[data-radix-accordion-trigger]",
|
|
39
|
+
"accordion content": "[data-radix-accordion-content]",
|
|
40
|
+
"command": "[cmdk-root]",
|
|
41
|
+
"command input": "[cmdk-input]",
|
|
42
|
+
"command item": "[cmdk-item]",
|
|
43
|
+
"data table": "table.w-full",
|
|
44
|
+
"skeleton": ".animate-pulse",
|
|
45
|
+
"spinner": ".animate-spin"
|
|
46
|
+
},
|
|
47
|
+
"xpath": {
|
|
48
|
+
"primary button": "//button[contains(@class,'bg-primary')]",
|
|
49
|
+
"first dialog": "(//*[@role='dialog'])[1]"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": {
|
|
3
|
+
"modal": "[role=\"dialog\"], dialog[open]",
|
|
4
|
+
"modal backdrop": ".fixed.inset-0.bg-black",
|
|
5
|
+
"main nav": "nav, header nav",
|
|
6
|
+
"primary button": "button.bg-blue-600, button.bg-indigo-600, button[class*='bg-primary']",
|
|
7
|
+
"secondary button": "button.bg-gray-600, button.bg-slate-600, button.border.bg-transparent",
|
|
8
|
+
"danger button": "button.bg-red-600, button.bg-rose-600",
|
|
9
|
+
"ghost button": "button.bg-transparent",
|
|
10
|
+
"alert": "[role=\"alert\"]",
|
|
11
|
+
"notice success": "[role=\"alert\"].bg-green-50, [role=\"alert\"].bg-emerald-50",
|
|
12
|
+
"notice error": "[role=\"alert\"].bg-red-50, [role=\"alert\"].bg-rose-50",
|
|
13
|
+
"notice warning": "[role=\"alert\"].bg-yellow-50, [role=\"alert\"].bg-amber-50",
|
|
14
|
+
"notice info": "[role=\"alert\"].bg-blue-50, [role=\"alert\"].bg-sky-50",
|
|
15
|
+
"card": ".rounded-lg.shadow, .rounded-xl.shadow",
|
|
16
|
+
"form input": "input.rounded-md, input.border-gray-300",
|
|
17
|
+
"form select": "select.rounded-md",
|
|
18
|
+
"form label": "label.font-medium, label.text-sm",
|
|
19
|
+
"form error": ".text-red-600, .text-red-500",
|
|
20
|
+
"data table": "table.min-w-full, table.divide-y",
|
|
21
|
+
"table header": "thead.bg-gray-50",
|
|
22
|
+
"table row": "tbody tr",
|
|
23
|
+
"tabs": "[role=\"tablist\"]",
|
|
24
|
+
"tab item": "[role=\"tab\"]",
|
|
25
|
+
"active tab": "[role=\"tab\"][aria-selected=\"true\"]",
|
|
26
|
+
"tab content": "[role=\"tabpanel\"]",
|
|
27
|
+
"dropdown menu": "[role=\"menu\"]",
|
|
28
|
+
"dropdown item": "[role=\"menuitem\"]",
|
|
29
|
+
"badge": ".inline-flex.rounded-full.text-xs",
|
|
30
|
+
"spinner": ".animate-spin",
|
|
31
|
+
"skeleton": ".animate-pulse",
|
|
32
|
+
"container": ".container, .max-w-7xl.mx-auto",
|
|
33
|
+
"section": "section",
|
|
34
|
+
"screen reader only": ".sr-only"
|
|
35
|
+
},
|
|
36
|
+
"xpath": {
|
|
37
|
+
"primary button": "//button[contains(@class,'bg-blue-') or contains(@class,'bg-indigo-')]",
|
|
38
|
+
"first card": "(//*[contains(@class,'rounded-lg') and contains(@class,'shadow')])[1]"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": {
|
|
3
|
+
"modal": ".v-dialog, .v-overlay--active [role=\"dialog\"]",
|
|
4
|
+
"dialog": ".v-dialog .v-card",
|
|
5
|
+
"dialog overlay": ".v-overlay__scrim",
|
|
6
|
+
"dialog content": ".v-card-text",
|
|
7
|
+
"dialog actions": ".v-card-actions",
|
|
8
|
+
"header bar": ".v-app-bar, .v-toolbar.v-app-bar",
|
|
9
|
+
"sidebar": ".v-navigation-drawer",
|
|
10
|
+
"primary button": ".v-btn--variant-elevated.text-primary, .v-btn.bg-primary",
|
|
11
|
+
"secondary button": ".v-btn--variant-flat, .v-btn--variant-outlined, .v-btn--variant-tonal",
|
|
12
|
+
"text button": ".v-btn--variant-text",
|
|
13
|
+
"icon button": ".v-btn--icon",
|
|
14
|
+
"fab": ".v-btn--fab",
|
|
15
|
+
"alert": ".v-alert",
|
|
16
|
+
"notice success": ".v-alert.text-success, .v-alert.bg-success",
|
|
17
|
+
"notice error": ".v-alert.text-error, .v-alert.bg-error",
|
|
18
|
+
"notice warning": ".v-alert.text-warning",
|
|
19
|
+
"notice info": ".v-alert.text-info",
|
|
20
|
+
"snackbar": ".v-snackbar",
|
|
21
|
+
"form input": ".v-text-field, .v-field, .v-field__input",
|
|
22
|
+
"form label": ".v-field-label",
|
|
23
|
+
"input outlined": ".v-field--variant-outlined",
|
|
24
|
+
"input filled": ".v-field--variant-filled",
|
|
25
|
+
"input error": ".v-input--error",
|
|
26
|
+
"messages": ".v-messages",
|
|
27
|
+
"select": ".v-select",
|
|
28
|
+
"select menu": ".v-select__content",
|
|
29
|
+
"select item": ".v-list-item",
|
|
30
|
+
"checkbox": ".v-checkbox",
|
|
31
|
+
"radio": ".v-radio",
|
|
32
|
+
"switch": ".v-switch",
|
|
33
|
+
"data table": ".v-table, .v-data-table",
|
|
34
|
+
"data table row": ".v-data-table__tr",
|
|
35
|
+
"tabs": ".v-tabs",
|
|
36
|
+
"tab item": ".v-tab",
|
|
37
|
+
"active tab": ".v-tab.v-tab--selected",
|
|
38
|
+
"card": ".v-card",
|
|
39
|
+
"card title": ".v-card-title",
|
|
40
|
+
"card subtitle": ".v-card-subtitle",
|
|
41
|
+
"card actions": ".v-card-actions",
|
|
42
|
+
"data list": ".v-list",
|
|
43
|
+
"list item": ".v-list-item",
|
|
44
|
+
"active list item": ".v-list-item--active",
|
|
45
|
+
"menu": ".v-menu .v-overlay__content",
|
|
46
|
+
"chip": ".v-chip",
|
|
47
|
+
"badge": ".v-badge__badge",
|
|
48
|
+
"tooltip": ".v-tooltip > .v-overlay__content",
|
|
49
|
+
"spinner": ".v-progress-circular",
|
|
50
|
+
"linear progress": ".v-progress-linear",
|
|
51
|
+
"skeleton": ".v-skeleton-loader",
|
|
52
|
+
"breadcrumbs": ".v-breadcrumbs",
|
|
53
|
+
"pagination": ".v-pagination",
|
|
54
|
+
"stepper": ".v-stepper",
|
|
55
|
+
"expansion panel": ".v-expansion-panel"
|
|
56
|
+
},
|
|
57
|
+
"xpath": {
|
|
58
|
+
"primary button": "//button[contains(@class,'v-btn') and contains(@class,'bg-primary')]",
|
|
59
|
+
"first dialog": "(//div[contains(@class,'v-dialog')])[1]"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": {
|
|
3
|
+
"page heading": "h1",
|
|
4
|
+
"second level": "h2",
|
|
5
|
+
"third level": "h3",
|
|
6
|
+
"first list": "ul:first-of-type",
|
|
7
|
+
"first list item": "ul:first-of-type li:first-child",
|
|
8
|
+
"page body": "body"
|
|
9
|
+
},
|
|
10
|
+
"xpath": {
|
|
11
|
+
"first heading": "//h1[1]",
|
|
12
|
+
"first subline": "//h3[1]",
|
|
13
|
+
"first list xp": "//ul[1]",
|
|
14
|
+
"first list item xp": "//ul[1]/li[1]"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": {
|
|
3
|
+
"homepage heading": "h1",
|
|
4
|
+
"homepage subline": "h3",
|
|
5
|
+
"homepage list": "ul:first-of-type",
|
|
6
|
+
"homepage body": "body"
|
|
7
|
+
},
|
|
8
|
+
"xpath": {
|
|
9
|
+
"homepage first heading": "//h1[1]",
|
|
10
|
+
"homepage first subline": "//h3[1]",
|
|
11
|
+
"homepage first list item": "//ul[1]/li[1]"
|
|
12
|
+
}
|
|
13
|
+
}
|