Skip to content
Snippets Groups Projects
Commit 7af2dfd3 authored by Ilias Dimopoulos's avatar Ilias Dimopoulos
Browse files

ISAICP-8609: Fix the expected logo.

parent 0136f4ef
No related branches found
No related tags found
2 merge requests!165ISAICP-8609: Logo/Banner changes for adopting the ACT.,!161Patch release v1.103.1
......@@ -42,8 +42,8 @@ public function assertLogo(): void {
$logo_element = $link_element->find('css', 'img.navbar-brand-image');
Assert::assertInstanceOf(NodeElement::class, $logo_element, 'A logo is present in the navbar.');
Assert::assertEquals('Interoperable Europe logo', $logo_element->getAttribute('alt'), 'The logo has an alt text.');
$expected_logo_uri = base_path() . \Drupal::service('extension.list.theme')->getPath('ventuno') . '/assets/images/logo.svg';
Assert::assertEquals($expected_logo_uri, $logo_element->getAttribute('src'), 'The Interoperable Europe logo is shown in the navbar.');
$expected_logo_uri = base_path() . \Drupal::service('extension.list.theme')->getPath('ventuno') . '/assets/images/logo-interoperable-europe.svg';
Assert::assertEquals($expected_logo_uri, $logo_element->getAttribute('src'), 'The Joinup logo is shown in the navbar.');
}
/**
......
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