Skip to content

Commit

Permalink
Fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tsv2013 committed Sep 18, 2023
1 parent 751eab8 commit 6adb2f5
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions visualRegressionTests/tests/defaultV2/paneldynamic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ const theme = "defaultV2";
frameworks.forEach(framework => {
fixture`${framework} ${title} ${theme}`
.page`${url_test}${theme}/${framework}`.beforeEach(async t => {
await applyTheme(theme);
await initSurvey(framework, json);
});
await applyTheme(theme);
await initSurvey(framework, json);
});
test("Paneldynamic progressTop mode", async (t) => {
await wrapVisualTest(t, async (t, comparer) => {

Expand Down Expand Up @@ -94,16 +94,16 @@ frameworks.forEach(framework => {
frameworks.forEach(framework => {
fixture`${framework} ${title} ${theme}`
.page`${url_test}${theme}/${framework}`.beforeEach(async t => {
await applyTheme(theme);
await initSurvey(framework, json, {
onGetPanelFooterActions: (_, opt) => {
opt.actions.push({
title: "Duplicate",
action: () => { }
});
}
});
await applyTheme(theme);
await initSurvey(framework, json, {
onGetPanelFooterActions: (_, opt) => {
opt.actions.push({
title: "Duplicate",
action: () => { }
});
}
});
});
test("Check paneldynamic with custom actions", async (t) => {
await wrapVisualTest(t, async (t, comparer) => {
await t.resizeWindow(1920, 1080);
Expand Down Expand Up @@ -152,9 +152,9 @@ frameworks.forEach(framework => {
};
fixture`${framework} ${title} ${theme}`
.page`${url_test}${theme}/${framework}`.beforeEach(async t => {
await applyTheme(theme);
await initSurvey(framework, json);
});
await applyTheme(theme);
await initSurvey(framework, json);
});
test("Two Paneldynamics in one row", async (t) => {
await wrapVisualTest(t, async (t, comparer) => {
await t.resizeWindow(1920, 1920);
Expand Down Expand Up @@ -259,9 +259,9 @@ frameworks.forEach(framework => {
};
fixture`${framework} ${title} ${theme}`
.page`${url_test}${theme}/${framework}`.beforeEach(async t => {
await applyTheme(theme);
await initSurvey(framework, json);
});
await applyTheme(theme);
await initSurvey(framework, json);
});
test("Navigation panel by tabs", async (t) => {
await wrapVisualTest(t, async (t, comparer) => {
await t.resizeWindow(1280, 900);
Expand Down Expand Up @@ -378,9 +378,9 @@ frameworks.forEach(framework => {
};
fixture`${framework} ${title} ${theme}`
.page`${url_test}${theme}/${framework}`.beforeEach(async t => {
await applyTheme(theme);
await initSurvey(framework, json);
});
await applyTheme(theme);
await initSurvey(framework, json);
});
test("Paneldynamic without buttons", async (t) => {
await wrapVisualTest(t, async (t, comparer) => {
await t.resizeWindow(1280, 900);
Expand Down

0 comments on commit 6adb2f5

Please sign in to comment.