From 3a6abd9c4f37058e09ba636ca3d8a071ed77c6ae Mon Sep 17 00:00:00 2001
From: Lowenna Baggaley
Date: Wed, 15 Nov 2023 15:22:59 +0000
Subject: [PATCH 1/3] removed important message
---
.../src/Actor/templates/actor/partials/lpa-details.html.twig | 2 --
1 file changed, 2 deletions(-)
diff --git a/service-front/app/src/Actor/templates/actor/partials/lpa-details.html.twig b/service-front/app/src/Actor/templates/actor/partials/lpa-details.html.twig
index 7489931131..2894860e79 100644
--- a/service-front/app/src/Actor/templates/actor/partials/lpa-details.html.twig
+++ b/service-front/app/src/Actor/templates/actor/partials/lpa-details.html.twig
@@ -11,8 +11,6 @@
{% trans %}Why is this?{% endtrans %}
{% endif %}
-
- {{ include('@actor/partials/lpa-instructions-preferences-important-message.html.twig') }}
From 276d099cf1fb02711065b64151e6857c8fd470ad Mon Sep 17 00:00:00 2001
From: Lowenna Baggaley
Date: Wed, 15 Nov 2023 15:38:03 +0000
Subject: [PATCH 2/3] removed behat test
---
service-front/app/features/actor-dashboard.feature | 5 -----
1 file changed, 5 deletions(-)
diff --git a/service-front/app/features/actor-dashboard.feature b/service-front/app/features/actor-dashboard.feature
index abf0ae48aa..1b1de987be 100644
--- a/service-front/app/features/actor-dashboard.feature
+++ b/service-front/app/features/actor-dashboard.feature
@@ -26,11 +26,6 @@ Feature: The user is able to see correct information on their dashboard
Given I am on the dashboard page
Then I can see that no organisations have access to my LPA
- @ui
- Scenario: As a user I can see the message on instructions and preferences
- Given I am on the dashboard page
- Then I can see the message Important: This LPA has instructions and preferences.
-
@ui
Scenario: As a user I can see the read more link in the message on instructions and preferences
Given I am on the dashboard page
From 64978499c5aa5c1cb41910510be80415f267aa01 Mon Sep 17 00:00:00 2001
From: Lowenna Baggaley
Date: Wed, 15 Nov 2023 16:00:39 +0000
Subject: [PATCH 3/3] update behat tests
---
service-front/app/features/actor-dashboard.feature | 1 +
service-front/app/features/context/UI/LpaContext.php | 6 +-----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/service-front/app/features/actor-dashboard.feature b/service-front/app/features/actor-dashboard.feature
index 1b1de987be..182f144a63 100644
--- a/service-front/app/features/actor-dashboard.feature
+++ b/service-front/app/features/actor-dashboard.feature
@@ -26,6 +26,7 @@ Feature: The user is able to see correct information on their dashboard
Given I am on the dashboard page
Then I can see that no organisations have access to my LPA
+
@ui
Scenario: As a user I can see the read more link in the message on instructions and preferences
Given I am on the dashboard page
diff --git a/service-front/app/features/context/UI/LpaContext.php b/service-front/app/features/context/UI/LpaContext.php
index 8e02c10291..446f3c3538 100644
--- a/service-front/app/features/context/UI/LpaContext.php
+++ b/service-front/app/features/context/UI/LpaContext.php
@@ -695,16 +695,12 @@ public function iCanSeeBannerAboutExistingLPAsAfter2016(): void
}
/**
- * @Then /^I can see (.*) link along with the instructions or preference message$/
+ * @Then /^I can see (.*)
*/
public function iCanSeeReadMoreLink($readMoreLink): void
{
$this->ui->assertPageAddress('/lpa/dashboard');
- $this->ui->assertPageContainsText(
- 'Important: This LPA has instructions and preferences. '
- );
-
$session = $this->ui->getSession();
$page = $session->getPage();