Source:
<code>public void workAllocationBoardAutoCreationTest() { assertEquals(panelControl.getNumberOfSavedBoards(), 0); click("Boards"); push(KeyCode.DOWN); push(KeyCode.DOWN); push(KeyCode.DOWN); push(KeyCode.DOWN); push(KeyCode.DOWN); push(KeyCode.RIGHT); push(KeyCode.DOWN); <START> push(KeyCode.ENTER); <END> PlatformEx.waitOnFxThread(); assertNodeExists(hasText("Work Allocation board has been created and loaded.\n\n" + "It is saved under the name \"Work Allocation\".")); click("OK"); assertEquals(panelControl.getNumberOfPanels(), 5); assertEquals(panelControl.getCurrentlySelectedPanel(), Optional.of(0)); assertEquals(panelControl.getNumberOfSavedBoards(), 1); List<PanelInfo> panelInfos = panelControl.getCurrentPanelInfos(); assertEquals(panelInfos.get(0).getPanelFilter(), "assignee:User 1 sort:milestone,status"); assertEquals(panelInfos.get(1).getPanelFilter(), "assignee:User 10 sort:milestone,status"); assertEquals(panelInfos.get(2).getPanelFilter(), "assignee:User 2 sort:milestone,status"); assertEquals(panelInfos.get(3).getPanelFilter(), "assignee:User 3 sort:milestone,status"); assertEquals(panelInfos.get(4).getPanelFilter(), "assignee:User 4 sort:milestone,status"); assertEquals(panelInfos.get(0).getPanelName(), "Work allocated to User 1"); assertEquals(panelInfos.get(1).getPanelName(), "Work allocated to User 10"); assertEquals(panelInfos.get(2).getPanelName(), "Work allocated to User 2"); assertEquals(panelInfos.get(3).getPanelName(), "Work allocated to User 3"); assertEquals(panelInfos.get(4).getPanelName(), "Work allocated to User 4"); }</code><technical_language>This is break menu changes in future. write a function find item click irrespective of menu content? e.g. clickMenu(String... items) call clickMenu("Boards","Auto-create","Work distribution") Note of variable length argument lists</technical_language>

Target:
public void workAllocationBoardAutoCreationTest() { assertEquals(panelControl.getNumberOfSavedBoards(), 0); clickMenu("Boards", "Auto-create", "Work Allocation"); PlatformEx.waitOnFxThread(); assertNodeExists(hasText("Work Allocation board has been created and loaded.\n\n" + "It is saved under the name \"Work Allocation\".")); click("OK"); assertEquals(panelControl.getNumberOfPanels(), 5); assertEquals(panelControl.getCurrentlySelectedPanel(), Optional.of(0)); assertEquals(panelControl.getNumberOfSavedBoards(), 1); List<PanelInfo> panelInfos = panelControl.getCurrentPanelInfos(); assertEquals(panelInfos.get(0).getPanelFilter(), "assignee:User 1 sort:milestone,status"); assertEquals(panelInfos.get(1).getPanelFilter(), "assignee:User 10 sort:milestone,status"); assertEquals(panelInfos.get(2).getPanelFilter(), "assignee:User 2 sort:milestone,status"); assertEquals(panelInfos.get(3).getPanelFilter(), "assignee:User 3 sort:milestone,status"); assertEquals(panelInfos.get(4).getPanelFilter(), "assignee:User 4 sort:milestone,status"); assertEquals(panelInfos.get(0).getPanelName(), "Work allocated to User 1"); assertEquals(panelInfos.get(1).getPanelName(), "Work allocated to User 10"); assertEquals(panelInfos.get(2).getPanelName(), "Work allocated to User 2"); assertEquals(panelInfos.get(3).getPanelName(), "Work allocated to User 3"); assertEquals(panelInfos.get(4).getPanelName(), "Work allocated to User 4"); }