Skip to content

Commit afb2133

Browse files
Demo scenarios tests: create a single entry point to allow skipping testing in a specific framework via skip list (DevExpress#29389)
1 parent c14311e commit afb2133

File tree

80 files changed

+132
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+132
-102
lines changed

apps/demos/testing/common.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
changeTheme,
1515
waitForAngularLoading,
1616
shouldSkipDemo,
17+
FRAMEWORKS,
1718
} from '../utils/visual-tests/matrix-test-helper';
1819
import {
1920
getThemePostfix,
@@ -313,7 +314,7 @@ const SKIPPED_TESTS = {
313314
},
314315
};
315316

316-
['jQuery', 'React', 'Vue', 'Angular'].forEach((approach) => {
317+
FRAMEWORKS.forEach((approach) => {
317318
if (!shouldRunFramework(approach)) { return; }
318319
fixture(approach)
319320
.beforeEach(async (t) => {

apps/demos/testing/widgets/accordion/Accordion.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fixture('Accordion.Overview')
1111
ctx.initialWindowSize = [900, 900];
1212
});
1313

14-
runManualTest('Accordion', 'Overview', ['jQuery', 'React', 'Angular', 'Vue'], (test) => {
14+
runManualTest('Accordion', 'Overview', (test) => {
1515
test('Custom Overview Appearance', async (t) => {
1616
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1717

apps/demos/testing/widgets/charts/Crosshair.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fixture('Charts.Crosshair')
88
ctx.initialWindowSize = [900, 600];
99
});
1010

11-
runManualTest('Charts', 'Crosshair', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
11+
runManualTest('Charts', 'Crosshair', (test) => {
1212
test('Chart.Crosshair', async (t) => {
1313
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1414

apps/demos/testing/widgets/charts/CustomAnnotationsDrag.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fixture('Charts.CustomAnnotations')
88
ctx.initialWindowSize = [900, 600];
99
});
1010

11-
runManualTest('Charts', 'CustomAnnotations', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
11+
runManualTest('Charts', 'CustomAnnotations', (test) => {
1212
test('CustomAnnotations. Drag', async (t) => {
1313
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1414

apps/demos/testing/widgets/charts/CustomLegendMarkers.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fixture('Charts.CustomLegendMarkers')
88
ctx.initialWindowSize = [900, 600];
99
});
1010

11-
runManualTest('Charts', 'CustomLegendMarkers', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
11+
runManualTest('Charts', 'CustomLegendMarkers', (test) => {
1212
test('CustomLegendMarkers', async (t) => {
1313
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1414

apps/demos/testing/widgets/charts/Export.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fixture('Charts.Export')
66
ctx.initialWindowSize = [900, 600];
77
});
88

9-
runManualTest('Charts', 'ExportCustomMarkup', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
9+
runManualTest('Charts', 'ExportCustomMarkup', (test) => {
1010
test('Export', async (t) => {
1111
let isFileCreateForDownload = false;
1212

apps/demos/testing/widgets/charts/LoadDataOnDemand.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fixture('Charts.LoadDataOnDemand')
88
ctx.initialWindowSize = [900, 600];
99
});
1010

11-
runManualTest('Charts', 'LoadDataOnDemand', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
11+
runManualTest('Charts', 'LoadDataOnDemand', (test) => {
1212
test('LoadDataOnDemand', async (t) => {
1313
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1414

apps/demos/testing/widgets/charts/Overview.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fixture('Charts.Overview')
88
ctx.initialWindowSize = [900, 600];
99
});
1010

11-
runManualTest('Charts', 'Overview', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
11+
runManualTest('Charts', 'Overview', (test) => {
1212
test('Tooltip', async (t) => {
1313
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1414

apps/demos/testing/widgets/charts/PieLabelsOverlapping.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fixture('PieWithResolvedLabelOverlapping')
88
ctx.initialWindowSize = [900, 600];
99
});
1010

11-
runManualTest('Charts', 'PieWithResolvedLabelOverlapping', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
11+
runManualTest('Charts', 'PieWithResolvedLabelOverlapping', (test) => {
1212
test('PieWithResolvedLabelOverlapping', async (t) => {
1313
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1414
const showSelectBoxItems = () => t.click($('.options .dx-dropdowneditor-input-wrapper input.dx-texteditor-input'));

apps/demos/testing/widgets/charts/ZoomingAndScrollingAPI.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fixture('Charts.ZoomingAndScrollingAPI')
88
ctx.initialWindowSize = [900, 600];
99
});
1010

11-
runManualTest('Charts', 'ZoomingAndScrollingAPI', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
11+
runManualTest('Charts', 'ZoomingAndScrollingAPI', (test) => {
1212
test('ZoomingAndScrollingAPI. RangeSelector drag', async (t) => {
1313
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1414

0 commit comments

Comments
 (0)