From 74727f2fb937df8296c93b26fd915f348fa7db1d Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Wed, 11 Oct 2017 07:24:51 +0000 Subject: [PATCH] Bug 19359 - Followup patch with xpaths changed to id's Sponsored-By: Catalyst IT --- .../intranet-tmpl/prog/en/modules/intranet-main.tt | 2 +- .../en/modules/reports/guided_reports_start.tt | 34 ++-- .../prog/en/modules/reports/reports-home.tt | 16 +- t/db_dependent/selenium/reporting_workflow.t | 103 ++++-------- t/lib/Selenium.pm | 185 +++++++++++++++++++++ 5 files changed, 240 insertions(+), 100 deletions(-) create mode 100644 t/lib/Selenium.pm diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt index 2a69dd9..5c03605 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -85,7 +85,7 @@ [% IF ( CAN_user_reports ) %]
  • - Reports + Reports
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 5902b92..42f8e7a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -326,26 +326,26 @@ canned reports and writing custom SQL reports.

    [% IF ( CAN_user_reports_create_reports ) %]
    - +
    [% END %] [% IF ( CAN_user_reports_execute_reports ) %]
    - +
    [% END %] [% IF ( CAN_user_reports_create_reports ) %]
    - +
    [% END %]

    Reports Dictionary

    Use the reports dictionary to define custom criteria to use in your reports

    - +
    [% END %] @@ -544,7 +544,7 @@ canned reports and writing custom SQL reports.

    - +
    @@ -569,7 +569,7 @@ canned reports and writing custom SQL reports.

    - +
    @@ -629,7 +629,7 @@ canned reports and writing custom SQL reports.

    - +
    @@ -702,7 +702,7 @@ canned reports and writing custom SQL reports.

    -
    + [% END %] @@ -734,7 +734,7 @@ canned reports and writing custom SQL reports.

    -
    + [% END %] @@ -766,7 +766,7 @@ canned reports and writing custom SQL reports.

    -
    + [% END %] @@ -785,7 +785,7 @@ canned reports and writing custom SQL reports.

    You will need to save the report before you can execute it

    -
    + [% END %] @@ -804,7 +804,7 @@ canned reports and writing custom SQL reports.

  • -
    + [% END %] @@ -920,7 +920,7 @@ canned reports and writing custom SQL reports.

    [% pagination_bar %]
    [% UNLESS ( errors ) %] - +
    [% FOREACH header_ro IN header_row %][% END %] [% FOREACH result IN results %] @@ -1075,11 +1075,11 @@ Sub report:
    [% header_ro.cell %]