org.rapidpm:testbench-ng-m-pageobject-vaadin-v08-oss

Dependencies for the RapidPM projects

License

License

Categories

Categories

Vaadin User Interface Web Frameworks Geo Business Logic Libraries Geospatial
GroupId

GroupId

org.rapidpm
ArtifactId

ArtifactId

testbench-ng-m-pageobject-vaadin-v08-oss
Last Version

Last Version

00.07.06-RPM
Release Date

Release Date

Type

Type

jar
Description

Description

Dependencies for the RapidPM projects
Project Organization

Project Organization

RapidPM - Vaadin Developer

Download testbench-ng-m-pageobject-vaadin-v08-oss

How to add to project

<!-- https://jarcasting.com/artifacts/org.rapidpm/testbench-ng-m-pageobject-vaadin-v08-oss/ -->
<dependency>
    <groupId>org.rapidpm</groupId>
    <artifactId>testbench-ng-m-pageobject-vaadin-v08-oss</artifactId>
    <version>00.07.06-RPM</version>
</dependency>
// https://jarcasting.com/artifacts/org.rapidpm/testbench-ng-m-pageobject-vaadin-v08-oss/
implementation 'org.rapidpm:testbench-ng-m-pageobject-vaadin-v08-oss:00.07.06-RPM'
// https://jarcasting.com/artifacts/org.rapidpm/testbench-ng-m-pageobject-vaadin-v08-oss/
implementation ("org.rapidpm:testbench-ng-m-pageobject-vaadin-v08-oss:00.07.06-RPM")
'org.rapidpm:testbench-ng-m-pageobject-vaadin-v08-oss:jar:00.07.06-RPM'
<dependency org="org.rapidpm" name="testbench-ng-m-pageobject-vaadin-v08-oss" rev="00.07.06-RPM">
  <artifact name="testbench-ng-m-pageobject-vaadin-v08-oss" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.rapidpm', module='testbench-ng-m-pageobject-vaadin-v08-oss', version='00.07.06-RPM')
)
libraryDependencies += "org.rapidpm" % "testbench-ng-m-pageobject-vaadin-v08-oss" % "00.07.06-RPM"
[org.rapidpm/testbench-ng-m-pageobject-vaadin-v08-oss "00.07.06-RPM"]

Dependencies

compile (13)

Group / Artifact Type Version
org.rapidpm : testbench-ng-m-pageobject-vaadin-generic jar
org.junit.jupiter : junit-jupiter-api jar 5.1.1
org.junit.jupiter : junit-jupiter-params jar 5.1.1
org.rapidpm : testbench-ng-m-container-init jar
org.rapidpm : testbench-ng-m-junit5 jar
org.rapidpm : testbench-ng-m-webdriver jar
org.rapidpm : rapidpm-dependencies-core-properties jar 04.00.07-RPM
net.vergien.bau : bean-auto-utils Optional jar
org.seleniumhq.selenium : selenium-api jar
org.seleniumhq.selenium : selenium-java jar
org.seleniumhq.selenium : selenium-remote-driver jar
org.rapidpm : rapidpm-functional-reactive jar
org.rapidpm : rapidpm-dependencies-core-logger jar 04.00.07-RPM

provided (1)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 4.0.1

test (9)

Group / Artifact Type Version
org.rapidpm : testbench-ng-m-container-init-addon-tserver jar
com.vaadin : vaadin-server jar
com.vaadin : vaadin-themes jar
com.vaadin : vaadin-client-compiled jar
org.vaadin » addon-test-helpers jar
org.junit.platform : junit-platform-launcher jar 1.1.1
org.junit.jupiter : junit-jupiter-engine jar 5.1.1
org.slf4j : slf4j-api jar 1.7.25
org.slf4j : slf4j-simple jar 1.7.25

Project Modules

There are no modules declared in this project.

vaadin-addons

BrowserStack Status

This ist the first version of my TestBench Add On. TestBench is from https://vaadin.com/ and could be found here https://vaadin.com/testbench.

To use/try Vaadin TestBench you can get a License / Trail here : https://vaadin.com/pro/licenses and if you are using TestBench for an Open Source Project you can apply for an Open Source License.

The basic documentation about TestBench for Vaadin 8 is here https://vaadin.com/docs/testbench/testbench-overview.html

Target of this Add On

The target for this project is the optimized handling of the webdrivers and PageObject-Pattern to write effective and compact tests with jUnit5 , TestBench and different Selenium Implementations.

A few different ways of writing Junit Tests for Vaadin Apps you can find here : https://github.com/vaadin-developer/testbench-jumpstart

As mentioned before, the documentation is not ready until now. Have a look at the tests or better, ask me ;-)

email: mailto:[email protected] Twitter: https://twitter.com/SvenRuppert

Configuration

The Add on is configured by a bunch of files. You have to place them in a folder called .testbenchextension is folder can be located at different places:

  1. The root of the classpath
  2. The current work directory
  3. The users home directory
  4. In a directory specified by the property rapidm.configlocation

Properties defined in the higher locations override properties the lower one.

Templates for the configuration are placed in the .testbenchextentsions directories in the modules.

Selenoid in Docker

Selenoid is a nice alternative for Selenium-Hub written in GO. Give it a try and check the githup repo here : https://github.com/aerokube/selenoid One easy way of using it, will be based on Docker.

This is needed to manage the driver images

docker pull aerokube/cm:latest
docker pull selenoid/hub
docker pull selenoid/video-recorder
docker pull selenoid/phantomjs:2.1.1

This is needed to pull the docker images for the last 4 versions of the declared browsers.

docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`/selenoid/config:/root/.aerokube/selenoid/ \
aerokube/cm:latest \
selenoid configure \
--tmpfs 128 \
--browsers chrome,firefox,opera,phantomjs \
--last-versions 4

To reconfigure the browsers.json, delete the file in the folder selenoid/browsers.json and container.

start the selenoid hub

docker run --rm -d --name selenoid \
-p 4444:4444                                    \
-v /var/run/docker.sock:/var/run/docker.sock    \
-v `pwd`/_data/selenoid/config/:/etc/selenoid/:ro              \
-v `pwd`/_data/selenoid/video/:/opt/selenoid/video/            \
-e OVERRIDE_VIDEO_OUTPUT_DIR=`pwd`/_data/selenoid/video/       \
aerokube/selenoid:latest-release

start the ui for selenoid if you want, not needed

docker run --rm -d --name selenoid-ui --link selenoid \
-p 8080:8080 aerokube/selenoid-ui \
--selenoid-uri=http://selenoid:4444
org.rapidpm

Vaadin Developer

Jumpstarts and HowTos for Vaadin based projects

Versions

Version
00.07.06-RPM
00.07.05-RPM
00.07.04-RPM
0.3.0