Skip to content

Commit

Permalink
Stabilize tests on html-class attributes
Browse files Browse the repository at this point in the history
Change-Id: Ic6722253da4082e1e63322c315eb9669a6c0bb48
  • Loading branch information
Akron committed Nov 21, 2024
1 parent 1c18f10 commit 25602e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/intro.t
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ $t->get_ok('/')
->element_exists('meta[name="keywords"][content^="KorAP"]')
->element_exists('body[itemscope][itemtype="http://schema.org/WebApplication"]')
->element_exists_not('#koralQuery')
->attr_is('aside', 'class', ' invisible off')
->element_exists('aside.invisible')
->element_exists('aside.off')
;

$t->get_ok('/?cq=corpusSigle%3DGOE')
Expand All @@ -64,7 +65,8 @@ $t->get_ok('/?cq=corpusSigle%3DGOE')
->element_exists('meta[name="keywords"][content^="KorAP"]')
->element_exists('body[itemscope][itemtype="http://schema.org/WebApplication"]')
->element_exists('#koralQuery')
->attr_is('aside', 'class',' invisible off')
->element_exists('aside.invisible')
->element_exists('aside.off')
;

$t->get_ok('/huhuhuhuhu')
Expand Down

0 comments on commit 25602e1

Please sign in to comment.