Skip to content

Commit

Permalink
XWIKI-22582: Add automated test for "Switch between Icon Themes"
Browse files Browse the repository at this point in the history
* Fixed the setup. The adminUI should not be only in the test scope. It's probably because we need to build the WAR and THEN only we test. We want this adminUI in the WAR.
  • Loading branch information
Sereza7 committed Nov 7, 2024
1 parent abb1db5 commit e7e1789
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@
<type>xar</type>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-administration-ui</artifactId>
<version>${project.version}</version>
<type>xar</type>
</dependency>
<!-- ================================
Test only dependencies
================================ -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import java.util.Arrays;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInfo;
import org.openqa.selenium.By;
Expand All @@ -46,8 +45,8 @@
@UITest
class IconThemesAdminIT
{
static String SILK_THEME = "IconThemes.Silk";
static String FA_THEME = "IconThemes.FontAwesome";
static String SILK_THEME = "Silk";
static String FA_THEME = "Font Awesome";

@Test
void validateIconThemeFeatures(TestUtils setup, TestInfo info)
Expand Down

0 comments on commit e7e1789

Please sign in to comment.