Skip to content

Commit

Permalink
fix configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko committed Oct 12, 2024
1 parent 5f507e5 commit 350306c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions e2e/testcafe-devextreme/tests/navigation/menu/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ safeSizeTest('Menu delimiter appearance when orientation is vertical', async (t)

await testScreenshot(t, takeScreenshot, 'Delimiter appearance, orientation is vertical.png');

await setAttribute('#container', 'style', 'padding-top: 360px;');
await setAttribute('#container', 'style', 'padding-top: 300px;');

await t
.click(menu.getItem(1), { offsetX: 5, offsetY: 5 })
.click(menu.getItem(1))
.pressKey('down')
.pressKey('down');

Expand All @@ -203,11 +203,11 @@ safeSizeTest('Menu delimiter appearance when orientation is vertical', async (t)

await testScreenshot(t, takeScreenshot, 'Delimiter appearance, orientation is vertical, right collision.png');

await setAttribute('#container', 'style', 'padding-top: 350px; padding-left: 300px;');
await setAttribute('#container', 'style', 'padding-top: 300px; padding-left: 300px;');

await t
.click(menu.getItem(0))
.click(menu.getItem(1), { offsetX: 5, offsetY: 5 });
.click(menu.getItem(1));

await testScreenshot(t, takeScreenshot, 'Delimiter appearance, orientation is vertical, bottom right collision.png');

Expand All @@ -228,6 +228,15 @@ safeSizeTest('Menu delimiter appearance when orientation is vertical', async (t)
}, {
id: '2_3',
text: 'SuperLED 60',
}, {
id: '2_4',
text: 'SuperLED 72',
}, {
id: '2_5',
text: 'SuperLED 80',
}, {
id: '2_6',
text: 'SuperLED 91',
}],
}, {
text: 'Monitors',
Expand Down

0 comments on commit 350306c

Please sign in to comment.