Module

Cypress.Actions

Package
purescript-cypress
Repository
alexmouton/purescript-cypress

#Clock Source

newtype Clock

Constructors

#Document Source

#Window Source

#Location Source

#Cookie Source

#fromJust Source

fromJust :: forall a. Maybe a -> a

#and Source

and :: forall a. String -> Int -> Query a -> CypressM (Query a)

#as Source

as :: forall a. String -> (Query a) -> CypressM (Query a)

#end Source

end :: forall a. Query a -> CypressM Unit

#first Source

first :: forall a. (Query a) -> CypressM (Query a)

#should Source

should :: forall b a. Should a b => a -> Query b -> CypressM (Query b)

#thn Source

thn :: forall b a. (a -> b) -> a -> CypressM b

#viewport Source

#within Source

within :: forall b a. ((Query a) -> (Query b)) -> (Query a) -> CypressM (Query b)

#wrap Source

wrap :: forall a. a -> CypressM (Query a)

#attachFileOpt Source

attachFileOpt :: String -> Maybe { subjectType :: String } -> (Query Elements) -> CypressM (Query Elements)

#andFn Source

andFn :: forall a. EffectFn3 String Int (Query a) (Query a)

#asFn Source

asFn :: forall a. EffectFn2 String (Query a) (Query a)

#ContainsOptions Source

type ContainsOptions = { log :: Boolean, matchCase :: Boolean, timeout :: Int }

#ContainsProps Source

type ContainsProps = { content :: String, options :: Maybe ContainsOptions, selector :: Maybe String }

#containsFn Source

#endFn Source

endFn :: forall a. EffectFn1 (Query a) Unit

#ResultExec Source

type ResultExec = { code :: Int, stderr :: String, stdout :: String }

#firstFn Source

firstFn :: forall a. EffectFn1 (Query a) (Query a)

#GetOptions Source

type GetOptions = { log :: Maybe Boolean, timeout :: Maybe Int, withinSubject :: Maybe String }

#GetAction Source

#GetProps Source

type GetProps = { action :: GetAction, options :: Maybe GetOptions }

#getFn Source

getFn :: forall a. EffectFn5 (Maybe a -> Boolean) (Maybe a -> a) (GetAction -> String) GetProps Cy (Query Elements)

#thenFn Source

thenFn :: forall b a. EffectFn2 (a -> b) a b

#withinFn Source

withinFn :: forall b a. EffectFn3 ((Query a) -> (Query b)) (Query a) Cy (Query b)

#wrapFn Source

wrapFn :: forall a. EffectFn2 a Cy (Query a)

#xpathFn Source

#attachFileFn Source

attachFileFn :: forall a. EffectFn5 (Maybe a -> Boolean) (Maybe a -> a) String (Maybe { subjectType :: String }) (Query Elements) (Query Elements)