From 527a393ffa46fa42d37d3b837ca661157b9c8b94 Mon Sep 17 00:00:00 2001 From: Jahidulhw Date: Tue, 27 Feb 2024 11:59:47 -0500 Subject: [PATCH] cucumber test cases --- features/login.feature | 1 + page-objects/login-page.js | 1 + step-definitions/login-step.js | 1 + 3 files changed, 3 insertions(+) diff --git a/features/login.feature b/features/login.feature index 4a57fd6..1a1878c 100644 --- a/features/login.feature +++ b/features/login.feature @@ -30,3 +30,4 @@ Feature: Login Page Given I am on the login screen When I fill the login form with invaild user but vaild password credentials Then I should see error "Epic sadface: Username and password do not match any user in this service" + diff --git a/page-objects/login-page.js b/page-objects/login-page.js index 295fe3a..086b6e7 100644 --- a/page-objects/login-page.js +++ b/page-objects/login-page.js @@ -68,6 +68,7 @@ } + } diff --git a/step-definitions/login-step.js b/step-definitions/login-step.js index 801fdee..06ecbee 100644 --- a/step-definitions/login-step.js +++ b/step-definitions/login-step.js @@ -46,4 +46,5 @@ Then('I should see error {string}', async function(errorMsg) { + \ No newline at end of file