fix(e2e): delete assertion should only ensure the specific app was deleted

This commit is contained in:
Felix Angelov
2023-08-24 11:02:40 -05:00
parent 528aeb3c04
commit 2e8e6318d7
@@ -195,7 +195,20 @@ void main() {
);
// Verify that the app was deleted.
await expectLater(runWithOverrides(client.getApps), completion(isEmpty));
await expectLater(
runWithOverrides(client.getApps),
completion(
isNot(
contains(
isA<AppMetadata>().having(
(a) => a.appId,
'appId',
shorebirdYaml.appId,
),
),
),
),
);
},
timeout: const Timeout(Duration(minutes: 5)),
);