Skip to content
Snippets Groups Projects
Commit d165c4cc authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#596 - fixed selenium tests

parent 36e0a1bb
No related branches found
No related tags found
No related merge requests found
Pipeline #5359 passed
......@@ -59,6 +59,12 @@ public class TransactionTestHelper
numberOfIcons++;
}
// if neither repeat icon not transfer icon is shown a placeholder icon is displayed
if(numberOfIcons == 0)
{
numberOfIcons = 1;
}
return numberOfIcons;
}
......
......@@ -7,8 +7,10 @@ import de.deadlocker8.budgetmaster.authentication.UserService;
import de.deadlocker8.budgetmaster.integration.helpers.IntegrationTestHelper;
import de.deadlocker8.budgetmaster.integration.helpers.SeleniumTest;
import de.deadlocker8.budgetmaster.integration.helpers.SeleniumTestBase;
import de.deadlocker8.budgetmaster.integration.helpers.SeleniumTestWatcher;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebElement;
......@@ -23,6 +25,7 @@ import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
@ExtendWith(SeleniumTestWatcher.class)
@SpringBootTest(classes = Main.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
@SeleniumTest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment