Members


<inner> Then we expect the result to match array ignoring element order

Description

Compares the already extracted array of sortable elements (string, integer, number) ignoring the order of elements with the provided array with strings

Parameters
Name Type Description
expected string

expected result provided as JSON formatted array

Examples
Then we expect the result to match array ignoring element order
			"""
			["John Doe", "Richard Roe"]
			"""

<inner> Then we expect the result to contain the following details

Description

Performs partial deep-match utilizing the already extracted structure with the provided structure by utilizing the function shallowDeepEqual of the nodejs module "chai-shallow-deep-equal"

Parameters
Name Type Description
expected string

expected result provided as JSON formatted structure

Examples
Then we expect the result to contain the following details
			"""
			{"name": "John Doe"}
			"""

<inner> Then we expect the result to match the saved one

Description

Performs partial deep-match utilizing the previously saved structure with the provided structure by utilizing the function shallowDeepEqual of the nodejs module "chai-shallow-deep-equal"

Examples
Then we expect the result to match the saved one
			"""
			{"name": "John Doe"}
			"""

<inner> Then we expect the result to be {string}

Description

Compares the already extracted information with the provided text

Parameters
Name Type Description
text string

expected result

Examples
Then we expect the result to be "John Doe"

<inner> Then we expect table {string} to contain the following rows

Description

Extracts the content of the specified table and compares it with the provided structure by utilizing the function shallowDeepEqual of the nodejs module "chai-shallow-deep-equal"

Parameters
Name Type Description
tableName string

caption of the target table

expected string

expected result provided as JSON formatted array

Examples
Then we expect table "Books" to contain the following rows
			"""
			[{"Author": "Edgar Allen Poe"}]
			"""

<inner> Then we expect table {string} to contain records

Description

Extracts the content of the specified table and confirms it contains the specified records by utilizing the function shallowDeepEqual of the nodejs module "chai-shallow-deep-equal" when comparing single records.

Parameters
Name Type Description
tableName string

the name of the target table as displayed in the browser

expected string

the records to search for provided as JSON formatted array

Examples
Then we expect table "Books" to contain records
			"""
			[ {"name": "John Doe"}, {"name": "Richard Roe"} ]
			"""

<inner> Then we expect table {string} not to contain records

Description

Extracts the content of the specified table and confirms it does not contain the specified records by utilizing the function shallowDeepEqual of the nodejs module "chai-shallow-deep-equal" when comparing single records.

Parameters
Name Type Description
tableName string

the name of the target table as displayed in the browser

unexpected string

the records to search for provided as JSON formatted array

Examples
Then we expect table "Books" not to contain records
			"""
			[ {"name": "John Doe"}, {"name": "Richard Roe"} ]
			"""

<inner> Then we expect table {string} to contain record

Description

Extracts the content of the specified table and confirms it contains the specified record by utilizing the function shallowDeepEqual of the nodejs module "chai-shallow-deep-equal" when comparing single records.

Parameters
Name Type Description
tableName string

the name of the target table as displayed in the browser

expected string

the records to search for provided as JSON formatted structure

Examples
Then we expect table "Books" to contain record
			"""
			{"name": "John Doe"}
			"""

<inner> Then we expect table {string} not to contain record

Description

Extracts the content of the specified table and confirms it does not contain the specified record by utilizing the function shallowDeepEqual of the nodejs module "chai-shallow-deep-equal" when comparing single records.

Parameters
Name Type Description
tableName string

the name of the target table as displayed in the browser

unexpected string

the record to search for provided as JSON formatted structure

Examples
Then we expect table "Books" not to contain record
			"""
			{"name": "John Doe"}
			"""

<inner> Then we expect table {string} to have {int} records

Description

Confirms the visible record count of the specified table

Parameters
Name Type Description
tableName string

the name of the target table as displayed in the browser

expectedRowCount int

expected count of rows in the table

Examples
Then we expect table "Books" to have 100 records

<inner> Then we expect table {string} to have {int} records in total

Description

Confirms the total record count of the specified table

Parameters
Name Type Description
tableName string

the name of the target table as displayed in the browser

expectedRowCount int

expected count of rows in the table

Examples
Then we expect table "Books" to have 4000 records in total

<inner> Then we expect to have {int} table records

Description

Confirms the visible count of rows in the current ListReport table

Parameters
Name Type Description
expectedRowCount int

expected visible count of rows in the table

Examples
Then we expect to have 500 table records

<inner> Then we expect field {string} to be {string}

Description

Confirms the value of the field which is part of the current page content structure

Parameters
Name Type Description
fieldName string

name of the target field

expected string

expected string value

Examples
Then we expect field "Title" to be "The Raven"