diff --git a/e2e/testcafe-devextreme/tests/navigation/menu/common.ts b/e2e/testcafe-devextreme/tests/navigation/menu/common.ts index bd9c1c4364f6..011a36fa8e89 100644 --- a/e2e/testcafe-devextreme/tests/navigation/menu/common.ts +++ b/e2e/testcafe-devextreme/tests/navigation/menu/common.ts @@ -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: 400px;'); + await setAttribute('#container', 'style', 'padding-top: 360px;'); await t - .click(menu.getItem(1)) + .click(menu.getItem(1), { offsetX: 5, offsetY: 5 }) .pressKey('down') .pressKey('down'); @@ -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: 380px; padding-left: 300px;'); + await setAttribute('#container', 'style', 'padding-top: 350px; padding-left: 300px;'); await t .click(menu.getItem(0)) - .click(menu.getItem(1)); + .click(menu.getItem(1), { offsetX: 5, offsetY: 5 }); await testScreenshot(t, takeScreenshot, 'Delimiter appearance, orientation is vertical, bottom right collision.png'); @@ -225,6 +225,9 @@ safeSizeTest('Menu delimiter appearance when orientation is vertical', async (t) }, { id: '2_2', text: 'SuperLED 42', + }, { + id: '2_3', + text: 'SuperLED 60', }], }, { text: 'Monitors',