From 5ed48bf2a34efaf079cc2e1f8e254709e5d87ce6 Mon Sep 17 00:00:00 2001 From: Aleksandr Gumroian Date: Mon, 29 Apr 2024 14:27:33 +0200 Subject: [PATCH] Update Snapshots --- .../__snapshots__/CheckBox.test.js.snap | 74 ++-- .../__snapshots__/NumberInput.test.js.snap | 51 ++- .../__snapshots__/PasswordInput.test.js.snap | 13 +- .../__snapshots__/RadioSet.test.js.snap | 30 +- .../__snapshots__/Select.test.js.snap | 15 +- .../__snapshots__/Switch.test.js.snap | 68 ++-- .../__snapshots__/TextInput.test.js.snap | 13 +- .../__snapshots__/WiFiSettings.test.js.snap | 366 +++++++++--------- .../__snapshots__/RebootButton.test.js.snap | 11 +- .../__snapshots__/AlertContext.test.js.snap | 9 +- .../__snapshots__/SubmitButton.test.js.snap | 6 +- 11 files changed, 329 insertions(+), 327 deletions(-) diff --git a/src/bootstrap/__tests__/__snapshots__/CheckBox.test.js.snap b/src/bootstrap/__tests__/__snapshots__/CheckBox.test.js.snap index 89be1f4..c900495 100644 --- a/src/bootstrap/__tests__/__snapshots__/CheckBox.test.js.snap +++ b/src/bootstrap/__tests__/__snapshots__/CheckBox.test.js.snap @@ -2,55 +2,51 @@ exports[` Render checkbox 1`] = `
-
+ +
+ + Some help text +
`; exports[` Render uncheked checkbox 1`] = `
-
+ +
+ + Some help text +
`; diff --git a/src/bootstrap/__tests__/__snapshots__/NumberInput.test.js.snap b/src/bootstrap/__tests__/__snapshots__/NumberInput.test.js.snap index 2ac7802..6fceddc 100644 --- a/src/bootstrap/__tests__/__snapshots__/NumberInput.test.js.snap +++ b/src/bootstrap/__tests__/__snapshots__/NumberInput.test.js.snap @@ -2,9 +2,10 @@ exports[` Render number input 1`] = `
- - Some help text - + + Some help text + +
`; diff --git a/src/bootstrap/__tests__/__snapshots__/PasswordInput.test.js.snap b/src/bootstrap/__tests__/__snapshots__/PasswordInput.test.js.snap index 0bbe9ea..58a9e4b 100644 --- a/src/bootstrap/__tests__/__snapshots__/PasswordInput.test.js.snap +++ b/src/bootstrap/__tests__/__snapshots__/PasswordInput.test.js.snap @@ -2,9 +2,10 @@ exports[` Render password input 1`] = `
- - Some help text - + + Some help text + + `; diff --git a/src/bootstrap/__tests__/__snapshots__/RadioSet.test.js.snap b/src/bootstrap/__tests__/__snapshots__/RadioSet.test.js.snap index 9a57656..84db55e 100644 --- a/src/bootstrap/__tests__/__snapshots__/RadioSet.test.js.snap +++ b/src/bootstrap/__tests__/__snapshots__/RadioSet.test.js.snap @@ -2,7 +2,7 @@ exports[` Render radio set 1`] = `
- - Some help text - + + Some help text + +
`; diff --git a/src/bootstrap/__tests__/__snapshots__/Select.test.js.snap b/src/bootstrap/__tests__/__snapshots__/Select.test.js.snap index d907571..78422b6 100644 --- a/src/bootstrap/__tests__/__snapshots__/Select.test.js.snap +++ b/src/bootstrap/__tests__/__snapshots__/Select.test.js.snap @@ -3,15 +3,16 @@ exports[` - - Help text - + + Help text + + `; diff --git a/src/bootstrap/__tests__/__snapshots__/Switch.test.js.snap b/src/bootstrap/__tests__/__snapshots__/Switch.test.js.snap index cc5f8c9..c962d21 100644 --- a/src/bootstrap/__tests__/__snapshots__/Switch.test.js.snap +++ b/src/bootstrap/__tests__/__snapshots__/Switch.test.js.snap @@ -2,26 +2,25 @@ exports[` Render switch 1`] = `
-
+ +
+ Some help text
@@ -30,25 +29,24 @@ exports[` Render switch 1`] = ` exports[` Render uncheked switch 1`] = `
-
+ +
+ Some help text
diff --git a/src/bootstrap/__tests__/__snapshots__/TextInput.test.js.snap b/src/bootstrap/__tests__/__snapshots__/TextInput.test.js.snap index 3dd5c56..52adab8 100644 --- a/src/bootstrap/__tests__/__snapshots__/TextInput.test.js.snap +++ b/src/bootstrap/__tests__/__snapshots__/TextInput.test.js.snap @@ -2,9 +2,10 @@ exports[` Render text input 1`] = `
- - Some help text - + + Some help text + +
`; diff --git a/src/common/WiFiSettings/__tests__/__snapshots__/WiFiSettings.test.js.snap b/src/common/WiFiSettings/__tests__/__snapshots__/WiFiSettings.test.js.snap index 84df914..61083f3 100644 --- a/src/common/WiFiSettings/__tests__/__snapshots__/WiFiSettings.test.js.snap +++ b/src/common/WiFiSettings/__tests__/__snapshots__/WiFiSettings.test.js.snap @@ -5,7 +5,7 @@ exports[` Snapshot 2.4 GHz 1`] = ` - First value + Second value -@@ -241,207 +241,95 @@ +@@ -243,207 +243,95 @@ value=\\"0\\" > auto @@ -255,53 +255,51 @@ exports[` Snapshot both modules disabled. 1`] = ` >
-
+
+ Wi-Fi 1 + +

-
+
+ Wi-Fi 2 + +
+
+
+
-+ -+ SSID which contains non-standard characters could cause problems on some devices. -+ ++ ++ SSID which contains non-standard characters could cause problems on some devices. ++ ++ + +
+
+
+ Password must contain at least 8 symbols +
-+ -+ WPA2/3 pre-shared key, that is required to connect to the network. -+ ++ ++ WPA2/3 pre-shared key, that is required to connect to the network. ++ ++ +
-
+@@ -21,10 +21,516 @@ + > + Wi-Fi 1 + +
+
+
-+ -+ SSID which contains non-standard characters could cause problems on some devices. -+ ++ ++ SSID which contains non-standard characters could cause problems on some devices. ++ ++ + +
+
-+ -+ WPA2/3 pre-shared key, that is required to connect to the network. -+ ++ ++ WPA2/3 pre-shared key, that is required to connect to the network. ++ ++ + +
-+
++ ++
++ + If set, network is not visible when scanning for available networks. + +
+
+
+ +
+ + +
+
+ + +
-+ -+ The 2.4 GHz band is more widely supported by clients, but tends to have more interference. The 5 GHz band is a newer standard and may not be supported by all your devices. It usually has less interference, but the signal does not carry so well indoors. -+ ++ ++ The 2.4 GHz band is more widely supported by clients, but tends to have more interference. The 5 GHz band is a newer standard and may not be supported by all your devices. It usually has less interference, but the signal does not carry so well indoors. ++ ++
+
+
+ + -+ -+ Change this to adjust 802.11n/ac/ax mode of operation. 802.11n with 40 MHz wide channels can yield higher throughput but can cause more interference in the network. If you don't know what to choose, use the default option with 20 MHz wide channel. -+ ++ ++ Change this to adjust 802.11n/ac/ax mode of operation. 802.11n with 40 MHz wide channels can yield higher throughput but can cause more interference in the network. If you don't know what to choose, use the default option with 20 MHz wide channel. ++ ++
+ +
+ + +
+
+ + -+ -+ The WPA3 standard is the new most secure encryption method that is suggested to be used with any device that supports it. The older devices without WPA3 support require older WPA2. If you experience issues with connecting older devices, try to enable WPA2. -+ ++ ++ The WPA3 standard is the new most secure encryption method that is suggested to be used with any device that supports it. The older devices without WPA3 support require older WPA2. If you experience issues with connecting older devices, try to enable WPA2. ++ ++
+ +
-+
++ ++
++ + In case you have trouble connecting to WiFi Access Point, try disabling Management Frame Protection. + +
+
+
-+
++ ++
++ + Enables Wi-Fi for guests, which is separated from LAN network. Devices connected to this network are allowed to access the internet, but aren't allowed to access other devices and the configuration interface of the router. Parameters of the guest network can be set in the Guest network tab. + +
+

- Render modal. 1`] = ` Warning! + />
diff --git a/src/form/__tests__/__snapshots__/SubmitButton.test.js.snap b/src/form/__tests__/__snapshots__/SubmitButton.test.js.snap index 956f712..6fb5c8a 100644 --- a/src/form/__tests__/__snapshots__/SubmitButton.test.js.snap +++ b/src/form/__tests__/__snapshots__/SubmitButton.test.js.snap @@ -3,7 +3,7 @@ exports[` Render load 1`] = `