1
一步我有這樣的情況如何使斷言黃瓜與硒
Scenario: Create draft OI Unilever-Fibra-2
Given User "[email protected]" and password "1" is logged
Then menu "OI/Criação Draft OI" should not be displayed
我有一個訪問菜單的方法,如果我通過了一步,然後以這個方法,它會拋出一個異常,我該如何讓這個例外轉我的步驟真實
你檢查了[這個問題](http://stackoverflow.com/questions/17272161/cucumber-jvm-test-if-the-correct-exception-is-thrown)?希望能幫助到你 – troig