Fix problem with open factory page in the selenium tests (#6789)
parent
1e3afa6f40
commit
2caee22ecb
|
|
@ -49,9 +49,7 @@ public class TestFactory {
|
|||
/** Adds authentication token into the browser and opens factory url. */
|
||||
public void authenticateAndOpen(SeleniumWebDriver driver) throws Exception {
|
||||
driver.get(dashboardUrl.get().toString());
|
||||
|
||||
entrance.login(owner);
|
||||
|
||||
driver.get(factoryUrl);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,8 @@ public class CheLoginPage implements LoginPage {
|
|||
|
||||
public void waitOnClose() {
|
||||
webDriverWait.until(
|
||||
ExpectedConditions.invisibilityOfAllElements(ImmutableList.of(loginButton)));
|
||||
ExpectedConditions.invisibilityOfAllElements(
|
||||
ImmutableList.of(loginButton, passwordInput, usernameInput)));
|
||||
}
|
||||
|
||||
public boolean isOpened() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue