Skip to content
Snippets Groups Projects
Commit 3ba5c1bc authored by Adam Pietras's avatar Adam Pietras
Browse files

Merge branch 'ISAICP-7361' into 'master'

ISAICP-7361: Rename link to EIF Perspective

See merge request !53
parents f3b9b827 2aa70b70
1 merge request!53ISAICP-7361: Rename link to EIF Perspective
......@@ -18,7 +18,7 @@ Feature:
| Description | This should be in the description field. |
| Solution type | Common frameworks |
# Verify that solution group menu not contains EIF view link.
# Verify that solution group menu doesn't contain the EIF Perspective link.
When I go to the "EIF solution" solution
Then I should see the following group menu items in the specified order:
| text |
......@@ -72,8 +72,8 @@ Feature:
# Verify that solution group menu contains correct links.
When I go to the "EIF solution" solution
Then I should see the following group menu items in the specified order:
| text |
| Overview |
| Members |
| About |
| EIF view |
| text |
| Overview |
| Members |
| About |
| EIF Perspective |
......@@ -3,8 +3,8 @@ Feature: Test update joinup_core_deploy_0108500.
Scenario: Navigate to a solution that lacks the EIF perspective, and assert that the link IS NOT present in the left-side menu.
Given I visit "collection/european-committee-standardization-cen/solution/dublin-core-egovernment-application-profiles"
Then I should not see the link "EIF view"
Then I should not see the link "EIF Perspective"
Scenario: Navigate to other solution that has EIF perspective, and assert that the link IS present in the left-side menu.
Given I visit "collection/justice-law-and-security/solution/leos-open-source-software-editing-legislation"
Then I should see the link "EIF view"
Then I should see the link "EIF Perspective"
......@@ -343,7 +343,7 @@ function _eif_add_eif_link_to_leftside_menu(RdfMetaEntityInterface $meta_entity)
])->toUriString(),
];
\Drupal::entityTypeManager()->getStorage('menu_link_content')->create([
'title' => t('EIF view'),
'title' => t('EIF Perspective'),
'menu_name' => $menu_name,
'link' => $link,
'weight' => -6,
......
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