This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
107 lines (105 loc) · 5.65 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.graylog</groupId>
<artifactId>qa-frontend-tests</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<sauceUser>${env.SAUCE_USERNAME}</sauceUser>
<sauceKey>${env.SAUCE_ACCESS_KEY}</sauceKey>
<baseUrl>${env.BASEURL}</baseUrl>
<tunnelIdentifier>${env.TRAVIS_JOB_NUMBER}</tunnelIdentifier>
</properties>
<dependencies>
<dependency>
<groupId>org.graylog</groupId>
<artifactId>selenese-runner-java</artifactId>
<version>2.9.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.0.13</version>
</dependency>
<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
<version>2.7.8</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>run-selenium-tests</id>
<activation>
<property><name>!skipTests</name></property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.5.0</version>
<executions>
<execution>
<id>Execution Tests Selenium</id>
<phase>test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>java</executable>
<classpathScope>test</classpathScope>
<longClasspath>true</longClasspath>
<successCodes>
<successCode>0</successCode>
</successCodes>
<arguments>
<argument>-classpath</argument>
<classpath />
<argument>jp.vmi.selenium.selenese.Main</argument>
<argument>--driver</argument>
<argument>saucelabs</argument>
<argument>--sauce-labs-user</argument>
<argument>${sauceUser}</argument>
<argument>--sauce-labs-key</argument>
<argument>${sauceKey}</argument>
<argument>--remote-platform</argument>
<argument>${env.PLATFORM}</argument>
<argument>--remote-browser</argument>
<argument>${env.BROWSER}</argument>
<argument>--remote-version</argument>
<argument>${env.VERSION}</argument>
<argument>--sauce-labs-tunnel-identifier</argument>
<argument>${tunnelIdentifier}</argument>
<argument>--sauce-labs-run-name</argument>
<argument>QA-Frontend</argument>
<argument>--sauce-labs-build-name</argument>
<argument>build-${env.TRAVIS_BUILD_NUMBER}</argument>
<argument>--sauce-labs-custom-data</argument>
<argument>branch=${env.TRAVIS_BRANCH}</argument>
<argument>--html-result</argument>
<argument>target/site/selenium-reports</argument>
<argument>--xml-result</argument>
<argument>target/failsafe-reports</argument>
<argument>--baseurl</argument>
<argument>${baseUrl}</argument>
<argument>--timeout</argument>
<argument>5000</argument>
<argument>--set-speed</argument>
<argument>0</argument>
<argument>selenium/dashboards/Dashboards_Testsuite.html</argument>
<argument>selenium/inputs/Inputs_Testsuite.html</argument>
<argument>selenium/streams/Streams_Testsuite.html</argument>
<argument>selenium/authentication/Authentication_Testsuite.html</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>