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

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

OEL-1147: Now EC footer only has 2 rows. Fix test.

parent a9f320c3
No related branches found
No related tags found
1 merge request!81OEL-1147 - Footer
......@@ -64,11 +64,11 @@ class FooterBlockTest extends SparqlKernelTestBase {
// For now we assert only minimal till we have a footer component.
$rows = $crawler->filter('.row');
$this->assertCount(3, $rows);
$this->assertCount(2, $rows);
$borderedSections = $crawler->filter('.bcl-footer__bordered-row');
$this->assertCount(2, $borderedSections);
$this->assertCount(1, $borderedSections);
$sectionTitles = $crawler->filter('p.fw-bold.mb-2');
$this->assertCount(3, $sectionTitles);
$this->assertCount(2, $sectionTitles);
$sectionLinks = $crawler->filter('div.col-12.col-lg-4:nth-child(2) a.text-underline-hover.d-block.mb-1');
$this->assertCount(3, $sectionLinks);
}
......
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