This commit is contained in:
Katie Hughes 2019-09-16 16:26:30 -07:00
parent 753e34a272
commit daa6d2046d

View File

@ -44,7 +44,7 @@ spec =
{ options = [ 1, 2, 3 ]
, selected = 2
}
|> Query.findAll [ Selector.attribute (Aria.controls "Nri-Ui-SegmentedControl-Panel-a-label") ]
|> Query.findAll [ Selector.id "Nri-Ui-SegmentedControl-Tab-a-label" ]
|> Query.index 1
|> Query.has [ Selector.attribute (Widget.selected True) ]
, test "always has one item selected" <|