Skip to content

Commit

Permalink
using cucumber to write test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jahidulhw committed Feb 22, 2024
1 parent 6955753 commit f5528f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions features/login.feature
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,3 @@ 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"


2 changes: 0 additions & 2 deletions page-objects/login-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@





}


Expand Down
2 changes: 2 additions & 0 deletions step-definitions/login-step.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ Then('I should see error {string}', async function(errorMsg) {
Then('I should see error {string}', async function(errorMsg) {
await loginPage.verifyErrorMsg(errorMsg); });




0 comments on commit f5528f3

Please sign in to comment.