Skip to content

Commit eb22adc

Browse files
CI: stabilize Form's TestCafe tests in Material
1 parent 7e7104c commit eb22adc

File tree

5 files changed

+352
-310
lines changed

5 files changed

+352
-310
lines changed

packages/devextreme/testing/testcafe/tests/editors/dateBox/dateBoxGeometry.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ safeSizeTest('Geometry is good', async (t) => {
1515
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
1616
const dateBox = new DateBox('#container');
1717

18+
await dateBox.option('opened', true);
19+
1820
await testScreenshot(t, takeScreenshot, 'Datebox with calendar.png');
1921

22+
await dateBox.option('opened', false);
2023
await dateBox.option('type', 'datetime');
24+
await dateBox.option('opened', true);
2125

2226
await testScreenshot(t, takeScreenshot, 'Datebox with datetime.png');
2327

@@ -40,7 +44,6 @@ safeSizeTest('Geometry is good', async (t) => {
4044
await waitFont();
4145

4246
return createWidget('dxDateBox', {
43-
opened: true,
4447
pickerType: 'calendar',
4548
width: 200,
4649
value: new Date(1.5e12),

0 commit comments

Comments
 (0)