Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 74f8b6e1 authored by escuriola's avatar escuriola
Browse files

OEL-1159: Fix news tests after card changes.

parent 7ff0c7a2
No related branches found
No related tags found
4 merge requests!121OEL-1421: Fix cosmetic changes.,!116OEL-1394: Merge 1.x into EPIC-1293-Project, align with new version of card:search pattern,!115Upate the EPIC-1293-project,!112OEL-1159: Adapt starter content entities to card last changes.
......@@ -145,12 +145,12 @@ class ContentNewsRenderTest extends WhitelabelBrowserTestBase {
// Assert content banner content.
$this->assertEquals(
'http://www.example.org is a web page',
trim($crawler->filter('p.card-text')->text())
trim($crawler->filter('div.card-text')->text())
);
// Assert content banner publication date.
$this->assertEquals(
'09 February 2022',
trim($crawler->filter('div.card-body > span.text-muted')->text())
trim($crawler->filter('div.card-body > div > span.text-muted')->text())
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment