follow-up
This commit is contained in:
parent
1ca1078860
commit
259d9c6380
|
|
@ -33,7 +33,8 @@ it('should print no-locator-resolved error when locator matcher did not resolve
|
||||||
() => expectWithShortLivingTimeout(myLocator).toHaveJSProperty('abc', 'abc'), // Equal matcher
|
() => expectWithShortLivingTimeout(myLocator).toHaveJSProperty('abc', 'abc'), // Equal matcher
|
||||||
() => expectWithShortLivingTimeout(myLocator).not.toHaveText('abc'), // Text matcher - pass / string
|
() => expectWithShortLivingTimeout(myLocator).not.toHaveText('abc'), // Text matcher - pass / string
|
||||||
() => expectWithShortLivingTimeout(myLocator).not.toHaveText(/abc/), // Text matcher - pass / RegExp
|
() => expectWithShortLivingTimeout(myLocator).not.toHaveText(/abc/), // Text matcher - pass / RegExp
|
||||||
() => expectWithShortLivingTimeout(myLocator).toContainText('abc'), // Text matcher - fail
|
() => expectWithShortLivingTimeout(myLocator).toContainText('abc'), // Text matcher - fail / string
|
||||||
|
() => expectWithShortLivingTimeout(myLocator).toContainText(/abc/), // Text matcher - fail / RegExp
|
||||||
];
|
];
|
||||||
for (const matcher of locatorMatchers) {
|
for (const matcher of locatorMatchers) {
|
||||||
await it.step(matcher.toString(), async () => {
|
await it.step(matcher.toString(), async () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue