I’m writing a test where if the user clicks a button, there should only be 2 scenarios (texts) that could happen.
For example
await t
.click('button')
.expect(Selector('div#result').textContent)
.eql('My text A')
// or 'My text B' ??
How can I test this in TestCafe?