From 2e8e6318d7bc75f0e536d3d7d3379b0ee4b37d6d Mon Sep 17 00:00:00 2001 From: Felix Angelov Date: Thu, 24 Aug 2023 11:02:40 -0500 Subject: [PATCH] fix(e2e): delete assertion should only ensure the specific app was deleted --- .../shorebird_cli_integration_test.dart | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/shorebird_cli/integration_test/shorebird_cli_integration_test.dart b/packages/shorebird_cli/integration_test/shorebird_cli_integration_test.dart index ac22e74e..ad7d9f9f 100644 --- a/packages/shorebird_cli/integration_test/shorebird_cli_integration_test.dart +++ b/packages/shorebird_cli/integration_test/shorebird_cli_integration_test.dart @@ -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().having( + (a) => a.appId, + 'appId', + shorebirdYaml.appId, + ), + ), + ), + ), + ); }, timeout: const Timeout(Duration(minutes: 5)), );