From 6872c5b86c6f7d4d4861c3fe7bc3ef63f54d4b7f Mon Sep 17 00:00:00 2001 From: EugeniyKiyashko Date: Sat, 12 Oct 2024 14:43:07 +0400 Subject: [PATCH] fix configuration --- .../tests/navigation/menu/common.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/e2e/testcafe-devextreme/tests/navigation/menu/common.ts b/e2e/testcafe-devextreme/tests/navigation/menu/common.ts index 011a36fa8e89..f01d2e448af3 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: 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'); @@ -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'); @@ -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',