Bug 35119: Add back classes used for selenium tests
This patch re-instates the classes used for the selenium tests.. I checked we weren't using them for javascript or css, but didn't think about tests before.
This commit is contained in:
parent
c0eb930e98
commit
b332096265
2 changed files with 4 additions and 4 deletions
|
@ -107,12 +107,12 @@
|
|||
<h1>Errors found</h1>
|
||||
[% IF decoding_error %]
|
||||
<h2>Encoding errors</h2>
|
||||
<p>There is at least one encoding error with this bibliographic record, the view may be degraded.</p>
|
||||
<p class="biberror">There is at least one encoding error with this bibliographic record, the view may be degraded.</p>
|
||||
<pre class="error">[% decoding_error | html %]</pre>
|
||||
[% END %]
|
||||
[% IF analytics_error %]
|
||||
<h2>Analytics errors</h2>
|
||||
<p>There was an error searching for analytic records, please see the logs for details.</p>
|
||||
<p class="analytics_error">There was an error searching for analytic records, please see the logs for details.</p>
|
||||
[% END %]
|
||||
</div>
|
||||
[% END %]
|
||||
|
|
|
@ -124,8 +124,8 @@ subtest 'Bibliographic record detail page must not explode even with invalid met
|
|||
|
||||
$driver->get( $base_url . "/catalogue/detail.pl?biblionumber=$biblionumber" );
|
||||
|
||||
my $biberror = $driver->find_element('//span[@class="biberror"]')->get_text();
|
||||
is( $biberror, "There is an error with this bibliographic record, the view may be degraded.");
|
||||
my $biberror = $driver->find_element('//p[@class="biberror"]')->get_text();
|
||||
is( $biberror, "There is at least one encoding error with this bibliographic record, the view may be degraded.");
|
||||
push @cleanup, $biblio;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue