Skip to content

Commit

Permalink
Merge pull request kitodo#6240 from effective-webwork/faulty-selenium…
Browse files Browse the repository at this point in the history
…-tests-disabled

Disable faulty Selenium tests until they can be fixed
  • Loading branch information
solth authored Sep 30, 2024
2 parents 1ffdf5c + c9b439e commit c4ddc1b
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 c4ddc1b

Please sign in to comment.