Given user is currently at Login page
With the Given above it would be invalid if I include the actual navigation to login page in the step definition simply because navigating to a page is an action and should be included in When.. unless that's just fine... or is there any other way to do it?
@Given("user is currently at Login page")
def user_is_at_login_page(){
WebUI.openBrowser('/login')
WebUI.verifyElementPresent('Login Page Heading')
}
I'm using Katalon Studio btw