Unverified Commit a87e324f authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Revert "Add missing awaits in driver integration test (#17314)" (#17315)

This reverts commit f37b84f0.
parent f37b84f0
......@@ -36,7 +36,7 @@ void main() {
test('waitForAbsent should resolve when text "present" disappears', () async {
// Begin waiting for it to disappear
final Completer<Null> whenWaitForAbsentResolves = new Completer<Null>();
await driver.waitForAbsent(presentText).then(
driver.waitForAbsent(presentText).then(
whenWaitForAbsentResolves.complete,
onError: whenWaitForAbsentResolves.completeError,
);
......@@ -61,7 +61,7 @@ void main() {
test('waitFor should resolve when text "present" reappears', () async {
// Begin waiting for it to reappear
final Completer<Null> whenWaitForResolves = new Completer<Null>();
await driver.waitFor(presentText).then(
driver.waitFor(presentText).then(
whenWaitForResolves.complete,
onError: whenWaitForResolves.completeError,
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment