Skip to content

Commit 3cd1c65

Browse files
author
Johannes Weber
committed
chore: Fix uap action button test
1 parent 3d2126e commit 3cd1c65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/functional/board-layout/uap-action-button-interactions.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const boardItemDragHandle = (id: string) => boardWrapper.findItemById(id).findDr
1414
const boardItemResizeHandle = (id: string) => boardWrapper.findItemById(id).findResizeHandle().toSelector();
1515
const paletteItemDragHandle = (id: string) => itemsPaletteWrapper.findItemById(id).findDragHandle().toSelector();
1616
const dragHandleWrapper = new DragHandleWrapper("body");
17-
const directionButtons = () => dragHandleWrapper.findAllVisibleDirectionButtons().toSelector();
1817
const directionButtonUp = () => dragHandleWrapper.findVisibleDirectionButtonBlockStart().toSelector();
1918
const directionButtonDown = () => dragHandleWrapper.findVisibleDirectionButtonBlockEnd().toSelector();
2019
const directionButtonLeft = () => dragHandleWrapper.findVisibleDirectionButtonInlineStart().toSelector();
@@ -25,7 +24,7 @@ describe("items reordered with UAP actions", () => {
2524
"item move can be submitted",
2625
setupTest("/index.html#/dnd/engine-a2h-test", DndPageObject, async (page) => {
2726
await page.click(boardItemDragHandle("A"));
28-
await page.waitForVisible(directionButtons());
27+
await page.waitForVisible(directionButtonRight());
2928
await page.click(directionButtonRight());
3029
await page.click(directionButtonRight());
3130
await page.click(directionButtonDown());

0 commit comments

Comments
 (0)