how to comment a story line in JBehave Story

You want to temporarily disable a step in your scenario? Comment the line using the prefix "!-- ", such as

Given user is on Login page
!-- When user types login details with xxx as user xxx as passwd and submits
Then dashboard is shown

The space right after the !– is mandatory. Thanks @flaz14

See documentation on JBehave: http://jbehave.org/reference/stable/grammar.html

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)