xenon
Introduction
1.
Guide
1.1.
Project Setup & use
1.2.
First Step
1.3.
Xenon Component
1.4.
Xenon List Component
1.5.
Nested Xenon components
2.
API reference
2.1.
Component
2.1.1.
getText()
2.1.2.
click()
2.1.3.
isVisible(timeout)
2.1.4.
isNotVisible(timeout)
2.1.5.
is(state)
2.1.6.
selectOption(optionText)
2.1.7.
getElement()
2.1.8.
type(text)
2.2.
List
2.2.1.
count()
2.2.2.
getByText(text,partialMatch)
2.2.3.
get(index)
Powered by
GitBook
xenon
count()
Returns number of items in list
Usage
expect
(
chatPage
.
messageList
.
count
(
)
)
.
toBe
(
1
)
;