In the below feature I am checking for the existence of a particular job type (contract) and do something if found otherwise skip the rest of the steps. When skippedm, mark the scenario as passed (technically its not a pass nor a fail or pending) How do I do it in cucumber or cucumber-jvm?
Feature: View job types
Users can view job type from front page and from side menu
Scenario Outline: View job type from front page
Given I login as "<user>"
And if there are contract jobs
Then it should have a hourly rate
And the daily rate in "USD" with "2" decimal places
Examples:
| user |
| hello|
| world|