Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dorcyweb master #74

Open
wants to merge 56 commits into
base: window-by-title
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
bff5526
Use latest version of darcy-web
alechenninger Jul 8, 2015
271b775
Merge pull request #54 from darcy-framework/use-latest-darcy-web
alechenninger Jul 8, 2015
654e8d1
Add sudo:false to .travis.yml
alechenninger Jul 11, 2015
118a88b
Merge pull request #55 from darcy-framework/window-by-title
alechenninger Jul 11, 2015
81b6fc8
Implement FindsByUrl
alechenninger Jul 12, 2015
db4fbe5
Correct odd formatting
alechenninger Jul 12, 2015
5abb4d4
Merge pull request #56 from darcy-framework/window-by-url
alechenninger Jul 12, 2015
d30f49c
Use selenium 2.46.0
abocz Jul 14, 2015
b46d7f4
Fix issues with selenium missing dependency for apache commons-exec a…
abocz Jul 16, 2015
16c3bab
Exclude out of date commons-exec dependency
abocz Jul 16, 2015
d96b642
Use After method to ensure browsers close in Browser factory tests, f…
abocz Jul 20, 2015
8603a98
Only close browser if the test is not skipped
abocz Jul 20, 2015
df279d4
Merge pull request #58 from abocz/close-browser-in-factory-tests
alechenninger Jul 20, 2015
e8cb533
Screenshot API implementations
Aug 25, 2015
000d938
Adjust implementations, rename GetScreenshotTest to TakeScreenshotTes…
Aug 28, 2015
40d8ade
Use selenium 2.48.2
abocz Oct 12, 2015
b1c8d37
Wrap in attemptAndGet/unit test in case underlying driver isn't present
Oct 15, 2015
d104fb1
Merge pull request #59 from dmcneil/screenshots-api-impls
alechenninger Oct 15, 2015
128f26e
Merge branch 'master' into update-selenium-version
abocz Oct 15, 2015
83a5cc0
Update implementations for screenshot API OutputStream updates
Oct 24, 2015
2aebaf2
Update TakeScreenshotTest for takeScreenshot API changes
Oct 25, 2015
e3ea764
Throw DarcyException on IOException, update tests
Oct 25, 2015
113c3e7
Bump versioning, darcy-web dependency, add OutputStream inOrder test
Oct 29, 2015
e383807
Use try-with-resources block, update tests
Oct 30, 2015
1a40ae7
Use try-with-resources, update tests
Oct 31, 2015
6b86239
Fix other exception test, add messages
Nov 1, 2015
aed3c0e
Add fail check in case exceptions are not thrown as expected
Nov 3, 2015
afc26ba
Merge pull request #60 from dmcneil/screenshot-api-impl-updates
alechenninger Nov 4, 2015
22c509f
Merge remote-tracking branch 'upstream/master' into update-selenium-v…
abocz Nov 5, 2015
26db3ae
Update readme
abocz Nov 5, 2015
0ac182c
Implement getScreenshotAs and bump to 0.3.1-SNAPSHOT
abocz Nov 9, 2015
08a75f0
Merge pull request #57 from abocz/update-selenium-version
alechenninger Nov 10, 2015
a68eeb7
Get window handles without switching targets (fixes #62)
alechenninger Nov 23, 2015
ad34587
Use selenium-server 2.50.0
abocz Jan 28, 2016
dbb289f
Unit test TargetedWebElement new method getRect()
abocz Jan 28, 2016
7dc5d10
Fix error in TargetedWebElementTest
abocz Jan 28, 2016
6010fc0
Merge pull request #64 from abocz/use-selenium-2.50.0
alechenninger Jan 28, 2016
d416d33
Cleanup pom
alechenninger Feb 7, 2016
fd9da3e
Fix coveralls and deploy travis script bits
alechenninger Feb 7, 2016
f5bd63a
Add release artifacts to gitignore
alechenninger Feb 7, 2016
7e04462
[maven-release-plugin] prepare release 0.3.2
alechenninger Feb 7, 2016
70e21d5
[maven-release-plugin] prepare for next development iteration
alechenninger Feb 7, 2016
bb4a02e
Use selenium-server 2.52.0
abocz Feb 12, 2016
d074b3a
Merge pull request #65 from abocz/use-selenium-2.52.0
alechenninger Feb 12, 2016
cee23b1
Fixing squid:S1155, squid:S229, squid:S2259
the-best-dev Mar 24, 2016
71485a4
Merge pull request #70 from DevFactory/release/general-code-quality-f…
alechenninger Mar 29, 2016
412e5fb
Increase selenium version to 2.53.1 and remove redundant exception
abocz Jul 6, 2016
30b8c1b
Update readme
abocz Jul 6, 2016
87c4710
Fix missing exception identifier
abocz Jul 6, 2016
5527ea4
Remove unused imports
abocz Jul 7, 2016
56ca37c
Merge pull request #71 from abocz/use-selenium-2.53.1
alechenninger Jul 7, 2016
8b4b180
Use Selenium 3.4.0
jvervaec Aug 10, 2017
03d5509
Replace SessionNotFoundException with NoSuchSessionException
jvervaec Aug 10, 2017
972886e
Update version
jvervaec Aug 10, 2017
61dd915
Fix test failure when geckodriver doesn't exist
jvervaec Aug 10, 2017
6adec38
Merge pull request #73 from jvervaec/use-selenium-3.4.0
alechenninger Aug 23, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
.classpath
*.iml
/bin/
.idea
.idea
*.releaseBackup
release.properties
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
language: java
jdk:
- oraclejdk8
sudo: false

before_script:
- git clone -b travis `git config --get remote.origin.url` target/travis
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"


script: '[ ${TRAVIS_PULL_REQUEST} = ''false'' ] && mvn clean deploy -P sonatype-oss-release -Dgpg.skip=true --settings target/travis/settings.xml || mvn clean verify --settings target/travis/settings.xml'
script: '[ ${TRAVIS_PULL_REQUEST} = ''false'' ] && mvn clean deploy --settings target/travis/settings.xml || mvn clean verify --settings target/travis/settings.xml'

after_success:
- mvn clean jacoco:prepare-agent test jacoco:report coveralls:jacoco
- mvn clean test jacoco:report coveralls:report

branches:
only:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ maven
<dependency>
<groupId>com.redhat.darcy</groupId>
<artifactId>darcy-webdriver</artifactId>
<version>0.2.2-SNAPSHOT</version>
<version>0.4.0-SNAPSHOT</version>
</dependency>
```

Expand Down
237 changes: 186 additions & 51 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,103 +1,238 @@
<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>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>

<groupId>com.redhat.darcy</groupId>
<artifactId>darcy-webdriver</artifactId>
<version>0.2.2-SNAPSHOT</version>
<version>0.4.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>${project.groupId}:${project.artifactId}</name>
<description>An implementation of darcy and darcy-web that uses Selenium WebDriver as the automation library backend.</description>
<url>https://github.com/darcy-framework/darcy-webdriver</url>

<licenses>
<license>
<name>GNU General Public License, Version 3</name>
<url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<version.synq>0.1.2-SNAPSHOT</version.synq>
<version.darcy-web>0.3.0-SNAPSHOT</version.darcy-web>
<version.selenium>3.4.0</version.selenium>
<version.operadriver>1.5</version.operadriver>
<version.guice>4.0-beta5</version.guice>
<version.guiceberry>3.3.1</version.guiceberry>

<scm>
<connection>scm:git:https://github.com/darcy-framework/darcy-webdriver.git</connection>
<developerConnection>scm:git:[email protected]:darcy-framework/darcy-webdriver.git</developerConnection>
<url>https://github.com/darcy-framework/darcy-webdriver</url>
</scm>
<version.junit>4.12</version.junit>
<version.mockito>2.0.26-beta</version.mockito>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<inherited>true</inherited>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>2.2.0</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.1.201405082137</version>
</plugin>
</plugins>
</build>
<version.maven-compiler-plugin>3.5</version.maven-compiler-plugin>
<version.maven-surefire-plugin>2.19.1</version.maven-surefire-plugin>
<version.maven-source-plugin>2.4</version.maven-source-plugin>
<version.maven-release-plugin>2.5.3</version.maven-release-plugin>
<version.maven-javadoc-plugin>2.10.3</version.maven-javadoc-plugin>
<version.coveralls-maven-plugin>4.1.0</version.coveralls-maven-plugin>
<version.jacoco-maven-plugin>0.7.5.201505241946</version.jacoco-maven-plugin>
<version.maven-gpg-plugin>1.6</version.maven-gpg-plugin>
<version.nexus-staging-maven-plugin>1.6.6</version.nexus-staging-maven-plugin>

<prerequisites.maven>3.0.4</prerequisites.maven>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>com.redhat.darcy</groupId>
<artifactId>darcy-web</artifactId>
<version>0.2.2-SNAPSHOT</version>
<version>0.3.0</version>
</dependency>
<dependency>
<groupId>com.redhat.synq</groupId>
<artifactId>synq</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.3</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>2.45.0</version>
<version>${version.selenium}</version>
</dependency>
<dependency>
<groupId>com.google.guiceberry</groupId>
<artifactId>guiceberry</artifactId>
<version>3.3.1</version>
<version>${version.guiceberry}</version>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>4.0-beta5</version>
<version>${version.guice}</version>
</dependency>
<dependency>
<groupId>com.opera</groupId>
<artifactId>operadriver</artifactId>
<version>1.5</version>
<version>${version.operadriver}</version>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.0.26-beta</version>
<version>${version.mockito}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.maven-compiler-plugin}</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.maven-surefire-plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${version.maven-source-plugin}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${version.maven-release-plugin}</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${version.nexus-staging-maven-plugin}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.maven-javadoc-plugin}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${version.coveralls-maven-plugin}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${version.jacoco-maven-plugin}</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${version.maven-gpg-plugin}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<prerequisites>
<maven>${prerequisites.maven}</maven>
</prerequisites>

<scm>
<connection>scm:git:https://github.com/darcy-framework/darcy-webdriver.git</connection>
<developerConnection>scm:git:[email protected]:darcy-framework/darcy-webdriver.git</developerConnection>
<url>https://github.com/darcy-framework/darcy-webdriver</url>
<tag>HEAD</tag>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

<licenses>
<license>
<name>GNU General Public License, Version 3</name>
<url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<id>alechenninger</id>
<name>Alec Henninger</name>
<email>[email protected]</email>
<organization>Red Hat</organization>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>-5</timezone>
</developer>
</developers>

</project>
Loading