[Koha-bugs] [Bug 14495] WebDriver/ WebTester Factory for easy generation of Web testing UserAgents.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 8 12:46:45 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14495

Lari Taskula <lari.taskula at jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41533|0                           |1
        is obsolete|                            |

--- Comment #12 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 63234
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63234&action=edit
Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing
UserAgents.

Has an optional dependency to Buugg 13799

Because life is short, getting test web drivers must be easy.

    use t::lib::WebDriverFactory;
    my ($firefox) = t::lib::WebDriverFactory::getUserAgentDrivers('firefox');

In Ubuntu 14.04, Selenium no longer requires a stand-alone testing Server, so
running integration tests is much much more fun!

This factory encapsulates all the boring bits about getting a web driver to
mimic
user behaviour in the GUI. And makes it super easy to get a test driver for any
testing type environment.

Adds support for Test::Mojo and Selenium,
see t::lib::WebDriverFactory for installation and usage instructions.

----------------------------
-INSTALLATION INSTRUCTIONS:-
----------------------------
-All the WebDriver tests use the Selenium::PhantomJS-package by default.
You MUST install the following dependencies:
  cpanm Selenium::Remote::Driver
  cpanm Selenium::PhantomJS
  apt-get install phantomjs #Minimum version acceptable is v1.09
Optionally you can install other Selenium browsers like
  Firefox
  Chrome
  IE
But they are only useful when testing the WebDriver scripts on a graphical
environment.
You are better off using Selenium IDE to learn/test WebDriver scripts.

run t::lib::webDriverFactory.t to see your configured capabilities.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list