Files
JIMRI/java/acceptancetest/features/web/WebTableClick.feature
T
2026-06-17 14:00:51 +02:00

31 lines
2.0 KiB
Gherkin

@webtest @webtable
Feature: JMRI Web Table Click
Scenario Outline: Web Table requests with click testing
Given I am using <browser>
And panel <panel> is loaded
And <table> is visible
And item <item> with entry <column> has state <before>
When <column> for <item> in <table> is clicked
Then item <item> with entry <column> has state <after>
@firefox
Examples: Firefox Table Click Tests
| browser | panel | table | item | column | before | after |
| firefox | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Turnouts | IT0 | state | closed | thrown |
| firefox | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Turnouts | IT1 | state | unknown | thrown |
| firefox | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Lights | IL0 | state | off | on |
| firefox | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Sensors | ISCLOCKRUNNING | state | active | inactive |
| firefox | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Memories | IMRATEFACTOR | value | 1.0 | 1.0 |
| firefox | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Signal Heads | IH8 | lit | true | true |
@chrome
Examples: Chrome Table Click Tests
| browser | panel | table | item | column | before | after |
| chrome | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Turnouts | IT2 | state | closed | thrown |
| chrome | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Turnouts | IT4 | inverted | false | false |
| chrome | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Lights | IL0 | state | on | off |
| chrome | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Sensors | ISCLOCKRUNNING | state | active | inactive |
| chrome | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Memories | IMRATEFACTOR | value | 1.0 | 1.0 |
| chrome | java/test/jmri/jmrit/display/configurexml/load/OneOfEach.xml | Signal Heads | IH8 | lit | true | true |