Skip to content

Commit b545f26

Browse files
committed
test: add margin to context-menu to prevent mouseover
1 parent d573a54 commit b545f26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/context-menu/test/items-theme.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('items theme', () => {
1818

1919
beforeEach(async () => {
2020
rootMenu = fixtureSync(`
21-
<vaadin-context-menu theme="foo">
21+
<vaadin-context-menu theme="foo" style="margin-top: 10px;">
2222
<button id="target"></button>
2323
</vaadin-context-menu>
2424
`);

packages/context-menu/test/items.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('items', () => {
3232

3333
beforeEach(async () => {
3434
rootMenu = fixtureSync(`
35-
<vaadin-context-menu>
35+
<vaadin-context-menu style="margin-top: 10px;">
3636
<button id="target"></button>
3737
</vaadin-context-menu>
3838
`);

0 commit comments

Comments
 (0)