1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.jboss.hal.testsuite.test.configuration.logging.subsystem;
17
18 import org.jboss.arquillian.core.api.annotation.Inject;
19 import org.jboss.arquillian.graphene.page.Page;
20 import org.jboss.hal.testsuite.Console;
21 import org.jboss.hal.testsuite.container.WildFlyContainer;
22 import org.jboss.hal.testsuite.fixtures.LoggingFixtures;
23 import org.jboss.hal.testsuite.page.configuration.LoggingConfigurationPage;
24 import org.jboss.hal.testsuite.page.configuration.LoggingSubsystemConfigurationPage;
25 import org.jboss.hal.testsuite.test.Manatoko;
26 import org.jboss.hal.testsuite.test.configuration.logging.AbstractRootLoggerTest;
27 import org.testcontainers.junit.jupiter.Container;
28 import org.testcontainers.junit.jupiter.Testcontainers;
29 import org.wildfly.extras.creaper.core.online.operations.Address;
30
31 import static org.jboss.hal.testsuite.container.WildFlyConfiguration.DEFAULT;
32
33 @Manatoko
34 @Testcontainers
35 class RootLoggerTest extends AbstractRootLoggerTest {
36
37 @Container static WildFlyContainer wildFly = WildFlyContainer.standalone(DEFAULT);
38
39 @Inject Console console;
40 @Page LoggingSubsystemConfigurationPage page;
41
42 @Override
43 protected Address rootLoggerAddress() {
44 return LoggingFixtures.ROOT_LOGGER_ADDRESS;
45 }
46
47 @Override
48 protected void navigateToPage() {
49 page.navigate();
50 console.verticalNavigation().selectPrimary("logging-root-logger-item");
51 }
52
53 @Override
54 protected LoggingConfigurationPage getPage() {
55 return page;
56 }
57 }