Skip to content

Commit

Permalink
update etalons
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko committed Oct 12, 2024
2 parents 3e17fa6 + 578cd28 commit 2cfb1de
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: 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');

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: 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');

Expand All @@ -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',
Expand Down

0 comments on commit 2cfb1de

Please sign in to comment.