某些场景使用的背景
Feature: list video in stored
Background:
Given I have the following videos
| title | format |
| Running Central Park in the Fall | BluRay |
| Running Glacier Park in the Spring | Download |
| Running Balboa Park in the Winter | DVD |
Scenario: list videos in stored
When I am on the "video" page
Then I should see "Running Central Park in the Fall"
Then I should see "Running Glacier Park in the Spring"
Then I should see "Running Balboa Park in the Winter"
Scenario: Page links
When I view all videos from page "1"
Then I should not see "Cycling Utah in the Spring"
Then I should not see "Touring Utah in the Spring"
Then I should see "Previous"
Then I should see "1"
Then I should see "2"
Then I should see "Next"
Scenario: Show a message when there is no video
When I am on the "video" page
Then I should see "No videos"
我想要场景使用的背景:“列出存储中的视频”和“页面链接”,但排除场景:“没有视频时显示消息”。请支持我。谢谢
Feature: list video in stored
Background:
Given I have the following videos
| title | format |
| Running Central Park in the Fall | BluRay |
| Running Glacier Park in the Spring | Download |
| Running Balboa Park in the Winter | DVD |
Scenario: list videos in stored
When I am on the "video" page
Then I should see "Running Central Park in the Fall"
Then I should see "Running Glacier Park in the Spring"
Then I should see "Running Balboa Park in the Winter"
Scenario: Page links
When I view all videos from page "1"
Then I should not see "Cycling Utah in the Spring"
Then I should not see "Touring Utah in the Spring"
Then I should see "Previous"
Then I should see "1"
Then I should see "2"
Then I should see "Next"
Scenario: Show a message when there is no video
When I am on the "video" page
Then I should see "No videos"
I want used background for Scenario: "list videos in stored" and "Page links" but exclusion Scenario: "Show a message when there is no video". Please support me. thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
创建 2 个特征,一个有背景和场景,另一个没有背景
create 2 features one with background and scenario, the other without background