Skip to content
Snippets Groups Projects
Commit be569498 authored by Martin Schoeler's avatar Martin Schoeler
Browse files

test

parent c516d9dd
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ class SideNav extends Page { ...@@ -53,7 +53,7 @@ class SideNav extends Page {
// Opens a channel via spotlight search // Opens a channel via spotlight search
searchChannel(channelName) { searchChannel(channelName) {
browser.waitForVisible('.fixed-title .room-title', 5000); browser.waitForVisible('.fixed-title .room-title', 15000);
const currentRoom = browser.element('.fixed-title .room-title').getText(); const currentRoom = browser.element('.fixed-title .room-title').getText();
if (currentRoom !== channelName) { if (currentRoom !== channelName) {
this.spotlightSearch.waitForVisible(5000); this.spotlightSearch.waitForVisible(5000);
...@@ -73,7 +73,7 @@ class SideNav extends Page { ...@@ -73,7 +73,7 @@ class SideNav extends Page {
// Gets a channel from the spotlight search // Gets a channel from the spotlight search
getChannelFromSpotlight(channelName) { getChannelFromSpotlight(channelName) {
browser.waitForVisible('.fixed-title .room-title', 5000); browser.waitForVisible('.fixed-title .room-title', 15000);
const currentRoom = browser.element('.fixed-title .room-title').getText(); const currentRoom = browser.element('.fixed-title .room-title').getText();
if (currentRoom !== channelName) { if (currentRoom !== channelName) {
this.spotlightSearch.waitForVisible(5000); this.spotlightSearch.waitForVisible(5000);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment