Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Update project #145

Merged
merged 77 commits into from Aug 5, 2015
Merged

Update project #145

merged 77 commits into from Aug 5, 2015

Conversation

semperos
Copy link
Owner

@semperos semperos commented Aug 5, 2015

Includes:

  • Several dependencies updated
  • Selenium-WebDriver dependencies removed from runtime dependencies (folks need to include them themselves)
  • Test suite cleanup
  • Removal of automatic properties loading (i.e., *properties*)

The only code in clj-webdriver relying on *properties* was some fallback logic around loading plugins for a Firefox profile. The function using it has the same signature; this simply removes the fallback to look up things in *properties* that would have been read in from one of several possible configuration files at project load time. I've removed it because I feel it's the job of applications, not libraries, to decide when and how configuration should be loaded.

I was experiencing errors running the common test suite with Chrome due
to the fact that the code was attempting to reference page elements
before the page was fully loaded when using click actions on links to
cause a new page to load.
Also includes what appears to be more idiomatic setup of the
PhantomJSDriver class.
As a library, clj-webdriver should not be concerned with magically
loading configuration from the classpath. The library should be
refactored to allow users to pass in values they need, and to let them
handle configuration as they see fit.
Adds a test selector to avoid running these tests when those manual
setup steps have not been run (they're excluded from the default `lein
test` run).
Also get to remove `lein2` as now you have to specify `lein1`. Nice to
see forward progress *and* even nicer that Travis-CI kept `lein2` around
for those of us who haven't updated in a long time.
After Google Form results come in, will adjust based on feedback.
Since Chrome's web driver is not supported by default on Travis CI.
More of the test suite can be run on Travis CI with further Travis
configuration effort on my part. For now, this will cover a good swath
of the test suite.
semperos added a commit that referenced this pull request Aug 5, 2015
@semperos semperos merged commit 939a1f4 into master Aug 5, 2015
@semperos semperos deleted the update-project branch August 5, 2015 16:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants