xmlui 0.10.12 → 0.10.14

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.
Files changed (209) hide show
  1. package/dist/lib/{index-CDOoBf2R.mjs → index-779mp2Bm.mjs} +1508 -1287
  2. package/dist/lib/index.css +1 -1
  3. package/dist/lib/{initMock-BAV9RKui.mjs → initMock-CAXdczCj.mjs} +1 -1
  4. package/dist/lib/scss/components-core/theming/_themes.scss +1 -1
  5. package/dist/lib/xmlui.d.ts +17 -2
  6. package/dist/lib/xmlui.mjs +33 -32
  7. package/dist/metadata/{collectedComponentMetadata-Dp8BqWQO.mjs → collectedComponentMetadata-7DFXlw-J.mjs} +14957 -14751
  8. package/dist/metadata/{initMock-BvEO8W8r.mjs → initMock-AFWEftc6.mjs} +1 -1
  9. package/dist/metadata/style.css +1 -1
  10. package/dist/metadata/xmlui-metadata.mjs +1 -1
  11. package/dist/metadata/xmlui-metadata.umd.js +3 -3
  12. package/dist/scripts/bin/build-lib.js +21 -13
  13. package/dist/scripts/bin/viteConfig.js +3 -1
  14. package/dist/scripts/package.json +1 -1
  15. package/dist/scripts/src/abstractions/scripting/Token.js +2 -0
  16. package/dist/scripts/src/abstractions/scripting/TryScope.js +2 -0
  17. package/dist/scripts/src/abstractions/scripting/modules.js +2 -0
  18. package/dist/scripts/src/components/APICall/APICall.spec.js +910 -0
  19. package/dist/scripts/src/components/Accordion/Accordion.spec.js +969 -0
  20. package/dist/scripts/src/components/Animation/Animation.js +50 -0
  21. package/dist/scripts/src/components/App/App.spec.js +219 -0
  22. package/dist/scripts/src/components/AppHeader/AppHeader.spec.js +169 -0
  23. package/dist/scripts/src/components/AppState/AppState.spec.js +268 -0
  24. package/dist/scripts/src/components/AutoComplete/AutoComplete.spec.js +383 -0
  25. package/dist/scripts/src/components/Avatar/Avatar.spec.js +1543 -0
  26. package/dist/scripts/src/components/Backdrop/Backdrop.spec.js +131 -0
  27. package/dist/scripts/src/components/Badge/Badge.spec.js +2214 -0
  28. package/dist/scripts/src/components/Bookmark/Bookmark.spec.js +230 -0
  29. package/dist/scripts/src/components/Breakout/Breakout.spec.js +56 -0
  30. package/dist/scripts/src/components/Button/Button-style.spec.js +274 -0
  31. package/dist/scripts/src/components/Button/Button.spec.js +454 -0
  32. package/dist/scripts/src/components/Card/Card.spec.js +150 -0
  33. package/dist/scripts/src/components/Carousel/Carousel.spec.js +343 -0
  34. package/dist/scripts/src/components/Carousel/CarouselNative.js +2 -2
  35. package/dist/scripts/src/components/ChangeListener/ChangeListener.spec.js +169 -0
  36. package/dist/scripts/src/components/Charts/AreaChart/AreaChart.spec.js +999 -0
  37. package/dist/scripts/src/components/Charts/BarChart/BarChart.spec.js +597 -0
  38. package/dist/scripts/src/components/Charts/DonutChart/DonutChart.spec.js +608 -0
  39. package/dist/scripts/src/components/Charts/LabelList/LabelList.spec.js +539 -0
  40. package/dist/scripts/src/components/Charts/Legend/Legend.spec.js +558 -0
  41. package/dist/scripts/src/components/Charts/LineChart/LineChart.spec.js +450 -0
  42. package/dist/scripts/src/components/Charts/PieChart/PieChart.spec.js +584 -0
  43. package/dist/scripts/src/components/Charts/RadarChart/RadarChart.spec.js +571 -0
  44. package/dist/scripts/src/components/Charts/Tooltip/TooltipContent.spec.js +449 -0
  45. package/dist/scripts/src/components/Checkbox/Checkbox.spec.js +964 -0
  46. package/dist/scripts/src/components/CodeBlock/CodeBlock.spec.js +196 -0
  47. package/dist/scripts/src/components/ColorPicker/ColorPicker.js +3 -3
  48. package/dist/scripts/src/components/ColorPicker/ColorPicker.spec.js +283 -0
  49. package/dist/scripts/src/components/ColorPicker/ColorPickerNative.js +16 -5
  50. package/dist/scripts/src/components/Column/doc-resources/list-component-data.js +53 -0
  51. package/dist/scripts/src/components/ComponentProvider.js +6 -6
  52. package/dist/scripts/src/components/ContentSeparator/ContentSeparator.spec.js +338 -0
  53. package/dist/scripts/src/components/DateInput/DateInput.spec.js +918 -0
  54. package/dist/scripts/src/components/DatePicker/DatePicker.spec.js +362 -0
  55. package/dist/scripts/src/components/DatePicker/DatePickerNative.js +3 -3
  56. package/dist/scripts/src/components/DropdownMenu/DropdownMenu.spec.js +331 -0
  57. package/dist/scripts/src/components/DropdownMenu/DropdownMenuNative.js +1 -1
  58. package/dist/scripts/src/components/EmojiSelector/EmojiSelector.spec.js +29 -0
  59. package/dist/scripts/src/components/ExpandableItem/ExpandableItem.spec.js +435 -0
  60. package/dist/scripts/src/components/FileInput/FileInput.spec.js +249 -0
  61. package/dist/scripts/src/components/FileInput/FileInputNative.js +14 -10
  62. package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZone.spec.js +296 -0
  63. package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZoneNative.js +1 -1
  64. package/dist/scripts/src/components/FlowLayout/FlowLayout.spec.js +518 -0
  65. package/dist/scripts/src/components/Footer/Footer.spec.js +991 -0
  66. package/dist/scripts/src/components/Form/Form.js +6 -0
  67. package/dist/scripts/src/components/Form/Form.spec.js +1257 -0
  68. package/dist/scripts/src/components/Form/FormNative.js +13 -3
  69. package/dist/scripts/src/components/FormItem/FormItem.spec.js +723 -0
  70. package/dist/scripts/src/components/FormItem/ItemWithLabel.js +2 -2
  71. package/dist/scripts/src/components/FormSection/FormSection.js +6 -31
  72. package/dist/scripts/src/components/Fragment/Fragment.js +5 -1
  73. package/dist/scripts/src/components/Fragment/Fragment.spec.js +50 -0
  74. package/dist/scripts/src/components/Heading/H1.spec.js +66 -0
  75. package/dist/scripts/src/components/Heading/H2.spec.js +66 -0
  76. package/dist/scripts/src/components/Heading/H3.spec.js +66 -0
  77. package/dist/scripts/src/components/Heading/H4.spec.js +66 -0
  78. package/dist/scripts/src/components/Heading/H5.spec.js +66 -0
  79. package/dist/scripts/src/components/Heading/H6.spec.js +66 -0
  80. package/dist/scripts/src/components/Heading/Heading.js +0 -12
  81. package/dist/scripts/src/components/Heading/Heading.spec.js +897 -0
  82. package/dist/scripts/src/components/HtmlTags/HtmlTags.spec.js +69 -0
  83. package/dist/scripts/src/components/IFrame/IFrame.spec.js +527 -0
  84. package/dist/scripts/src/components/Icon/ArrowDropDown.js +11 -0
  85. package/dist/scripts/src/components/Icon/ArrowDropUp.js +11 -0
  86. package/dist/scripts/src/components/Icon/ArrowLeft.js +11 -0
  87. package/dist/scripts/src/components/Icon/ArrowRight.js +11 -0
  88. package/dist/scripts/src/components/Icon/ChevronDownIcon.js +7 -0
  89. package/dist/scripts/src/components/Icon/ChevronUpIcon.js +7 -0
  90. package/dist/scripts/src/components/Icon/Icon.spec.js +527 -0
  91. package/dist/scripts/src/components/Icon/SunIcon.js +10 -0
  92. package/dist/scripts/src/components/Image/Image.js +2 -1
  93. package/dist/scripts/src/components/Image/Image.spec.js +198 -0
  94. package/dist/scripts/src/components/Image/ImageNative.js +30 -2
  95. package/dist/scripts/src/components/Input/InputLabel.js +25 -0
  96. package/dist/scripts/src/components/Input/index.js +5 -0
  97. package/dist/scripts/src/components/Items/Items.spec.js +397 -0
  98. package/dist/scripts/src/components/Link/Link.spec.js +894 -0
  99. package/dist/scripts/src/components/List/List.spec.js +927 -0
  100. package/dist/scripts/src/components/List/doc-resources/list-component-data.js +53 -0
  101. package/dist/scripts/src/components/Markdown/Markdown.spec.js +188 -0
  102. package/dist/scripts/src/components/ModalDialog/ModalDialog.js +1 -1
  103. package/dist/scripts/src/components/ModalDialog/ModalDialog.spec.js +162 -0
  104. package/dist/scripts/src/components/ModalDialog/ModalDialogNative.js +1 -1
  105. package/dist/scripts/src/components/NavGroup/NavGroup.spec.js +153 -0
  106. package/dist/scripts/src/components/NavGroup/NavGroupNative.js +2 -2
  107. package/dist/scripts/src/components/NavLink/NavLink.spec.js +864 -0
  108. package/dist/scripts/src/components/NavPanel/NavPanel.spec.js +864 -0
  109. package/dist/scripts/src/components/NoResult/NoResult.spec.js +863 -0
  110. package/dist/scripts/src/components/NumberBox/NumberBox.spec.js +1231 -0
  111. package/dist/scripts/src/components/Option/Option.spec.js +472 -0
  112. package/dist/scripts/src/components/PageMetaTitle/PageMetaTitle.spec.js +80 -0
  113. package/dist/scripts/src/components/Pagination/Pagination.spec.js +1003 -0
  114. package/dist/scripts/src/components/ProfileMenu/ProfileMenu.js +20 -0
  115. package/dist/scripts/src/components/ProgressBar/ProgressBar.spec.js +166 -0
  116. package/dist/scripts/src/components/Queue/Queue.spec.js +626 -0
  117. package/dist/scripts/src/components/RadioGroup/RadioGroup.spec.js +479 -0
  118. package/dist/scripts/src/components/RadioGroup/RadioGroupNative.js +17 -1
  119. package/dist/scripts/src/components/Redirect/Redirect.spec.js +527 -0
  120. package/dist/scripts/src/components/ResponsiveBar/ResponsiveBar.spec.js +76 -0
  121. package/dist/scripts/src/components/Select/Select.spec.js +527 -0
  122. package/dist/scripts/src/components/Slider/Slider.js +2 -0
  123. package/dist/scripts/src/components/Slider/Slider.spec.js +574 -0
  124. package/dist/scripts/src/components/Slider/SliderNative.js +62 -25
  125. package/dist/scripts/src/components/Slot/Slot.spec.js +368 -0
  126. package/dist/scripts/src/components/SpaceFiller/SpaceFiller.spec.js +184 -0
  127. package/dist/scripts/src/components/Spinner/Spinner.spec.js +161 -0
  128. package/dist/scripts/src/components/Splitter/HSplitter.spec.js +104 -0
  129. package/dist/scripts/src/components/Splitter/Splitter.spec.js +543 -0
  130. package/dist/scripts/src/components/Splitter/VSplitter.spec.js +104 -0
  131. package/dist/scripts/src/components/Stack/CHStack.spec.js +86 -0
  132. package/dist/scripts/src/components/Stack/CVStack.spec.js +86 -0
  133. package/dist/scripts/src/components/Stack/HStack.spec.js +67 -0
  134. package/dist/scripts/src/components/Stack/Stack.spec.js +654 -0
  135. package/dist/scripts/src/components/Stack/VStack.spec.js +67 -0
  136. package/dist/scripts/src/components/Switch/Switch.spec.js +829 -0
  137. package/dist/scripts/src/components/Table/Table.js +8 -5
  138. package/dist/scripts/src/components/Table/Table.spec.js +555 -0
  139. package/dist/scripts/src/components/Table/TableNative.js +1 -1
  140. package/dist/scripts/src/components/Table/doc-resources/list-component-data.js +53 -0
  141. package/dist/scripts/src/components/TableOfContents/TableOfContents.spec.js +838 -0
  142. package/dist/scripts/src/components/Tabs/Tabs.spec.js +875 -0
  143. package/dist/scripts/src/components/Text/Text.js +0 -13
  144. package/dist/scripts/src/components/Text/Text.spec.js +1075 -0
  145. package/dist/scripts/src/components/TextArea/TextArea.spec.js +714 -0
  146. package/dist/scripts/src/components/TextArea/TextAreaNative.js +8 -1
  147. package/dist/scripts/src/components/TextBox/TextBox.spec.js +643 -0
  148. package/dist/scripts/src/components/Theme/NotificationToast.js +4 -1
  149. package/dist/scripts/src/components/Theme/Theme.spec.js +124 -0
  150. package/dist/scripts/src/components/TimeInput/TimeInput.spec.js +1122 -0
  151. package/dist/scripts/src/components/Timer/Timer.spec.js +358 -0
  152. package/dist/scripts/src/components/ToneChangerButton/ToneChangerButton.spec.js +414 -0
  153. package/dist/scripts/src/components/ToneSwitch/ToneSwitch.spec.js +89 -0
  154. package/dist/scripts/src/components/Tooltip/Tooltip.spec.js +418 -0
  155. package/dist/scripts/src/components/chart-color-schemes.js +43 -0
  156. package/dist/scripts/src/components-core/CompoundComponent.js +5 -5
  157. package/dist/scripts/src/components-core/RestApiProxy.js +89 -11
  158. package/dist/scripts/src/components-core/devtools/InspectorDialogVisibilityContext.js +8 -0
  159. package/dist/scripts/src/components-core/renderers.js +31 -0
  160. package/dist/scripts/src/components-core/rendering/ComponentAdapter.js +1 -1
  161. package/dist/scripts/src/components-core/rendering/Container.js +19 -8
  162. package/dist/scripts/src/components-core/rendering/reducer.js +1 -1
  163. package/dist/scripts/src/components-core/script-runner/simplify-expression.js +386 -0
  164. package/dist/scripts/src/components-core/theming/component-layout-resolver.js +153 -0
  165. package/dist/scripts/src/components-core/theming/parse-layout-props.js +98 -0
  166. package/dist/scripts/src/components-core/theming/themes/root.js +13 -20
  167. package/dist/scripts/src/components-core/theming/themes/solid.js +16 -0
  168. package/dist/scripts/src/components-core/utils/audio-utils.js +83 -0
  169. package/dist/scripts/src/index-standalone.js +61 -0
  170. package/dist/scripts/src/index.js +2 -1
  171. package/dist/scripts/src/language-server/server-common.js +151 -0
  172. package/dist/scripts/src/language-server/server-web-worker.js +47 -0
  173. package/dist/scripts/src/language-server/server.js +42 -0
  174. package/dist/scripts/src/language-server/services/common/docs-generation.js +73 -0
  175. package/dist/scripts/src/language-server/services/common/lsp-utils.js +9 -0
  176. package/dist/scripts/src/language-server/services/common/syntax-node-utilities.js +135 -0
  177. package/dist/scripts/src/language-server/services/completion.js +270 -0
  178. package/dist/scripts/src/language-server/services/diagnostic.js +19 -0
  179. package/dist/scripts/src/language-server/services/format.js +430 -0
  180. package/dist/scripts/src/language-server/services/hover.js +164 -0
  181. package/dist/scripts/src/language-server/xmlui-metadata-generated.mjs +16266 -0
  182. package/dist/scripts/src/logging/xmlui.js +21 -0
  183. package/dist/scripts/src/parsers/common/utils.js +19 -0
  184. package/dist/scripts/src/syntax/monaco/grammar.monacoLanguage.js +286 -0
  185. package/dist/scripts/src/syntax/monaco/index.js +14 -0
  186. package/dist/scripts/src/syntax/monaco/xmlui-dark.js +25 -0
  187. package/dist/scripts/src/syntax/monaco/xmlui-light.js +25 -0
  188. package/dist/scripts/src/syntax/monaco/xmluiscript.monacoLanguage.js +310 -0
  189. package/dist/scripts/src/syntax/textMate/index.js +14 -0
  190. package/dist/scripts/src/syntax/textMate/xmlui-dark.json +631 -0
  191. package/dist/scripts/src/syntax/textMate/xmlui-light.json +565 -0
  192. package/dist/scripts/src/syntax/textMate/xmlui.json +564 -0
  193. package/dist/scripts/src/syntax/textMate/xmlui.tmLanguage.json +341 -0
  194. package/dist/scripts/src/testing/ComponentDrivers.js +1355 -0
  195. package/dist/scripts/src/testing/assertions.js +444 -0
  196. package/dist/scripts/src/testing/component-test-helpers.js +389 -0
  197. package/dist/scripts/src/testing/drivers/DateInputDriver.js +19 -0
  198. package/dist/scripts/src/testing/drivers/ModalDialogDriver.js +10 -0
  199. package/dist/scripts/src/testing/drivers/TimeInputDriver.js +22 -0
  200. package/dist/scripts/src/testing/drivers/TimerDriver.js +64 -0
  201. package/dist/scripts/src/testing/fixtures.js +487 -0
  202. package/dist/scripts/src/testing/infrastructure/TestBed.js +17 -0
  203. package/dist/scripts/src/testing/infrastructure/main.js +9 -0
  204. package/dist/scripts/src/testing/infrastructure/public/mockServiceWorker.js +266 -0
  205. package/dist/scripts/src/testing/themed-app-test-helpers.js +139 -0
  206. package/dist/standalone/xmlui-standalone.es.d.ts +19 -2
  207. package/dist/standalone/xmlui-standalone.umd.js +36 -36
  208. package/package.json +1 -1
  209. package/dist/scripts/src/components/RadioGroup/RadioItem.js +0 -28
@@ -0,0 +1,991 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const component_test_helpers_1 = require("../../testing/component-test-helpers");
13
+ const fixtures_1 = require("../../testing/fixtures");
14
+ // =============================================================================
15
+ // BASIC FUNCTIONALITY TESTS
16
+ // =============================================================================
17
+ (0, fixtures_1.test)("component renders with basic content", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
18
+ yield initTestBed(`<App>
19
+ <Footer>
20
+ <Text testId="footer-text">© 2025 Company Name</Text>
21
+ </Footer>
22
+ </App>`);
23
+ yield (0, fixtures_1.expect)(page.getByTestId("footer-text")).toHaveText("© 2025 Company Name");
24
+ }));
25
+ (0, fixtures_1.test)("component renders multiple items correctly", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
26
+ yield initTestBed(`
27
+ <App>
28
+ <Footer>
29
+ <Text testId="footer-1">© 2025 Company Name</Text>
30
+ <Text testId="footer-2">Terms of Service</Text>
31
+ <Text testId="footer-3">Privacy Policy</Text>
32
+ </Footer>
33
+ </App>
34
+ `);
35
+ yield (0, fixtures_1.expect)(page.getByTestId("footer-1")).toHaveText("© 2025 Company Name");
36
+ yield (0, fixtures_1.expect)(page.getByTestId("footer-2")).toHaveText("Terms of Service");
37
+ yield (0, fixtures_1.expect)(page.getByTestId("footer-3")).toHaveText("Privacy Policy");
38
+ }));
39
+ // =============================================================================
40
+ // ACCESSIBILITY TESTS
41
+ // =============================================================================
42
+ (0, fixtures_1.test)("component has correct accessibility attributes", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
43
+ // TODO: review these Copilot-created tests
44
+ yield initTestBed(`
45
+ <App>
46
+ <Footer testId="footer">
47
+ <Text>© 2025 Company Name</Text>
48
+ </Footer>
49
+ </App>
50
+ `, {});
51
+ // Check that the component has the correct role
52
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveAttribute("role", "contentinfo");
53
+ }));
54
+ (0, fixtures_1.test)("component allows interactive elements within it to be focusable", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed, }) {
55
+ yield initTestBed(`
56
+ <App>
57
+ <Footer>
58
+ <Text>© 2025 Company Name</Text>
59
+ <Button testId="button">Contact Us</Button>
60
+ </Footer>
61
+ </App>
62
+ `, {});
63
+ // Button within Footer should be focusable
64
+ const button = page.getByTestId("button");
65
+ yield button.focus();
66
+ yield (0, fixtures_1.expect)(button).toBeFocused();
67
+ // Should be able to activate with keyboard
68
+ yield button.press("Enter");
69
+ yield (0, fixtures_1.expect)(button).toBeVisible(); // Button should still be visible after activation
70
+ }));
71
+ // =============================================================================
72
+ // EDGE CASE TESTS
73
+ // =============================================================================
74
+ (0, fixtures_1.test)("component handles empty content gracefully", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
75
+ yield initTestBed(`<App><Footer testId="footer"></Footer></App>`, {});
76
+ // Component should still render even without children
77
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toBeVisible();
78
+ }));
79
+ (0, fixtures_1.test)("component handles long content correctly", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
80
+ const LONG_TEXT = "This is a very long text content that might cause overflow issues if not handled correctly by the footer component. The component should handle this gracefully.";
81
+ yield initTestBed(`
82
+ <App>
83
+ <Footer>
84
+ <Text testId="footer-text">${LONG_TEXT}</Text>
85
+ </Footer>
86
+ </App>
87
+ `);
88
+ const textElement = page.getByTestId("footer-text");
89
+ yield (0, fixtures_1.expect)(textElement).toBeVisible();
90
+ yield (0, fixtures_1.expect)(textElement).toHaveText(LONG_TEXT);
91
+ }));
92
+ // =============================================================================
93
+ // VISUAL STATE TESTS
94
+ // =============================================================================
95
+ fixtures_1.test.describe("Visual State", () => {
96
+ (0, fixtures_1.test)("component applies theme variables correctly", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
97
+ // TODO: review these Copilot-created tests
98
+ yield initTestBed(`
99
+ <App>
100
+ <Footer testId="footer">
101
+ <Text>© 2025 Company Name</Text>
102
+ </Footer>
103
+ </App>
104
+ `, {
105
+ testThemeVars: {
106
+ "backgroundColor-Footer": "rgb(80, 80, 80)",
107
+ "textColor-Footer": "rgb(255, 0, 0)",
108
+ "borderTop-Footer": "2px solid rgb(200, 200, 200)",
109
+ },
110
+ });
111
+ // Check that theme variables are applied
112
+ const footer = page.getByTestId("footer");
113
+ yield (0, fixtures_1.expect)(footer).toHaveCSS("background-color", "rgb(80, 80, 80)");
114
+ yield (0, fixtures_1.expect)(footer).toHaveCSS("border-top", "2px solid rgb(200, 200, 200)");
115
+ yield (0, fixtures_1.expect)(footer).toHaveCSS("color", "rgb(255, 0, 0)");
116
+ }));
117
+ const FOOTER_ID = "footer";
118
+ const FOOTER_CODE = `<Footer testId="${FOOTER_ID}">"This is a footer."</Footer>`;
119
+ (0, fixtures_1.test)(`height`, (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
120
+ const expectedHeightPx = 100;
121
+ yield initTestBed(FOOTER_CODE, {
122
+ testThemeVars: {
123
+ "height-Footer": expectedHeightPx + "px",
124
+ },
125
+ });
126
+ const { height } = yield (0, component_test_helpers_1.getBounds)(page.getByTestId(FOOTER_ID));
127
+ (0, fixtures_1.expect)(height).toEqualWithTolerance(expectedHeightPx);
128
+ }));
129
+ (0, fixtures_1.test)(`padding`, (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
130
+ const expectedPadding = "10px";
131
+ yield initTestBed(FOOTER_CODE, {
132
+ testThemeVars: {
133
+ "padding-Footer": expectedPadding,
134
+ },
135
+ });
136
+ yield (0, fixtures_1.expect)(page.getByTestId(FOOTER_ID).locator("> div")).toHaveCSS("padding", expectedPadding);
137
+ }));
138
+ (0, fixtures_1.test)("paddingHorizontal", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
139
+ const expectedPadding = "10px";
140
+ yield initTestBed(FOOTER_CODE, {
141
+ testThemeVars: {
142
+ "paddingHorizontal-Footer": expectedPadding,
143
+ },
144
+ });
145
+ yield (0, fixtures_1.expect)(page.getByTestId(FOOTER_ID).locator("> div")).toHaveCSS("padding-left", expectedPadding);
146
+ yield (0, fixtures_1.expect)(page.getByTestId(FOOTER_ID).locator("> div")).toHaveCSS("padding-right", expectedPadding);
147
+ }));
148
+ (0, fixtures_1.test)("paddingVertical", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
149
+ const expectedPadding = "10px";
150
+ yield initTestBed(FOOTER_CODE, {
151
+ testThemeVars: {
152
+ "paddingVertical-Footer": expectedPadding,
153
+ },
154
+ });
155
+ yield (0, fixtures_1.expect)(page.getByTestId(FOOTER_ID).locator("> div")).toHaveCSS("padding-top", expectedPadding);
156
+ yield (0, fixtures_1.expect)(page.getByTestId(FOOTER_ID).locator("> div")).toHaveCSS("padding-bottom", expectedPadding);
157
+ }));
158
+ (0, fixtures_1.test)(`bg-color`, (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
159
+ const expectedBackgroundColor = "rgb(255, 0, 0)";
160
+ yield initTestBed(FOOTER_CODE, {
161
+ testThemeVars: {
162
+ "backgroundColor-Footer": expectedBackgroundColor,
163
+ },
164
+ });
165
+ yield (0, fixtures_1.expect)(page.getByTestId(FOOTER_ID)).toHaveCSS("background-color", expectedBackgroundColor);
166
+ }));
167
+ (0, fixtures_1.test)(`fontSize`, (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
168
+ const expectedFontSizePx = "20px";
169
+ yield initTestBed(FOOTER_CODE, {
170
+ testThemeVars: {
171
+ "fontSize-Footer": expectedFontSizePx,
172
+ },
173
+ });
174
+ yield (0, fixtures_1.expect)(page.getByTestId(FOOTER_ID).locator("> div")).toHaveCSS("font-size", expectedFontSizePx);
175
+ }));
176
+ (0, fixtures_1.test)(`vertical-alignment`, (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
177
+ const expectedAlignment = "center";
178
+ yield initTestBed(FOOTER_CODE, {
179
+ testThemeVars: {
180
+ "vertical-alignment-Footer": expectedAlignment,
181
+ },
182
+ });
183
+ yield (0, fixtures_1.expect)(page.getByTestId(FOOTER_ID).locator("> div")).toHaveCSS("align-items", expectedAlignment);
184
+ }));
185
+ (0, fixtures_1.test)("border", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
186
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
187
+ const EXPECTED_WIDTH = "5px";
188
+ const EXPECTED_STYLE = "dotted";
189
+ yield initTestBed(FOOTER_CODE, {
190
+ testThemeVars: {
191
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
192
+ },
193
+ });
194
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
195
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
196
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
197
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
198
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
199
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
200
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
201
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
202
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
203
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
204
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
205
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
206
+ }));
207
+ (0, fixtures_1.test)("borderLeft", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
208
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
209
+ const EXPECTED_WIDTH = "5px";
210
+ const EXPECTED_STYLE = "dotted";
211
+ yield initTestBed(FOOTER_CODE, {
212
+ testThemeVars: {
213
+ "borderLeft-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
214
+ },
215
+ });
216
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
217
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
218
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
219
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
220
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
221
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
222
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
223
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
224
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
225
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
226
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
227
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
228
+ }));
229
+ (0, fixtures_1.test)("borderRight", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
230
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
231
+ const EXPECTED_WIDTH = "5px";
232
+ const EXPECTED_STYLE = "dotted";
233
+ yield initTestBed(FOOTER_CODE, {
234
+ testThemeVars: {
235
+ "borderRight-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
236
+ },
237
+ });
238
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
239
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
240
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
241
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
242
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
243
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
244
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
245
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
246
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
247
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
248
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
249
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
250
+ }));
251
+ (0, fixtures_1.test)("borderHorizontal", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
252
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
253
+ const EXPECTED_WIDTH = "5px";
254
+ const EXPECTED_STYLE = "dotted";
255
+ yield initTestBed(FOOTER_CODE, {
256
+ testThemeVars: {
257
+ "borderHorizontal-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
258
+ },
259
+ });
260
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
261
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
262
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
263
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
264
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
265
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
266
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
267
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
268
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
269
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
270
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
271
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
272
+ }));
273
+ (0, fixtures_1.test)("borderHorizontal and borderLeft", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
274
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
275
+ const EXPECTED_WIDTH = "5px";
276
+ const EXPECTED_STYLE = "dotted";
277
+ yield initTestBed(FOOTER_CODE, {
278
+ testThemeVars: {
279
+ "borderHorizontal-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
280
+ "borderLeft-Footer": "8px double rgb(0, 128, 0)",
281
+ },
282
+ });
283
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
284
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
285
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
286
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
287
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
288
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
289
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
290
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
291
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
292
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", "rgb(0, 128, 0)");
293
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", "8px");
294
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", "double");
295
+ }));
296
+ (0, fixtures_1.test)("borderHorizontal and borderRight", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
297
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
298
+ const EXPECTED_WIDTH = "5px";
299
+ const EXPECTED_STYLE = "dotted";
300
+ yield initTestBed(FOOTER_CODE, {
301
+ testThemeVars: {
302
+ "borderHorizontal-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
303
+ "borderRight-Footer": "8px double rgb(0, 128, 0)",
304
+ },
305
+ });
306
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
307
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
308
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
309
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", "rgb(0, 128, 0)");
310
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", "8px");
311
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", "double");
312
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
313
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
314
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
315
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
316
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
317
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
318
+ }));
319
+ (0, fixtures_1.test)("borderTop", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
320
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
321
+ const EXPECTED_WIDTH = "5px";
322
+ const EXPECTED_STYLE = "dotted";
323
+ yield initTestBed(FOOTER_CODE, {
324
+ testThemeVars: {
325
+ "borderTop-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
326
+ },
327
+ });
328
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
329
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
330
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
331
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
332
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
333
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
334
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
335
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
336
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
337
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
338
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
339
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
340
+ }));
341
+ (0, fixtures_1.test)("borderBottom", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
342
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
343
+ const EXPECTED_WIDTH = "5px";
344
+ const EXPECTED_STYLE = "dotted";
345
+ yield initTestBed(FOOTER_CODE, {
346
+ testThemeVars: {
347
+ "borderBottom-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
348
+ },
349
+ });
350
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
351
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
352
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
353
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
354
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
355
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
356
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
357
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
358
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
359
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
360
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
361
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
362
+ }));
363
+ (0, fixtures_1.test)("borderVertical", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
364
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
365
+ const EXPECTED_WIDTH = "5px";
366
+ const EXPECTED_STYLE = "dotted";
367
+ yield initTestBed(FOOTER_CODE, {
368
+ testThemeVars: {
369
+ "borderVertical-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
370
+ },
371
+ });
372
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
373
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
374
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
375
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
376
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
377
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
378
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
379
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
380
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
381
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
382
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
383
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
384
+ }));
385
+ (0, fixtures_1.test)("borderVertical and borderTop", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
386
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
387
+ const EXPECTED_WIDTH = "5px";
388
+ const EXPECTED_STYLE = "dotted";
389
+ yield initTestBed(FOOTER_CODE, {
390
+ testThemeVars: {
391
+ "borderVertical-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
392
+ "borderTop-Footer": "8px double rgb(0, 128, 0)",
393
+ },
394
+ });
395
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", "rgb(0, 128, 0)");
396
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", "8px");
397
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", "double");
398
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
399
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
400
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
401
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
402
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
403
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
404
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
405
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
406
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
407
+ }));
408
+ (0, fixtures_1.test)("borderVertical and borderBottom", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
409
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
410
+ const EXPECTED_WIDTH = "5px";
411
+ const EXPECTED_STYLE = "dotted";
412
+ yield initTestBed(FOOTER_CODE, {
413
+ testThemeVars: {
414
+ "borderVertical-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
415
+ "borderBottom-Footer": "8px double rgb(0, 128, 0)",
416
+ },
417
+ });
418
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
419
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
420
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
421
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
422
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
423
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
424
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", "rgb(0, 128, 0)");
425
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", "8px");
426
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", "double");
427
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
428
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
429
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
430
+ }));
431
+ (0, fixtures_1.test)("border-color", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
432
+ const EXPECTED_COLOR = "rgb(0, 128, 0)";
433
+ const EXPECTED_WIDTH = "5px";
434
+ const EXPECTED_STYLE = "dotted";
435
+ yield initTestBed(FOOTER_CODE, {
436
+ testThemeVars: {
437
+ "borderColor-Footer": EXPECTED_COLOR,
438
+ },
439
+ });
440
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
441
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
442
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
443
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
444
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
445
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
446
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
447
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
448
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
449
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
450
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
451
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
452
+ }));
453
+ (0, fixtures_1.test)("border, border-color", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
454
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
455
+ const EXPECTED_WIDTH = "5px";
456
+ const EXPECTED_STYLE = "dotted";
457
+ const UPDATED = "rgb(0, 128, 0)";
458
+ yield initTestBed(FOOTER_CODE, {
459
+ testThemeVars: {
460
+ "borderColor-Footer": UPDATED,
461
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
462
+ },
463
+ });
464
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", UPDATED);
465
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
466
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
467
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", UPDATED);
468
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
469
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
470
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", UPDATED);
471
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
472
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
473
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", UPDATED);
474
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
475
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
476
+ }));
477
+ (0, fixtures_1.test)("border, border-color-horizontal", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
478
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
479
+ const EXPECTED_WIDTH = "5px";
480
+ const EXPECTED_STYLE = "dotted";
481
+ const UPDATED = "rgb(0, 128, 0)";
482
+ yield initTestBed(FOOTER_CODE, {
483
+ testThemeVars: {
484
+ "borderHorizontalColor-Footer": UPDATED,
485
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
486
+ },
487
+ });
488
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
489
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
490
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
491
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", UPDATED);
492
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
493
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
494
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
495
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
496
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
497
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", UPDATED);
498
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
499
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
500
+ }));
501
+ (0, fixtures_1.test)("border, border-color-left", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
502
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
503
+ const EXPECTED_WIDTH = "5px";
504
+ const EXPECTED_STYLE = "dotted";
505
+ const UPDATED = "rgb(0, 128, 0)";
506
+ yield initTestBed(FOOTER_CODE, {
507
+ testThemeVars: {
508
+ "borderLeftColor-Footer": UPDATED,
509
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
510
+ },
511
+ });
512
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
513
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
514
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
515
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
516
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
517
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
518
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
519
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
520
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
521
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", UPDATED);
522
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
523
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
524
+ }));
525
+ (0, fixtures_1.test)("border, border-color-right", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
526
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
527
+ const EXPECTED_WIDTH = "5px";
528
+ const EXPECTED_STYLE = "dotted";
529
+ const UPDATED = "rgb(0, 128, 0)";
530
+ yield initTestBed(FOOTER_CODE, {
531
+ testThemeVars: {
532
+ "borderRightColor-Footer": UPDATED,
533
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
534
+ },
535
+ });
536
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
537
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
538
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
539
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", UPDATED);
540
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
541
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
542
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
543
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
544
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
545
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
546
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
547
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
548
+ }));
549
+ (0, fixtures_1.test)("border, border-color-vertical", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
550
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
551
+ const EXPECTED_WIDTH = "5px";
552
+ const EXPECTED_STYLE = "dotted";
553
+ const UPDATED = "rgb(0, 128, 0)";
554
+ yield initTestBed(FOOTER_CODE, {
555
+ testThemeVars: {
556
+ "borderVerticalColor-Footer": UPDATED,
557
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
558
+ },
559
+ });
560
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", UPDATED);
561
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
562
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
563
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
564
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
565
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
566
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", UPDATED);
567
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
568
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
569
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
570
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
571
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
572
+ }));
573
+ (0, fixtures_1.test)("border, border-color-top", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
574
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
575
+ const EXPECTED_WIDTH = "5px";
576
+ const EXPECTED_STYLE = "dotted";
577
+ const UPDATED = "rgb(0, 128, 0)";
578
+ yield initTestBed(FOOTER_CODE, {
579
+ testThemeVars: {
580
+ "borderTopColor-Footer": UPDATED,
581
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
582
+ },
583
+ });
584
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", UPDATED);
585
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
586
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
587
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
588
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
589
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
590
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
591
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
592
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
593
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
594
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
595
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
596
+ }));
597
+ (0, fixtures_1.test)("border, border-color-bottom", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
598
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
599
+ const EXPECTED_WIDTH = "5px";
600
+ const EXPECTED_STYLE = "dotted";
601
+ const UPDATED = "rgb(0, 128, 0)";
602
+ yield initTestBed(FOOTER_CODE, {
603
+ testThemeVars: {
604
+ "borderBottomColor-Footer": UPDATED,
605
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
606
+ },
607
+ });
608
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
609
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
610
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
611
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
612
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
613
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
614
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", UPDATED);
615
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
616
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
617
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
618
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
619
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
620
+ }));
621
+ (0, fixtures_1.test)("border-style", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
622
+ const EXPECTED_COLOR = "rgb(0, 128, 0)";
623
+ const EXPECTED_WIDTH = "5px";
624
+ const EXPECTED_STYLE = "dotted";
625
+ yield initTestBed(FOOTER_CODE, {
626
+ testThemeVars: {
627
+ "borderStyle-Footer": EXPECTED_STYLE,
628
+ },
629
+ });
630
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
631
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
632
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
633
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
634
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
635
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
636
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
637
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
638
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
639
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
640
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
641
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
642
+ }));
643
+ (0, fixtures_1.test)("border, border-style", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
644
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
645
+ const EXPECTED_WIDTH = "5px";
646
+ const EXPECTED_STYLE = "dotted";
647
+ const UPDATED = "double";
648
+ yield initTestBed(FOOTER_CODE, {
649
+ testThemeVars: {
650
+ "borderStyle-Footer": UPDATED,
651
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
652
+ },
653
+ });
654
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
655
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
656
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", UPDATED);
657
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
658
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
659
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", UPDATED);
660
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
661
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
662
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", UPDATED);
663
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
664
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
665
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", UPDATED);
666
+ }));
667
+ (0, fixtures_1.test)("border, border-style-horizontal", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
668
+ const EXPECTED_COLOR = "rgb(0, 128, 0)";
669
+ const EXPECTED_WIDTH = "5px";
670
+ const EXPECTED_STYLE = "dotted";
671
+ const UPDATED = "double";
672
+ yield initTestBed(FOOTER_CODE, {
673
+ testThemeVars: {
674
+ "borderHorizontalStyle-Footer": UPDATED,
675
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
676
+ },
677
+ });
678
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
679
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
680
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
681
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
682
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
683
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", UPDATED);
684
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
685
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
686
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
687
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
688
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
689
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", UPDATED);
690
+ }));
691
+ (0, fixtures_1.test)("border, border-style-left", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
692
+ const EXPECTED_COLOR = "rgb(0, 128, 0)";
693
+ const EXPECTED_WIDTH = "5px";
694
+ const EXPECTED_STYLE = "dotted";
695
+ const UPDATED = "double";
696
+ yield initTestBed(FOOTER_CODE, {
697
+ testThemeVars: {
698
+ "borderLeftStyle-Footer": UPDATED,
699
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
700
+ },
701
+ });
702
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
703
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
704
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
705
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
706
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
707
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
708
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
709
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
710
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
711
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
712
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
713
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", UPDATED);
714
+ }));
715
+ (0, fixtures_1.test)("border, border-style-right", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
716
+ const EXPECTED_COLOR = "rgb(0, 128, 0)";
717
+ const EXPECTED_WIDTH = "5px";
718
+ const EXPECTED_STYLE = "dotted";
719
+ const UPDATED = "double";
720
+ yield initTestBed(FOOTER_CODE, {
721
+ testThemeVars: {
722
+ "borderRightStyle-Footer": UPDATED,
723
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
724
+ },
725
+ });
726
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
727
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
728
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
729
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
730
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
731
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", UPDATED);
732
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
733
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
734
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
735
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
736
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
737
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
738
+ }));
739
+ (0, fixtures_1.test)("border, border-style-vertical", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
740
+ const EXPECTED_COLOR = "rgb(0, 128, 0)";
741
+ const EXPECTED_WIDTH = "5px";
742
+ const EXPECTED_STYLE = "dotted";
743
+ const UPDATED = "double";
744
+ yield initTestBed(FOOTER_CODE, {
745
+ testThemeVars: {
746
+ "borderVerticalStyle-Footer": UPDATED,
747
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
748
+ },
749
+ });
750
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
751
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
752
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", UPDATED);
753
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
754
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
755
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
756
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
757
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
758
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", UPDATED);
759
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
760
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
761
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
762
+ }));
763
+ (0, fixtures_1.test)("border, border-style-top", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
764
+ const EXPECTED_COLOR = "rgb(0, 128, 0)";
765
+ const EXPECTED_WIDTH = "5px";
766
+ const EXPECTED_STYLE = "dotted";
767
+ const UPDATED = "double";
768
+ yield initTestBed(FOOTER_CODE, {
769
+ testThemeVars: {
770
+ "borderTopStyle-Footer": UPDATED,
771
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
772
+ },
773
+ });
774
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
775
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
776
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", UPDATED);
777
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
778
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
779
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
780
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
781
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
782
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
783
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
784
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
785
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
786
+ }));
787
+ (0, fixtures_1.test)("border, border-style-bottom", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
788
+ const EXPECTED_COLOR = "rgb(0, 128, 0)";
789
+ const EXPECTED_WIDTH = "5px";
790
+ const EXPECTED_STYLE = "dotted";
791
+ const UPDATED = "double";
792
+ yield initTestBed(FOOTER_CODE, {
793
+ testThemeVars: {
794
+ "borderBottomStyle-Footer": UPDATED,
795
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
796
+ },
797
+ });
798
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
799
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
800
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
801
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
802
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
803
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
804
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
805
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
806
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", UPDATED);
807
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
808
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
809
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
810
+ }));
811
+ (0, fixtures_1.test)("border-thickness", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
812
+ const EXPECTED_WIDTH = "8px";
813
+ yield initTestBed(FOOTER_CODE, {
814
+ testThemeVars: {
815
+ "borderWidth-Footer": EXPECTED_WIDTH,
816
+ },
817
+ });
818
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
819
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", "0px");
820
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", "0px");
821
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", "0px");
822
+ }));
823
+ (0, fixtures_1.test)("border, border-thickness", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
824
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
825
+ const EXPECTED_WIDTH = "5px";
826
+ const EXPECTED_STYLE = "dotted";
827
+ const UPDATED = "12px";
828
+ yield initTestBed(FOOTER_CODE, {
829
+ testThemeVars: {
830
+ "borderWidth-Footer": UPDATED,
831
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
832
+ },
833
+ });
834
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
835
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", UPDATED);
836
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
837
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
838
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", UPDATED);
839
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
840
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
841
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", UPDATED);
842
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
843
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
844
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", UPDATED);
845
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
846
+ }));
847
+ (0, fixtures_1.test)("border, border-thickness-horizontal", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
848
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
849
+ const EXPECTED_WIDTH = "5px";
850
+ const EXPECTED_STYLE = "dotted";
851
+ const UPDATED = "12px";
852
+ yield initTestBed(FOOTER_CODE, {
853
+ testThemeVars: {
854
+ "borderHorizontalWidth-Footer": UPDATED,
855
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
856
+ },
857
+ });
858
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
859
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
860
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
861
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
862
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", UPDATED);
863
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
864
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
865
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
866
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
867
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
868
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", UPDATED);
869
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
870
+ }));
871
+ (0, fixtures_1.test)("border, border-thickness-left", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
872
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
873
+ const EXPECTED_WIDTH = "5px";
874
+ const EXPECTED_STYLE = "dotted";
875
+ const UPDATED = "12px";
876
+ yield initTestBed(FOOTER_CODE, {
877
+ testThemeVars: {
878
+ "borderLeftWidth-Footer": UPDATED,
879
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
880
+ },
881
+ });
882
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
883
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
884
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
885
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
886
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
887
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
888
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
889
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
890
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
891
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
892
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", UPDATED);
893
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
894
+ }));
895
+ (0, fixtures_1.test)("border, border-thickness-right", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
896
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
897
+ const EXPECTED_WIDTH = "5px";
898
+ const EXPECTED_STYLE = "dotted";
899
+ const UPDATED = "12px";
900
+ yield initTestBed(FOOTER_CODE, {
901
+ testThemeVars: {
902
+ "borderRightWidth-Footer": UPDATED,
903
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
904
+ },
905
+ });
906
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
907
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
908
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
909
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
910
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", UPDATED);
911
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
912
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
913
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
914
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
915
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
916
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
917
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
918
+ }));
919
+ (0, fixtures_1.test)("border, border-thickness-vertical", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
920
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
921
+ const EXPECTED_WIDTH = "5px";
922
+ const EXPECTED_STYLE = "dotted";
923
+ const UPDATED = "12px";
924
+ yield initTestBed(FOOTER_CODE, {
925
+ testThemeVars: {
926
+ "borderVerticalWidth-Footer": UPDATED,
927
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
928
+ },
929
+ });
930
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
931
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", UPDATED);
932
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
933
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
934
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
935
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
936
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
937
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", UPDATED);
938
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
939
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
940
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
941
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
942
+ }));
943
+ (0, fixtures_1.test)("border, border-thickness-top", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
944
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
945
+ const EXPECTED_WIDTH = "5px";
946
+ const EXPECTED_STYLE = "dotted";
947
+ const UPDATED = "12px";
948
+ yield initTestBed(FOOTER_CODE, {
949
+ testThemeVars: {
950
+ "borderTopWidth-Footer": UPDATED,
951
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
952
+ },
953
+ });
954
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
955
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", UPDATED);
956
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
957
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
958
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
959
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
960
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
961
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
962
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
963
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
964
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
965
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
966
+ }));
967
+ (0, fixtures_1.test)("border, border-thickness-bottom", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
968
+ const EXPECTED_COLOR = "rgb(255, 0, 0)";
969
+ const EXPECTED_WIDTH = "5px";
970
+ const EXPECTED_STYLE = "dotted";
971
+ const UPDATED = "12px";
972
+ yield initTestBed(FOOTER_CODE, {
973
+ testThemeVars: {
974
+ "borderBottomWidth-Footer": UPDATED,
975
+ "border-Footer": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
976
+ },
977
+ });
978
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-color", EXPECTED_COLOR);
979
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-width", EXPECTED_WIDTH);
980
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-top-style", EXPECTED_STYLE);
981
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-color", EXPECTED_COLOR);
982
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-width", EXPECTED_WIDTH);
983
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-right-style", EXPECTED_STYLE);
984
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
985
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-width", UPDATED);
986
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
987
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-color", EXPECTED_COLOR);
988
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-width", EXPECTED_WIDTH);
989
+ yield (0, fixtures_1.expect)(page.getByTestId("footer")).toHaveCSS("border-left-style", EXPECTED_STYLE);
990
+ }));
991
+ });