Skip to main content
Version: 9.0.0

Status

A status widget checks the value of the element that contains a Pega case status. There are some ready to use status checks (not a lot - shouldBeNew(), shouldBeResolvedCompleted()) and method which accepts any status text (shouldHaveText(value)). It is also possible to get the text from the status (getText()):

await pega.status.shouldBeNew();
await pega.status.shouldHaveText('New');
let status = await pega.status.getText();