justgook / elm-webdriver / WebDriver.Assert

custom : (a -> String) -> a -> a -> Task String a

Checks if both values is same, and if not fails with fail function

fail : a -> e -> Task e b

Throws an Assertion Error

equal : String -> String -> Task String String

Passes if the arguments is same strings.

equalInt : Basics.Int -> Basics.Int -> Task String Basics.Int

Passes if the arguments is same Int.

true : String -> Basics.Bool -> Task String Basics.Bool

Passes if the argument is 'True', and otherwise fails with the given message.

false : String -> Basics.Bool -> Task String Basics.Bool

Passes if the argument is 'False', and otherwise fails with the given message.

atLeast : Basics.Int -> Basics.Int -> Task String Basics.Int

Passes if the second argument is greater than or equal to the first.

greaterThan : Basics.Int -> Basics.Int -> Task String Basics.Int

Passes if the second argument is greater than the first.