mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-24 00:42:29 +03:00
Adds test against forward button navigability
This commit is contained in:
parent
52471e96d7
commit
de598edb97
@ -73,6 +73,19 @@ all =
|
||||
, Query.hasNot [ text "Title2", text "Content2" ]
|
||||
, Query.hasNot [ text "Title3", text "Content3" ]
|
||||
]
|
||||
, test "cannot navigate forward using the dots" <|
|
||||
\() ->
|
||||
{ panels = threePanels
|
||||
, height = Css.vh 60
|
||||
, parentMsg = identity
|
||||
}
|
||||
|> initTest
|
||||
|> click "Continue1"
|
||||
|> assertAndFinish
|
||||
[ Query.has [ tag "button", containing [ text "Go to Title1" ] ]
|
||||
, Query.hasNot [ tag "button", containing [ text "Go to Title2" ] ]
|
||||
, Query.has [ tag "button", disabled True, containing [ text "Go to Title3" ] ]
|
||||
]
|
||||
]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user