We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aefed07 commit 34b776fCopy full SHA for 34b776f
1 file changed
test/source/browser/controllable.ts
@@ -45,12 +45,12 @@ abstract class ControllableBase {
45
};
46
47
public waitForSelTestState = async (state: 'ready' | 'working' | 'waiting' | 'closed', timeout = TIMEOUT_TEST_STATE_SATISFY) => {
48
- await this.waitAll(`[data-test-state="${state}"]`, { timeout, visible: undefined });
+ await this.waitAny(`[data-test-state="${state}"]`, { timeout, visible: undefined });
49
50
51
public waitUntilViewLoaded = async (timeout = TIMEOUT_PAGE_LOAD) => {
52
try {
53
- await this.waitAll(`[data-test-view-state="loaded"]`, { timeout, visible: undefined });
+ await this.waitAny(`[data-test-view-state="loaded"]`, { timeout, visible: undefined });
54
} catch {
55
throw new Error(`View didn't load within ${timeout}s at ${this.target.url()}`);
56
}
0 commit comments