Project Number Date
functional-tests 1 30 Sep 2024, 09:22

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Login 16 0 0 0 0 16 4 0 4 10.961 Passed
Tags: @ui @login
Feature Login
Administrators must be able to login with correct username and password. Users must not be able to login with invalid combination of username and password or empty username or password.
1.784
Given User is on the Booking Management Login Page 1.784
0.484
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 2.283
When Tries to login with only valid password 0.419
Then User is still on Booking Management Login Page 0.015
And Username field will have red border 0.049
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.818
2.211
Given User is on the Booking Management Login Page 2.211
0.905
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 2.737
When Tries to login with only valid username 0.776
Then User is still on Booking Management Login Page 0.025
And Password field will have red border 0.103
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.014
2.357
Given User is on the Booking Management Login Page 2.357
1.014
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 3.416
When Tries to login with wrong password 0.761
Then User is still on Booking Management Login Page 0.017
And Both Username and Passwords fields will have red border 0.234
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.935
1.696
Given User is on the Booking Management Login Page 1.696
0.506
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 1.601
When Tries to login with valid username and password 0.453
Then User is Logged In 0.043
And User is redirected to Rooms Management Page 0.010
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.705