Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
ISAICP-6575: Update search result configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
saidatom committed Oct 20, 2021
1 parent 5fe9a78 commit 5ba961a
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
published_at:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
published_at:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
published_at:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
published_at:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
published_at:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
published_at:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
label:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
label:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
label:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
label:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ content:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 0
offset: 0
reverse: false
template_suggestion:
template_suggestion: ''
label:
Expand Down
4 changes: 2 additions & 2 deletions tests/src/Context/JoinupContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ public function assertTilePresent($heading) {
* @Then I (should )see :number tile(s)
*/
public function assertTileCount($number) {
$results = $this->getSession()->getPage()->findAll('css', '.listing__item--tile .listing__title, article.tile h2');
$results = $this->getSession()->getPage()->findAll('css', '.card .card-title, article.tile h2');
$nr_found = count($results);
if ($nr_found != $number) {
throw new \Exception("Found $nr_found tiles, expected $number");
Expand All @@ -1177,7 +1177,7 @@ public function assertTileCount($number) {
public function assertTileNotPresent($heading) {
// We target the heading with "h2" instead of ".listing__title" because both
// unstyled and styled tiles use h2 as element for their titles.
$results = $this->getSession()->getPage()->findAll('css', '.listing__item--tile h2, article.tile h2');
$results = $this->getSession()->getPage()->findAll('css', '.card h5, article.tile h2');
foreach ($results as $result) {
/** @var \Behat\Mink\Element\Element $result */
if ($result->getText() === $heading) {
Expand Down

0 comments on commit 5ba961a

Please sign in to comment.