|
1 | 1 | import { newE2EPage } from "@arcgis/lumina-compiler/puppeteerTesting";
|
2 | 2 | import { describe, expect, it } from "vitest";
|
3 |
| -import { accessible, disabled, hidden, renders, slots, t9n, defaults, themed } from "../../tests/commonTests"; |
| 3 | +import { accessible, disabled, hidden, renders, slots, t9n, defaults, themed, reflects } from "../../tests/commonTests"; |
4 | 4 | import { html } from "../../../support/formatting";
|
5 | 5 | import { CSS, SLOTS } from "./resources";
|
6 | 6 |
|
@@ -42,6 +42,55 @@ describe("calcite-action", () => {
|
42 | 42 | ]);
|
43 | 43 | });
|
44 | 44 |
|
| 45 | + describe("reflects", () => { |
| 46 | + reflects("calcite-action", [ |
| 47 | + { |
| 48 | + propertyName: "active", |
| 49 | + value: true, |
| 50 | + }, |
| 51 | + { |
| 52 | + propertyName: "alignment", |
| 53 | + value: "end", |
| 54 | + }, |
| 55 | + { |
| 56 | + propertyName: "appearance", |
| 57 | + value: "solid", |
| 58 | + }, |
| 59 | + { |
| 60 | + propertyName: "compact", |
| 61 | + value: true, |
| 62 | + }, |
| 63 | + { |
| 64 | + propertyName: "disabled", |
| 65 | + value: true, |
| 66 | + }, |
| 67 | + { |
| 68 | + propertyName: "icon", |
| 69 | + value: "hamburger", |
| 70 | + }, |
| 71 | + { |
| 72 | + propertyName: "iconFlipRtl", |
| 73 | + value: true, |
| 74 | + }, |
| 75 | + { |
| 76 | + propertyName: "indicator", |
| 77 | + value: true, |
| 78 | + }, |
| 79 | + { |
| 80 | + propertyName: "loading", |
| 81 | + value: true, |
| 82 | + }, |
| 83 | + { |
| 84 | + propertyName: "scale", |
| 85 | + value: "m", |
| 86 | + }, |
| 87 | + { |
| 88 | + propertyName: "textEnabled", |
| 89 | + value: true, |
| 90 | + }, |
| 91 | + ]); |
| 92 | + }); |
| 93 | + |
45 | 94 | describe("renders", () => {
|
46 | 95 | renders("calcite-action", { display: "flex" });
|
47 | 96 | });
|
|
0 commit comments