diff --git a/src/test/java/org/olat/selenium/CourseElementTest.java b/src/test/java/org/olat/selenium/CourseElementTest.java index 7ae1570b422d8b1f16980c01756276aa7ab4bb43..47fa92503f4f9f09e0a09dddad9675db62311a2d 100644 --- a/src/test/java/org/olat/selenium/CourseElementTest.java +++ b/src/test/java/org/olat/selenium/CourseElementTest.java @@ -104,14 +104,14 @@ public class CourseElementTest extends Deployments { loginPage.loginAs(author.getLogin(), author.getPassword()); //create a course - String courseTitle = "Course-With-CP-" + UUID.randomUUID().toString(); + String courseTitle = "Course-With-CP-" + UUID.randomUUID(); navBar .openAuthoringEnvironment() .createCourse(courseTitle) .clickToolbarBack(); //go the authoring environment to create a CP - String cpTitle = "CP for a course - " + UUID.randomUUID().toString(); + String cpTitle = "CP for a course - " + UUID.randomUUID(); navBar .openAuthoringEnvironment() .createCP(cpTitle) @@ -739,7 +739,7 @@ public class CourseElementTest extends Deployments { .nodeTitle(dialogNodeTitle); //upload a file in the configuration - URL imageUrl = JunitTestHelper.class.getResource("file_resources/IMG_1482.JPG"); + URL imageUrl = JunitTestHelper.class.getResource("file_resources/IMG_1484.jpg"); File imageFile = new File(imageUrl.toURI()); DialogConfigurationPage dialogConfig = new DialogConfigurationPage(browser); dialogConfig @@ -1024,7 +1024,7 @@ public class CourseElementTest extends Deployments { .clickTree() .selectWithTitle(participantFolderTitle); // open the return box of the participant and upload a file - URL coachImageUrl = JunitTestHelper.class.getResource("file_resources/IMG_1482.JPG"); + URL coachImageUrl = JunitTestHelper.class.getResource("file_resources/IMG_1484.jpg"); File coachImageFile = new File(coachImageUrl.toURI()); ParticipantFolderPage folder = new ParticipantFolderPage(browser); folder @@ -1059,7 +1059,7 @@ public class CourseElementTest extends Deployments { .assertOnFile(coachImageFile.getName()) .selectRootDirectory(); // Participant upload a file in its drop box - URL participantImageUrl = JunitTestHelper.class.getResource("file_resources/IMG_1482.JPG"); + URL participantImageUrl = JunitTestHelper.class.getResource("file_resources/IMG_1484.jpg"); File participantImageFile = new File(participantImageUrl.toURI()); participantFolder .openDropBox() diff --git a/src/test/java/org/olat/selenium/PortfolioV2Test.java b/src/test/java/org/olat/selenium/PortfolioV2Test.java index 5e56e531054f9c964253acd3c56adfc23270570f..069c50cf7a3f5903653ba3f8a4ea0ab6047ed7b0 100644 --- a/src/test/java/org/olat/selenium/PortfolioV2Test.java +++ b/src/test/java/org/olat/selenium/PortfolioV2Test.java @@ -811,7 +811,7 @@ public class PortfolioV2Test extends Deployments { .assertOnTitle(title, 4); // add an image - URL imageUrl = JunitTestHelper.class.getResource("file_resources/IMG_1482.JPG"); + URL imageUrl = JunitTestHelper.class.getResource("file_resources/IMG_1484.jpg"); File imageFile = new File(imageUrl.toURI()); entry .addImage("Blue is the new black", imageFile) diff --git a/src/test/java/org/olat/test/file_resources/IMG_1484.jpg b/src/test/java/org/olat/test/file_resources/IMG_1484.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ce68d48fe9a1edafc95a424a4bd82714272c5591 Binary files /dev/null and b/src/test/java/org/olat/test/file_resources/IMG_1484.jpg differ