可能会出现以下情况吗?我正在使用 calabash-android 进行测试。
我有 3 种类型的用户,
我想分别登录这 3 种用户,并确保屏幕具有 9 个元素中的每一个。
我可以嵌套 3 个用户类型,然后让每个用户类型查找 9 个元素中的每一个吗?
Feature: Overview screen on Mobile App
In order to access all the features of the Mobile App
As a user of the Mobile App
I want to be able to access the features through the Overview Screen
@high
Scenario Outline: Overview Screen Appearance
Given I login to an <type> account
Examples:
| type |
| secure |
| user |
| admin |
Then I should see the <element>
Examples:
| element |
| Overview Header |
| Status Icon |
| Status Text |
| Status Time |
| Current Temp Icon |
| Navigation Overview Text |
| Navigation Overview Icon |
| Navigation Activity Text |
| Navigation Activity Icon |
谢谢