From db60d1dace11e02284e04d4b9da9a85ff479508e Mon Sep 17 00:00:00 2001
From: Janne Savolainen
Date: Thu, 19 May 2022 13:49:33 +0300
Subject: [PATCH] Reorganize tests for installing update under separate
scenarios
Signed-off-by: Janne Savolainen
---
.../installing-update-using-tray.test.ts.snap | 513 ++++++++++++++++--
.../installing-update.test.ts.snap | 81 +++
.../installing-update-using-tray.test.ts | 291 +---------
.../update-app/installing-update.test.ts | 396 ++++++++++++++
4 files changed, 956 insertions(+), 325 deletions(-)
create mode 100644 src/behaviours/update-app/__snapshots__/installing-update.test.ts.snap
create mode 100644 src/behaviours/update-app/installing-update.test.ts
diff --git a/src/behaviours/update-app/__snapshots__/installing-update-using-tray.test.ts.snap b/src/behaviours/update-app/__snapshots__/installing-update-using-tray.test.ts.snap
index 75d9716a6d..0afca9055a 100644
--- a/src/behaviours/update-app/__snapshots__/installing-update-using-tray.test.ts.snap
+++ b/src/behaviours/update-app/__snapshots__/installing-update-using-tray.test.ts.snap
@@ -15,7 +15,48 @@ exports[`installing update using tray given no update is already downloaded, and
+ >
+
+
+
+
+ info_outline
+
+
+
+
+ Checking for updates...
+
+
+
+
+ close
+
+
+
+
+
-
-
-
-
-
-
+ >
+
+
+
+
+ info_outline
+
+
+
+
+ Checking for updates...
+
+
+
+
+ close
+
+
+
+
+
+
+
+
+ info_outline
+
+
+
+
+ Download for version some-version started...
+
+
+
+
+ close
+
+
+
+
+
+
+
+
+ info_outline
+
+
+
+
+
+
+ Update Available
+
+
+ Version some-version of Lens IDE is available and ready to be installed. Would you like to update now?
+
+
+
+
+
+
+
+
+
+
+ close
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+