Skip to content

Commit

Permalink
increased pauses for file copying
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Dec 5, 2019
1 parent 6165611 commit c214f0c
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -76,7 +76,7 @@ public void setUpResourceAndSynchronizationTask() throws ConfigurationException,
.and()
.schedulingTable()
.clickCheckBox("Recurring task")
.addAttributeValue("Schedule interval (seconds)","30")
.addAttributeValue("Schedule interval (seconds)","10")
.and()
.clickSave()
.feedback()
Expand All @@ -88,7 +88,7 @@ public void setUpResourceAndSynchronizationTask() throws ConfigurationException,
public void newResourceAccountUserCreated() throws IOException {

FileUtils.copyFile(ScenariosCommons.CSV_SOURCE_FILE,CSV_TARGET_FILE);
Selenide.sleep(3000);
Selenide.sleep(MidPoint.TIMEOUT_LONG_1_M);

ListUsersPage usersPage = basicPage.listUsers();
Assert.assertTrue(
Expand Down Expand Up @@ -193,7 +193,7 @@ public void newResourceAccountCreatedLinked() throws IOException {
public void alreadyLinkedResourceAccountModified() throws IOException {

FileUtils.copyFile(CSV_UPDATED_SOURCE_FILE,CSV_TARGET_FILE);
Selenide.sleep(10000);
Selenide.sleep(MidPoint.TIMEOUT_LONG_1_M);

ListUsersPage usersPage = basicPage.listUsers();
Assert.assertTrue(
Expand All @@ -215,7 +215,7 @@ public void alreadyLinkedResourceAccountModified() throws IOException {
public void alreadyLinkedResourceAccountDeleted() throws IOException {

FileUtils.copyFile(CSV_INITIAL_SOURCE_FILE,CSV_TARGET_FILE);
Selenide.sleep(3000);
Selenide.sleep(MidPoint.TIMEOUT_LONG_1_M);

ListUsersPage usersPage = basicPage.listUsers();
Assert.assertFalse(
Expand Down Expand Up @@ -296,7 +296,7 @@ public void resourceAccountCreatedWhenResourceUnreachable() throws IOException {

FileUtils.copyFile(ScenariosCommons.CSV_SOURCE_FILE,CSV_TARGET_FILE);

Selenide.sleep(3000);
Selenide.sleep(MidPoint.TIMEOUT_LONG_1_M);

ListUsersPage usersPage = basicPage.listUsers();
Assert.assertFalse(
Expand All @@ -320,7 +320,7 @@ public void resourceAccountCreatedWhenResourceUnreachable() throws IOException {
.clickResume();


Selenide.sleep(3000);
Selenide.sleep(MidPoint.TIMEOUT_LONG_1_M);

usersPage = basicPage.listUsers();
Assert.assertTrue(
Expand Down

0 comments on commit c214f0c

Please sign in to comment.