1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.jboss.hal.testsuite.test.configuration.transaction;
17
18 import org.jboss.arquillian.core.api.annotation.Inject;
19 import org.jboss.hal.meta.token.NameTokens;
20 import org.jboss.hal.resources.Ids;
21 import org.jboss.hal.resources.Names;
22 import org.jboss.hal.testsuite.Console;
23 import org.jboss.hal.testsuite.container.WildFlyContainer;
24 import org.jboss.hal.testsuite.fragment.finder.FinderPath;
25 import org.jboss.hal.testsuite.test.Manatoko;
26 import org.junit.jupiter.api.Test;
27 import org.testcontainers.junit.jupiter.Container;
28 import org.testcontainers.junit.jupiter.Testcontainers;
29
30 import com.gwtplatform.mvp.shared.proxy.PlaceRequest;
31
32 import static org.jboss.hal.testsuite.container.WildFlyConfiguration.DEFAULT;
33
34 @Manatoko
35 @Testcontainers
36 class TransactionFinderTest {
37
38 @Container static WildFlyContainer wildFly = WildFlyContainer.standalone(DEFAULT);
39
40 @Inject Console console;
41
42 @Test
43 void view() {
44 console.finder(NameTokens.CONFIGURATION, new FinderPath().append(Ids.CONFIGURATION, Ids.asId(Names.SUBSYSTEMS)))
45 .column(Ids.CONFIGURATION_SUBSYSTEM).selectItem(NameTokens.TRANSACTIONS).view();
46 console.verify(new PlaceRequest.Builder().nameToken(NameTokens.TRANSACTIONS).build());
47 }
48 }