Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AssertionApi

Implementation of the SahiOS Assertion API

Uses NodeJs' assert module

All methods are available as global functions in Sakuli tests

Hierarchy

Index

Methods

_assert

  • _assert(condition: Promise<boolean>, message?: undefined | string): Promise<void>

_assertContainsText

_assertEqual

  • _assertEqual(expected: any, actual: any, message?: undefined | string): Promise<void>

_assertEqualArrays

  • _assertEqualArrays(expected: Array<any>, actual: Array<any>, message?: undefined | string): Promise<void>

_assertExists

_assertFalse

  • _assertFalse(condition: Promise<boolean>, message?: undefined | string): Promise<void>

_assertNotContainsText

_assertNotEqual

  • _assertNotEqual(expected: any, actual: any, message?: undefined | string): Promise<void>

_assertNotExists

_assertNotNull

  • _assertNotNull(value: any, message?: undefined | string): Promise<void>

_assertNotTrue

  • _assertNotTrue(condition: Promise<boolean>, message?: undefined | string): Promise<void>

_assertNull

  • _assertNull(value: any, message?: undefined | string): Promise<void>

_assertTrue

  • _assertTrue(condition: Promise<boolean>, message?: undefined | string): Promise<void>