-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcucumber.json
More file actions
1 lines (1 loc) · 4.22 KB
/
cucumber.json
File metadata and controls
1 lines (1 loc) · 4.22 KB
1
[{"line":2,"elements":[{"line":4,"name":"","description":"","type":"background","keyword":"Background","steps":[{"result":{"duration":9081277000,"status":"passed"},"line":5,"name":"User should be in the login page","match":{"location":"stepdefinition.Login.user_should_be_in_the_login_page()"},"keyword":"Given "}]},{"start_timestamp":"2025-01-21T11:20:23.028Z","line":7,"name":"Verify User Is able to Login","description":"","id":"login;verify-user-is-able-to-login","type":"scenario","keyword":"Scenario","steps":[{"result":{"duration":3054118000,"status":"passed"},"line":9,"name":"User performs login","match":{"location":"stepdefinition.Login.user_performs_login()"},"keyword":"When "},{"result":{"duration":3169472000,"status":"passed"},"line":10,"name":"Home page should be displayed","match":{"location":"stepdefinition.Login.home_page_should_be_displayed()"},"keyword":"Then "}]},{"line":4,"name":"","description":"","type":"background","keyword":"Background","steps":[{"result":{"duration":4922920000,"status":"passed"},"line":5,"name":"User should be in the login page","match":{"location":"stepdefinition.Login.user_should_be_in_the_login_page()"},"keyword":"Given "}]},{"start_timestamp":"2025-01-21T11:20:38.410Z","line":19,"name":"User should not be able to login with invalid credentials","description":"","id":"login;user-should-not-be-able-to-login-with-invalid-credentials;;2","type":"scenario","keyword":"Scenario Outline","steps":[{"result":{"duration":2211000,"status":"passed"},"line":14,"name":"User enters invalid \"admin1\" and \"pass1\"","match":{"arguments":[{"val":"\"admin1\"","offset":20},{"val":"\"pass1\"","offset":33}],"location":"stepdefinition.LoginWithInValid.user_enters_invalid_and(java.lang.String,java.lang.String)"},"keyword":"When "},{"result":{"duration":609000,"status":"passed"},"line":15,"name":"Error message should be displayed","match":{"location":"stepdefinition.LoginWithInValid.error_message_should_be_displayed()"},"keyword":"Then "}]},{"line":4,"name":"","description":"","type":"background","keyword":"Background","steps":[{"result":{"duration":4871242000,"status":"passed"},"line":5,"name":"User should be in the login page","match":{"location":"stepdefinition.Login.user_should_be_in_the_login_page()"},"keyword":"Given "}]},{"start_timestamp":"2025-01-21T11:20:43.415Z","line":20,"name":"User should not be able to login with invalid credentials","description":"","id":"login;user-should-not-be-able-to-login-with-invalid-credentials;;3","type":"scenario","keyword":"Scenario Outline","steps":[{"result":{"duration":864000,"status":"passed"},"line":14,"name":"User enters invalid \"admin2\" and \"pass2\"","match":{"arguments":[{"val":"\"admin2\"","offset":20},{"val":"\"pass2\"","offset":33}],"location":"stepdefinition.LoginWithInValid.user_enters_invalid_and(java.lang.String,java.lang.String)"},"keyword":"When "},{"result":{"duration":625000,"status":"passed"},"line":15,"name":"Error message should be displayed","match":{"location":"stepdefinition.LoginWithInValid.error_message_should_be_displayed()"},"keyword":"Then "}]},{"line":4,"name":"","description":"","type":"background","keyword":"Background","steps":[{"result":{"duration":5023205000,"status":"passed"},"line":5,"name":"User should be in the login page","match":{"location":"stepdefinition.Login.user_should_be_in_the_login_page()"},"keyword":"Given "}]},{"start_timestamp":"2025-01-21T11:20:48.365Z","line":21,"name":"User should not be able to login with invalid credentials","description":"","id":"login;user-should-not-be-able-to-login-with-invalid-credentials;;4","type":"scenario","keyword":"Scenario Outline","steps":[{"result":{"duration":840000,"status":"passed"},"line":14,"name":"User enters invalid \"admin3\" and \"pass3\"","match":{"arguments":[{"val":"\"admin3\"","offset":20},{"val":"\"pass3\"","offset":33}],"location":"stepdefinition.LoginWithInValid.user_enters_invalid_and(java.lang.String,java.lang.String)"},"keyword":"When "},{"result":{"duration":529000,"status":"passed"},"line":15,"name":"Error message should be displayed","match":{"location":"stepdefinition.LoginWithInValid.error_message_should_be_displayed()"},"keyword":"Then "}]}],"name":"Login","description":"","id":"login","keyword":"Feature","uri":"file:src/test/java/features/login.feature","tags":[]}]