Skip to content

Commit

Permalink
Merge pull request #6241 from effective-webwork/3-7-faulte-selenium-t…
Browse files Browse the repository at this point in the history
…ests

[3.7] Disable faulty Selenium tests
  • Loading branch information
solth authored Oct 1, 2024
2 parents 411df8e + 3c493a2 commit 7527eba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Kitodo/src/test/java/org/kitodo/selenium/CalendarST.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.kitodo.MockDatabase;
import org.kitodo.data.database.beans.User;
Expand Down Expand Up @@ -68,6 +69,7 @@ public static void cleanup() throws CustomResponseException, DAOException, DataE
ProcessTestUtils.removeTestProcess(newspaperTestProcessId);
}

@Disabled("faulty, randomly fails during CI builds; needs to be fixed")
@Test
public void createProcessFromCalendar() throws Exception {
processesPage.goTo();
Expand Down
3 changes: 3 additions & 0 deletions Kitodo/src/test/java/org/kitodo/selenium/ImportingST.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.kitodo.MockDatabase;
import org.kitodo.data.database.exceptions.DAOException;
Expand Down Expand Up @@ -129,6 +130,7 @@ public void checkSearchButtonActivatedText() throws Exception {
* Test whether correct child process default import configuration is preselected or not.
* @throws Exception when navigating to processes page or create process page fails
*/
@Disabled("faulty, randomly fails during CI builds; needs to be fixed")
@Test
public void checkDefaultChildProcessImportConfiguration() throws Exception {
ProcessTestUtils.copyTestMetadataFile(multiVolumeWorkId, TEST_MULTI_VOLUME_WORK_FILE);
Expand All @@ -154,6 +156,7 @@ public void checkOrderOfImportConfigurations() throws Exception {
/**
* Tests whether import process hierarchies works correctly or not.
*/
@Disabled("faulty, randomly fails during CI builds; needs to be fixed")
@Test
public void checkHierarchyImport() throws Exception {
projectsPage.createNewProcess();
Expand Down

0 comments on commit 7527eba

Please sign in to comment.