Scenario Android device
Given Android access the application
When Switcher is On
Then UI will be rendered with UI library X
Scenario iPhone device
Given iPhone access the application
When Switcher is On
Then UI will be rendered with UI library Y
Scenario Windows phone device
Given Windows phone access the application
When Switcher is On
Then UI will be rendered with UI library Z
---
Feature: UI switcher
The UI switcher contains routes and logic what UI library is best used/ requesting device
Scenario Outline: Selecting UI library
Given <device> access the application
And switcher is <state>
Then <library> is used
Examples:
device | state | library |
Android | on | Sencha Touch |
Windows | on | JQuery Mobile |
iOs | off |