I'm trying to select an option within my select menu but ST can't seem to find the "View" option.
View.jpg
select.jpg
Code:
it('Should view details of the Confirmed Shift', function() {
//This locates the specific grid card view I want to interact with
ST.grid('ShiftLeadCardGrid[reference="MainListPanel"]')
.rowWith('FacilityName', orgSpec.facilityName)
.click()
//This clicks the first select tag and displays the option values beneath it
.down('>> .x-panel-body-default select:nth-child(1)')
.click()
//This is where I'm failing to select the "View" option within the select
.down('>> option:nth-child(0)')
.click()
.wait(2000);
});