Skip to content

Commit e32e758

Browse files
author
marker dao ®
committed
feat(tests): Increase timeout
1 parent 170a20a commit e32e758

File tree

10 files changed

+15
-13
lines changed

10 files changed

+15
-13
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ runManualTest('Accordion', 'Overview', ['jQuery', 'React', 'Angular', 'Vue'], (t
1616
test('Custom Overview Appearance', async (t) => {
1717
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1818

19+
await t.wait(1000);
20+
1921
await t
2022
.click($(`.${ITEM_TITLE_CLASS}`).nth(1))
2123
.wait(200);

apps/demos/testing/widgets/chat/Customization.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runManualTest('Chat', 'Customization', ['jQuery', 'React', 'Vue', 'Angular'], (t
1818
test('Customization', async (t) => {
1919
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
2020

21-
await t.wait(1000);
21+
await t.wait(2000);
2222

2323
await t
2424
.click(Selector(`.${SELECTBOX_CLASS}`).nth(0))

apps/demos/testing/widgets/common/EditorAppearanceVariants.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runManualTest('Common', 'EditorAppearanceVariants', ['jQuery', 'React', 'Vue', '
1414
test('EditorAppearanceVariants', async (t) => {
1515
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1616

17-
await t.wait(1000);
17+
await t.wait(2000);
1818

1919
const SELECTBOX_CLASS = 'dx-selectbox';
2020
const stylingModes = ['outlined', 'filled', 'underlined'];

apps/demos/testing/widgets/dropdownbutton/DropDownButton.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runManualTest('DropDownButton', 'Overview', ['jQuery', 'React', 'Vue', 'Angular'
1616
test('Custom Overview Appearance', async (t) => {
1717
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1818

19-
await t.wait(1000);
19+
await t.wait(2000);
2020

2121
await t
2222
.click($(`.${DROP_DOWN_BUTTON_CLASS}`).nth(0))

apps/demos/testing/widgets/gauges/GaugeVariableNumberBars.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runManualTest('Gauges', 'VariableNumberOfBars', ['jQuery', 'React', 'Vue', 'Angu
1313
test('Bars visibility changing', async (t) => {
1414
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1515

16-
await t.wait(1000);
16+
await t.wait(2000);
1717

1818
const checkBoxes = $('.dx-checkbox-icon');
1919

apps/demos/testing/widgets/popup/Scrolling.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runManualTest('Popup', 'Scrolling', ['jQuery', 'React', 'Vue', 'Angular'], (test
1818
test('Scrolling', async (t) => {
1919
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
2020

21-
await t.wait(1000);
21+
await t.wait(2000);
2222

2323
await t.click(Selector(`.${BUTTON_CLASS}`).nth(0));
2424
await testScreenshot(t, takeScreenshot, 'popup with scrollable container.png');

apps/demos/testing/widgets/selectbox/GroupedItems.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runManualTest('SelectBox', 'GroupedItems', ['jQuery', 'React', 'Vue', 'Angular']
1414
const SELECT_BOX_CLASS = 'dx-selectbox';
1515
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1616

17-
await t.wait(1000);
17+
await t.wait(2000);
1818

1919
await t
2020
.click($(`.${SELECT_BOX_CLASS}`).nth(0))

apps/demos/testing/widgets/sortable/kanban.test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runManualTest('Sortable', 'Kanban', ['jQuery', 'React', 'Vue', 'Angular'], (test
1818
test('Drag-n-drop kanban columns', async (t) => {
1919
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
2020

21-
await t.wait(1000);
21+
await t.wait(2000);
2222

2323
await t.drag(Selector(CLASSES.listTitle).nth(0), 600, 50, { speed: 0.5 });
2424
await testScreenshot(t, takeScreenshot, 'kanban_list_drag-n-drop.png');
@@ -32,7 +32,7 @@ runManualTest('Sortable', 'Kanban', ['jQuery', 'React', 'Vue', 'Angular'], (test
3232
test('Drag-n-drop card inside the same column', async (t) => {
3333
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
3434

35-
await t.wait(1000);
35+
await t.wait(2000);
3636

3737
await t.drag(Selector(CLASSES.card).nth(3), 25, 200, { speed: 0.5 });
3838
await testScreenshot(t, takeScreenshot, 'kanban_card_drag-n-drop_same-column.png');
@@ -46,7 +46,7 @@ runManualTest('Sortable', 'Kanban', ['jQuery', 'React', 'Vue', 'Angular'], (test
4646
test('Drag-n-drop card to a different column', async (t) => {
4747
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
4848

49-
await t.wait(1000);
49+
await t.wait(2000);
5050

5151
await t.drag(Selector(CLASSES.card).nth(3), 300, 150, { speed: 0.5 });
5252
await testScreenshot(t, takeScreenshot, 'kanban_card_drag-n-drop_different-column.png');

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runManualTest('Splitter', 'Overview', ['jQuery', 'React', 'Vue', 'Angular'], (te
1515
test('Correct Focus styles on every Item Panes', async (t) => {
1616
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1717

18-
await t.wait(1000);
18+
await t.wait(2000);
1919

2020
await t
2121
.click($(`.${PANE_CONTENT_CLASS}`).nth(0));

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ const SKIPPED_TESTS = {
192192
],
193193
},
194194
Angular: {
195-
Accordion: [
196-
{ demo: 'Overview', themes: [THEME.generic, THEME.material, THEME.fluent] },
197-
],
195+
// Accordion: [
196+
// { demo: 'Overview', themes: [THEME.generic, THEME.material, THEME.fluent] },
197+
// ],
198198
Charts: [
199199
{ demo: 'Crosshair', themes: [THEME.generic, THEME.material, THEME.fluent] },
200200
{ demo: 'CustomAnnotations', themes: [THEME.generic, THEME.material, THEME.fluent] },

0 commit comments

Comments
 (0)