在下面的功能中,我正在检查是否存在特定的工作类型(合同),如果发现则执行某些操作,否则跳过其余步骤。当 skippedm 时,将场景标记为通过(从技术上讲,它不是通过,也不是失败或待处理)我如何在 cucumber 或 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|