From d9b0023dd059081e06f3b1a2d8bcff05b08df5d5 Mon Sep 17 00:00:00 2001 From: Akhilmasihadas <89574383+Akhilmasihadas@users.noreply.github.com> Date: Tue, 16 Jun 2026 15:48:46 +0530 Subject: [PATCH] Fix login page title and error message validation Updated expected title and added error message validation. --- features/login.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/login.feature b/features/login.feature index fb9f1fa5..725b029b 100644 --- a/features/login.feature +++ b/features/login.feature @@ -5,8 +5,8 @@ Feature: Login Feature Scenario: Validate the login page title # TODO: Fix this failing scenario - Then I should see the title "Labs Swag" + Then I should see the title "Swag Labs" Scenario: Validate login error message Then I will login as 'locked_out_user' - # TODO: Add a step to validate the error message received \ No newline at end of file + Then I should see the error message "Epic sadface: Sorry, this user has been locked out."