[Koha-bugs] [Bug 19181] Intranet and OPAC authentication selenium test

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 25 00:53:29 CEST 2017


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

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 66505
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66505
Bug 19181 - Selenium test for logging into the Koha intranet and OPAC

Review of attachment 66505:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=19181&attachment=66505)
-----------------------------------------------------------------

See the description of ENV variables to be used here:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19337#c1

::: t/db_dependent/selenium/authenticate.t
@@ +32,5 @@
> +use MARC::Field;
> +
> +my $dbh = C4::Context->dbh;
> +my $login = 'koha';
> +my $password = 'koha';

This (user/password) does not use the possible ENV code that other tests use.

@@ +33,5 @@
> +
> +my $dbh = C4::Context->dbh;
> +my $login = 'koha';
> +my $password = 'koha';
> +my $base_url= 'http://'.C4::Context->preference("staffClientBaseURL")."/cgi-bin/koha/";

protocol is now part of staff URL.

@@ +34,5 @@
> +my $dbh = C4::Context->dbh;
> +my $login = 'koha';
> +my $password = 'koha';
> +my $base_url= 'http://'.C4::Context->preference("staffClientBaseURL")."/cgi-bin/koha/";
> +my $opac_url= C4::Context->preference("OPACBaseURL");

KOHA_INTRANET_URL and KOHA_OPAC_URL env logic should be used here too.

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


More information about the Koha-bugs mailing list