Class: location

hobs.actions.assert. location

Checks the pathname of the current URL (window.location.pathname)


new location(url [, isTrue] [, options])

Parameters:
Name Type Argument Default Description
url String

The expected pathname

isTrue boolean <optional>
true

Controls behaviour of the assertion

options TestActionOptions <optional>

Test method options