Skip to content

Commit

Permalink
schrodinger: changed addObjectFromFile to importObject for auth tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Mar 5, 2021
1 parent 56f457b commit 488b478
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -90,7 +90,7 @@ public void test031resetPasswordSecurityQuestion() throws InterruptedException {
open("/login");
open("/");
login.loginWithReloadLoginPage("administrator", "5ecr3t");
addObjectFromFile(FLEXIBLE_AUTHENTICATION_SEC_QUES_RESET_PASS_SECURITY_POLICY);
importObject(FLEXIBLE_AUTHENTICATION_SEC_QUES_RESET_PASS_SECURITY_POLICY, true);
TimeUnit.SECONDS.sleep(4);
basicPage.loggedUser().logoutIfUserIsLogin();
SecurityQuestionsPage securityQuestion = (SecurityQuestionsPage) login.forgotPassword();
Expand Down Expand Up @@ -134,7 +134,7 @@ public void test050UseSequenceForNodeArchetype() throws Exception {
basicPage.loggedUser().logoutIfUserIsLogin();

login.loginWithReloadLoginPage("administrator", "5ecr3t");
addObjectFromFile(BULK_TASK);
importObject(BULK_TASK);
basicPage.listTasks().table().clickByName("Add archetype"); //.clickRunNow(); the task is running after import, no need to click run now button
screenshot("addArchetypeBulkActionTask");
Selenide.sleep(MidPoint.TIMEOUT_LONG_1_M);
Expand Down

0 comments on commit 488b478

Please sign in to comment.