Возможно ли что-то вроде следующего? Тестирую с помощью calabash-android.
У меня 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 |
Спасибо