Skip to content

Commit

Permalink
feat(SS): Implement test (#121)
Browse files Browse the repository at this point in the history
* feat(SS): Implement test

* ref(SS_test): Address review comments

* feat(Toolbar): Create toolbar page object

* Replaces waits with waiting for local video hiding.
  • Loading branch information
hristoterezov authored and damencho committed Mar 3, 2018
1 parent 9f8abd0 commit 925dec7
Show file tree
Hide file tree
Showing 12 changed files with 380 additions and 298 deletions.
6 changes: 4 additions & 2 deletions src/test/java/org/jitsi/meet/test/ChatPanelTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import org.jitsi.meet.test.base.*;
import org.jitsi.meet.test.pageobjects.web.ChatPanel;
import org.jitsi.meet.test.pageobjects.web.Toolbar;
import org.jitsi.meet.test.web.*;
import org.testng.annotations.*;

Expand Down Expand Up @@ -70,13 +71,14 @@ public void testChatPanel()
participant.setDisplayName("bla");

ChatPanel chatPanel = participant.getChatPanel();
Toolbar toolbar = participant.getToolbar();

assertFalse(
chatPanel.isOpen(),
"The chat panel should be initially closed");

// The chat panel should be open after clicking the button
chatPanel.clickToolbarButton();
toolbar.clickChatButton();
chatPanel.assertOpen();

// The chat panel should be closed after pressing the shortcut
Expand All @@ -88,7 +90,7 @@ public void testChatPanel()
chatPanel.assertOpen();

// The chat panel should be closed after clicking the button
chatPanel.clickToolbarButton();
toolbar.clickChatButton();
chatPanel.assertClosed();
}
}
110 changes: 0 additions & 110 deletions src/test/java/org/jitsi/meet/test/DesktopSharingImitationTest.java

This file was deleted.

Loading

0 comments on commit 925dec7

Please sign in to comment.