Skip to content

Commit dec84b5

Browse files
update etalon
1 parent 94cc7aa commit dec84b5

7 files changed

+18
-6
lines changed

apps/demos/testing/widgets/form/CustomomizeItem.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { testScreenshot } from '../../../utils/visual-tests/helpers/theme-utils'
66
fixture('Form.CustomizeItem')
77
.page('http://localhost:8080/')
88
.before(async (ctx) => {
9-
ctx.initialWindowSize = [900, 600];
9+
ctx.initialWindowSize = [900, 900];
1010
});
1111

1212
runManualTest('Form', 'CustomizeItem', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
Loading

apps/demos/testing/widgets/list/ItemDragging.test.js

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ fixture('List.ItemDragging')
1111

1212
runManualTest('List', 'ItemDragging', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
1313
test('ItemDragging', async (t) => {
14+
await t.click('body', {
15+
offsetX: -1,
16+
offsetY: -1,
17+
});
18+
1419
const REORDER_HANDLE_CLASS = 'dx-list-reorder-handle';
1520
const LIST_CLASS = 'dx-list';
1621
const LIST_ITEM_CLASS = 'dx-list-item';

apps/demos/testing/widgets/list/ListSelection.test.js

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ fixture('List.ListSelection')
1616

1717
runManualTest('List', 'ListSelection', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
1818
test('List Selection', async (t) => {
19+
await t.click('body', {
20+
offsetX: -1,
21+
offsetY: -1,
22+
});
23+
1924
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
2025

2126
const optionsContainer = await Selector('.options');

apps/demos/utils/visual-tests/matrix-test-helper.js

+7-5
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const waitForAngularLoading = ClientFunction(() => new Promise((resolve)
4242
const demoAppIntervalHandle = setInterval(() => {
4343
const demoApp = document.querySelector('demo-app');
4444
if ((demoApp && demoApp.innerText !== 'Loading...') || demoAppCounter === 120) {
45-
setTimeout(resolve, 1000);
45+
setTimeout(resolve, 2000);
4646
clearInterval(demoAppIntervalHandle);
4747
}
4848
demoAppCounter += 1;
@@ -203,7 +203,7 @@ const SKIPPED_TESTS = {
203203
],
204204
Charts: [
205205
{ demo: 'Overview', themes: [THEME.material] },
206-
{ demo: 'Crosshair', themes: [THEME.material] },
206+
{ demo: 'Crosshair', themes: [THEME.material, THEME.fluent] },
207207
{ demo: 'CustomAnnotations', themes: [THEME.material] },
208208
{ demo: 'LoadDataOnDemand', themes: [THEME.material] },
209209
{ demo: 'CustomLegendMarkers', themes: [THEME.material] },
@@ -226,7 +226,7 @@ const SKIPPED_TESTS = {
226226
{ demo: 'GroupedItems', themes: [THEME.generic, THEME.material, THEME.fluent] },
227227
],
228228
Gauges: [
229-
{ demo: 'VariableNumberOfBars', themes: [THEME.material, THEME.fluent] },
229+
{ demo: 'VariableNumberOfBars', themes: [THEME.generic, THEME.material, THEME.fluent] },
230230
],
231231
DataGrid: [
232232
{ demo: 'Appearance', themes: [THEME.generic, THEME.material, THEME.fluent] },
@@ -456,9 +456,11 @@ export function runManualTestCore(
456456

457457
export const forceContentAppears = async (t) => {
458458
await t.click('body', {
459-
offsetX: -1,
460-
offsetY: -1,
459+
offsetX: 1,
460+
offsetY: 1,
461461
});
462+
463+
await t.wait(1000);
462464
};
463465

464466

0 commit comments

Comments
 (0)