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 6872c5b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 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: 330px;');

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: 330px; 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,9 @@ safeSizeTest('Menu delimiter appearance when orientation is vertical', async (t)
}, {
id: '2_3',
text: 'SuperLED 60',
}, {
id: '2_3',
text: 'SuperLED 80',
}],
}, {
text: 'Monitors',
Expand Down

0 comments on commit 6872c5b

Please sign in to comment.