Search in sources :

Example 1 with AbstractWbPanel

use of org.apache.openmeetings.web.room.wb.AbstractWbPanel in project openmeetings by apache.

the class TestMainAreas method testRoom.

private void testRoom(Long id) throws OmException {
    checkArea(AreaKeys.room, String.valueOf(id), RoomPanel.class, p -> {
        RoomPanel rp = (RoomPanel) p.get(PATH_CHILD);
        // room enter
        tester.executeBehavior((AbstractAjaxBehavior) rp.getBehaviorById(0));
        AbstractWbPanel wb = (AbstractWbPanel) rp.get("roomContainer:wb-area:whiteboard");
        // wb load
        tester.executeBehavior((AbstractAjaxBehavior) wb.getBehaviorById(0));
    }, regularUsername);
}
Also used : AbstractWbPanel(org.apache.openmeetings.web.room.wb.AbstractWbPanel) RoomPanel(org.apache.openmeetings.web.room.RoomPanel)

Aggregations

RoomPanel (org.apache.openmeetings.web.room.RoomPanel)1 AbstractWbPanel (org.apache.openmeetings.web.room.wb.AbstractWbPanel)1