mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-25 06:33:09 +03:00
Fix spec
This commit is contained in:
parent
3fa130da65
commit
7324f5508b
@ -100,7 +100,7 @@ spec =
|
|||||||
, isLocked = False
|
, isLocked = False
|
||||||
, isPremium = False
|
, isPremium = False
|
||||||
}
|
}
|
||||||
|> Query.has [ Selector.disabled False ]
|
|> Query.hasNot [ Selector.attribute (Attributes.attribute "aria-disabled" "true") ]
|
||||||
, test "is disabled when disabled = True" <|
|
, test "is disabled when disabled = True" <|
|
||||||
\() ->
|
\() ->
|
||||||
premiumView
|
premiumView
|
||||||
@ -109,6 +109,6 @@ spec =
|
|||||||
, isLocked = False
|
, isLocked = False
|
||||||
, isPremium = False
|
, isPremium = False
|
||||||
}
|
}
|
||||||
|> Query.has [ Selector.disabled True ]
|
|> Query.has [ Selector.attribute (Attributes.attribute "aria-disabled" "true") ]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user