Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants";
import {
agHelper,
anvilSnapshot,
} from "../../../../../support/Objects/ObjectsCore";

describe(
`${ANVIL_EDITOR_TEST}: Anvil tests for Button Widget`,
{ tags: ["@tag.Anvil"] },
() => {
before(() => {
agHelper.AddDsl("anvilButtonWidget");
});

it("1. Canvas Mode", () => {
anvilSnapshot.verifyCanvasMode("ButtonWidget");
});

it("2. Preview Mode", () => {
anvilSnapshot.verifyPreviewMode("ButtonWidget");
});

it("3. Deploy Mode", () => {
anvilSnapshot.verifyDeployMode("ButtonWidget");
});
},
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants";
import {
agHelper,
anvilSnapshot,
} from "../../../../../support/Objects/ObjectsCore";

describe(
`${ANVIL_EDITOR_TEST}: Anvil tests for Icon Button Widget`,
{ tags: ["@tag.Anvil"] },
() => {
before(() => {
agHelper.AddDsl("anvilIconButtonWidget");
});

it("1. Canvas Mode", () => {
anvilSnapshot.verifyCanvasMode("IconButtonWidget");
});

it("2. Preview Mode", () => {
anvilSnapshot.verifyPreviewMode("IconButtonWidget");
});

it("3. Deploy Mode", () => {
anvilSnapshot.verifyDeployMode("IconButtonWidget");
});
},
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants";
import {
agHelper,
anvilSnapshot,
} from "../../../../../support/Objects/ObjectsCore";

describe(
`${ANVIL_EDITOR_TEST}: Anvil tests for Inline Button Widget`,
{ tags: ["@tag.Anvil"] },
() => {
before(() => {
agHelper.AddDsl("anvilInlineButtonWidget");
});

it("1. Canvas Mode", () => {
anvilSnapshot.verifyCanvasMode("InlineButtonWidget");
});

it("2. Preview Mode", () => {
anvilSnapshot.verifyPreviewMode("InlineButtonWidget");
});

it("3. Deploy Mode", () => {
anvilSnapshot.verifyDeployMode("InlineButtonWidget");
});
},
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants";
import {
agHelper,
anvilSnapshot,
} from "../../../../../support/Objects/ObjectsCore";

describe(
`${ANVIL_EDITOR_TEST}: Anvil tests for Toolbar Button Widget`,
{ tags: ["@tag.Anvil"] },
() => {
before(() => {
agHelper.AddDsl("anvilToolbarButtonWidget");
});

it("1. Canvas Mode", () => {
anvilSnapshot.verifyCanvasMode("ToolbarButtonWidget");
});

it("2. Preview Mode", () => {
anvilSnapshot.verifyPreviewMode("ToolbarButtonWidget");
});

it("3. Deploy Mode", () => {
anvilSnapshot.verifyDeployMode("ToolbarButtonWidget");
});
},
);
Loading