From 5451dc09a486de6140a98e1ac479bcfc899b4f1f Mon Sep 17 00:00:00 2001 From: Lowenna Baggaley Date: Wed, 15 Nov 2023 17:04:19 +0000 Subject: [PATCH] amended test files --- service-front/app/features/actor-dashboard.feature | 2 +- service-front/app/features/context/UI/LpaContext.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service-front/app/features/actor-dashboard.feature b/service-front/app/features/actor-dashboard.feature index abf0ae48aa..4f896dcf9b 100644 --- a/service-front/app/features/actor-dashboard.feature +++ b/service-front/app/features/actor-dashboard.feature @@ -29,7 +29,7 @@ Feature: The user is able to see correct information on their dashboard @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. + Then I can see the message 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 diff --git a/service-front/app/features/context/UI/LpaContext.php b/service-front/app/features/context/UI/LpaContext.php index 8e02c10291..d71d2412ea 100644 --- a/service-front/app/features/context/UI/LpaContext.php +++ b/service-front/app/features/context/UI/LpaContext.php @@ -702,7 +702,7 @@ public function iCanSeeReadMoreLink($readMoreLink): void $this->ui->assertPageAddress('/lpa/dashboard'); $this->ui->assertPageContainsText( - 'Important: This LPA has instructions and preferences. ' + 'This LPA has instructions and preferences. ' ); $session = $this->ui->getSession();