这种格式是否正常?
Background:
Given I am at the homepage
When I supply my shopify url
Scenario: New install
Then I get taken to Oauth page
When I supply my shopify credentials
Then I get taken to the app index page
我不希望Oauth页面在每个场景之前运行,只需要前两个步骤。
答案 0 :(得分:1)
您可以更改Background
,如下所示 -
Background:
Given I am at the homepage
And I supply my shopify url
Scenario: New install
Then I get taken to Oauth page
When I supply my shopify credentials
Then I get taken to the app index page