|
264 | 264 | <scope>test</scope>
|
265 | 265 | </dependency>
|
266 | 266 |
|
| 267 | + <dependency> |
| 268 | + <groupId>com.github.markusbernhardt</groupId> |
| 269 | + <artifactId>robotframework-selenium2library-java</artifactId> |
| 270 | + <version>${robotframework-selenium.version}</version> |
| 271 | + <scope>test</scope> |
| 272 | + <exclusions> |
| 273 | + <exclusion> |
| 274 | + <groupId>org.yaml</groupId> |
| 275 | + <artifactId>snakeyaml</artifactId> |
| 276 | + </exclusion> |
| 277 | + <exclusion> |
| 278 | + <groupId>com.github.detro.ghostdriver</groupId> |
| 279 | + <artifactId>phantomjsdriver</artifactId> |
| 280 | + </exclusion> |
| 281 | + <exclusion> |
| 282 | + <groupId>com.opera</groupId> |
| 283 | + <artifactId>operadriver</artifactId> |
| 284 | + </exclusion> |
| 285 | + <exclusion> |
| 286 | + <groupId>io.appium</groupId> |
| 287 | + <artifactId>java-client</artifactId> |
| 288 | + </exclusion> |
| 289 | + <exclusion> |
| 290 | + <groupId>io.selendroid</groupId> |
| 291 | + <artifactId>selendroid-client</artifactId> |
| 292 | + </exclusion> |
| 293 | + <exclusion> |
| 294 | + <groupId>org.seleniumhq.selenium</groupId> |
| 295 | + <artifactId>selenium-edge-driver</artifactId> |
| 296 | + </exclusion> |
| 297 | + <exclusion> |
| 298 | + <groupId>org.seleniumhq.selenium</groupId> |
| 299 | + <artifactId>selenium-chrome-driver</artifactId> |
| 300 | + </exclusion> |
| 301 | + <exclusion> |
| 302 | + <groupId>org.seleniumhq.selenium</groupId> |
| 303 | + <artifactId>selenium-ie-driver</artifactId> |
| 304 | + </exclusion> |
| 305 | + <exclusion> |
| 306 | + <groupId>org.seleniumhq.selenium</groupId> |
| 307 | + <artifactId>selenium-safari-driver</artifactId> |
| 308 | + </exclusion> |
| 309 | + <exclusion> |
| 310 | + <groupId>org.seleniumhq.selenium</groupId> |
| 311 | + <artifactId>selenium-leg-rc</artifactId> |
| 312 | + </exclusion> |
| 313 | + <exclusion> |
| 314 | + <groupId>org.seleniumhq.selenium</groupId> |
| 315 | + <artifactId>selenium-firefox-driver</artifactId> |
| 316 | + </exclusion> |
| 317 | + </exclusions> |
| 318 | + </dependency> |
| 319 | + |
267 | 320 | <dependency>
|
268 | 321 | <groupId>org.codehaus.groovy</groupId>
|
269 | 322 | <artifactId>groovy-all</artifactId>
|
|
278 | 331 | <scope>test</scope>
|
279 | 332 | </dependency>
|
280 | 333 |
|
| 334 | + <dependency> |
| 335 | + <groupId>org.robotframework</groupId> |
| 336 | + <artifactId>robotframework</artifactId> |
| 337 | + <version>${robotframework.version}</version> |
| 338 | + <scope>test</scope> |
| 339 | + </dependency> |
| 340 | + |
281 | 341 | <dependency>
|
282 | 342 | <groupId>org.seleniumhq.selenium</groupId>
|
283 | 343 | <artifactId>htmlunit-driver</artifactId>
|
|
428 | 488 | <!-- Dependency can be safely removed when pmd plugin will require this version -->
|
429 | 489 | <pmd.version>5.5.2</pmd.version>
|
430 | 490 | <resources.plugin.version>3.0.2</resources.plugin.version>
|
| 491 | + <robotframework-plugin.version>1.4.6</robotframework-plugin.version> |
| 492 | + <robotframework-selenium.version>1.4.0.8</robotframework-selenium.version> |
| 493 | + <robotframework.version>3.0</robotframework.version> |
431 | 494 |
|
432 | 495 | <!-- Don't forget to update version in the Url class -->
|
433 | 496 | <selectizejs.version>0.12.3</selectizejs.version>
|
|
845 | 908 | </configuration>
|
846 | 909 | </plugin>
|
847 | 910 |
|
| 911 | + <!-- |
| 912 | + Usage: |
| 913 | + mvn robotframework:run (runs tests and generates report in target/robotframework-reports/report.html) |
| 914 | + --> |
| 915 | + <plugin> |
| 916 | + <groupId>org.robotframework</groupId> |
| 917 | + <artifactId>robotframework-maven-plugin</artifactId> |
| 918 | + <version>${robotframework-plugin.version}</version> |
| 919 | + <configuration> |
| 920 | + <testCasesDirectory>${basedir}/src/test/robotframework</testCasesDirectory> |
| 921 | + <xunitFile>NONE</xunitFile> |
| 922 | + <!-- Handy for debugging. Log file will be created in target/ directory --> |
| 923 | + <!-- |
| 924 | + <debugFile>${project.build.directory}/robotframework.log</debugFile> |
| 925 | + <logLevel>DEBUG</logLevel> |
| 926 | + --> |
| 927 | + <variables> |
| 928 | + <variable>BROWSER:htmlunitwithjs</variable> |
| 929 | + <!-- See also ru.mystamps.web.Url.SITE constant --> |
| 930 | + <variable>SITE_URL:http://127.0.0.1:8080</variable> |
| 931 | + </variables> |
| 932 | + </configuration> |
| 933 | + <executions> |
| 934 | + <execution> |
| 935 | + <goals> |
| 936 | + <goal>run</goal> |
| 937 | + </goals> |
| 938 | + </execution> |
| 939 | + </executions> |
| 940 | + </plugin> |
| 941 | + |
848 | 942 | <plugin>
|
849 | 943 | <groupId>org.springframework.boot</groupId>
|
850 | 944 | <artifactId>spring-boot-maven-plugin</artifactId>
|
|
0 commit comments