From 83189990c66c8f76fa41c4026606e5a7da4256e5 Mon Sep 17 00:00:00 2001
From: poka <poka@p2p.legal>
Date: Sat, 10 Sep 2022 06:27:27 +0200
Subject: [PATCH] test: verify you cannot revoke a smith member

---
 integration_test/scenarios/identity_revocation.dart | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/integration_test/scenarios/identity_revocation.dart b/integration_test/scenarios/identity_revocation.dart
index 7925c06b..189a56c2 100644
--- a/integration_test/scenarios/identity_revocation.dart
+++ b/integration_test/scenarios/identity_revocation.dart
@@ -43,5 +43,11 @@ void main() async {
     await tapKey(keyCloseTransactionScreen, duration: 0);
     await waitFor('Aucune identité', exactMatch: true);
     await sleep();
+
+    // Check test1 cannot be revoked
+    await goBack();
+    await tapKey(keyOpenWallet(test1.address));
+    await tapKey(keyManageMembership, duration: 1000);
+    await waitFor('Vous ne pouvez pas révoquer cette identité');
   }, timeout: testTimeout());
 }
-- 
GitLab