@@ -8,9 +8,9 @@ Some samples/tests have documentataion otherwise read the code. The [Java EE 7 E
88
99Samples are tested on Wildfly and GlassFish using the Arquillian ecosystem.
1010
11- Only one profile can be active at a given time otherwise there will be dependency conflicts.
11+ Only one container profile and one profile for browser can be active at a given time otherwise there will be dependency conflicts.
1212
13- There are 4 available profiles:
13+ There are 4 available container profiles:
1414
1515* `` wildfly-managed-arquillian ``
1616 The default profile and it will install a Wildfly server and start up the server per sample.
@@ -30,9 +30,32 @@ There are 4 available profiles:
3030 reuse this instance to run the tests.
3131 Useful for development to avoid the server start up cost per sample.
3232
33+ Similarly, there are 6 profiles to choose a browser to test on:
34+
35+ * `` browser-firefox ``
36+ To run tests on Mozilla Firefox. If its binary is installed in the usual place, no additional information is required.
37+
38+ * `` browser-chrome ``
39+ To run tests on Google Chrome. Need to pass a `` -Darq.extension.webdriver.chromeDriverBinary `` property
40+ pointing to a `` chromedriver `` binary.
41+
42+ * `` browser-ie ``
43+ To run tests on Internet Explorer. Need to pass a `` -Darq.extension.webdriver.ieDriverBinary `` property
44+ pointing to a `` IEDriverServer.exe `` .
45+
46+ * `` browser-safari ``
47+ To run tests on Safari. If its binary is installed in the usual place, no additional information is required.
48+
49+ * `` browser-opera ``
50+ To run tests on Opera. Need to pass a `` -Darq.extension.webdriver.opera.binary `` property pointing to a Opera executable.
51+
52+ * `` browser-phantomjs ``
53+ To run tests on headless browser PhantomJS. If you do not specify the path of phantomjs binary via
54+ `` -Dphantomjs.binary.path `` property, it will be downloaded automatically.
55+
3356To run them in the console do:
3457
35- 1 . In the terminal, `` mvn -Pwildfly-managed-arquillian test `` at the top-level directory to start the tests
58+ 1 . In the terminal, `` mvn -Pwildfly-managed-arquillian,browser-firefox test `` at the top-level directory to start the tests
3659
3760When developing and runing them from IDE, remember to activate the profile before running the test.
3861
0 commit comments