Skip to content

Commit f25b2fa

Browse files
committed
tests: general test cases fixes
Signed-off-by: Andrei Popa <andrei.popa@analog.com>
1 parent a3a7c43 commit f25b2fa

File tree

9 files changed

+22
-22
lines changed

9 files changed

+22
-22
lines changed

docs/tests/general/core/add_dev_tests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ lists available local devices when initiated.
8888
- Scopy is installed on the system.
8989
- There is at least one IIO device connected to the system that has local
9090
backend.
91-
- OS: ANY.
91+
- OS: Linux-x86_64.
9292

9393
**Steps:**
9494
1. Open Scopy.

docs/tests/general/core/connection_tests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Test 1: Verify the connection flow.
6262
**Steps:**
6363
1. Click on the device icon from device browser.
6464
2. Click on **Connect** button.
65-
- **Expected result:** The **Disconnect** button appears, a status LED
65+
- **Expected result:** The **Disconnect** button appears, a status bar
6666
is displayed under the icon in the device browser, and a progress bar
6767
appears in the application's status bar. After a while, the connection
6868
is established, the status LED turns green, and the tools in the menu

docs/tests/general/core/dev_tests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ properly.
467467
3. Click on the usb device icon from device browser.
468468
4. Click on **Connect** button.
469469
- **Expected result:** The connection is established successfully, both
470-
device icons have a green status LED, both devices are entered into the
470+
device icons have a green status bar, both devices are entered into the
471471
tool menu (the device header contains the device name and uri), and the
472472
tools of each device can be accessed. If the menu contains too many
473473
entries, then the scroll bar will become visible.

docs/tests/general/core/emu_tests.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ correctly (using pqm device).
331331
6. Click on **Verify** button.
332332
- **Expected result:** The compatible plugins page opens. The compatible
333333
plugins are: PQMPlugin (checked), ADCPlugin, DACPlugin, DataLoggerPlugin,
334-
DebuggerPlugin.
334+
DebuggerPlugin (checked).
335335
- **Actual result:**
336336

337337
..
@@ -378,7 +378,7 @@ correctly (using swiot_config device).
378378
5. Click on **Enable** button.
379379
6. Click on **Verify** button.
380380
- **Expected result:** The compatible plugins page opens. The compatible
381-
plugins are: SWIOTPlugin (checked), DataLoggerPlugin, DebuggerPlugin.
381+
plugins are: SWIOTPlugin (checked), DataLoggerPlugin, DebuggerPlugin (checked).
382382
- **Actual result:**
383383

384384
..
@@ -426,7 +426,7 @@ correctly (using swiot_runtime device).
426426
6. Click on **Verify** button.
427427
- **Expected result:** The compatible plugins page opens. The compatible
428428
plugins are: SWIOTPlugin (checked), ADCPlugin, DataLoggerPlugin,
429-
DebuggerPlugin, RegmapPlugin.
429+
DebuggerPlugin (checked), RegmapPlugin.
430430
- **Actual result:**
431431

432432
..

docs/tests/general/core/hp_tests.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,11 @@ Test 6: Navigation using the buttons in the info page.
261261
- **Expected result:** The info page changes from the 'Welcome to Scopy'
262262
page to the add page and in device browser the related button is
263263
highlighted.
264+
- **Actual result:**
264265
7. Click on the left arrow button.
265266
- **Expected result:** The "Welcome to Scopy" page is displayed and the
266267
related button is highlighted.
268+
- **Actual result:**
267269
8. Click on the left arrow button.
268270
- **Expected result:** The device's page is displayed and the device
269271
icon is highlighted.

docs/tests/general/core/license_about_page_tests.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ Test 2: Check links from About Page
144144
Actual test result goes here.
145145
..
146146
147-
10. Click on the **Home** buttom from the top right side of the application.
148-
11. Click on the highlighted text **Documentation**
147+
10. Click on the highlighted text **Documentation**
149148
- **Expected result:** A web browser window will open containing the
150149
documentation for Scopy.
151150
- **Actual result:**
@@ -154,8 +153,7 @@ Test 2: Check links from About Page
154153
Actual test result goes here.
155154
..
156155
157-
12. Click on the **Home** buttom from the top right side of the application.
158-
13. Click on the highlighted text **Support Forum**
156+
11. Click on the highlighted text **Support Forum**
159157
- **Expected result:** A web browser window will open containing a forum
160158
named `ADI EngineerZone`.
161159
- **Actual result:**

docs/tests/general/general_preferences_tests.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ Test 12 - Auto-connect to previous session
633633
- Emulator tests
634634

635635
**Preconditions:**
636-
- :ref:`Pluto.emu<pluto_emu_setup>`
636+
- :ref:`Pluto.usb<pluto_emu_usb_setup>`
637637
- OS: ANY
638638

639639
**Steps:**
@@ -876,7 +876,8 @@ Test 17 - Regularly scan for new devices
876876
- OS: ANY
877877

878878
**Steps:**
879-
1. Connect the Pluto to the machine via USB.
879+
1. Set preference to enabled.
880+
2. Connect the Pluto to the machine via USB.
880881
- **Expected result:** Pluto should automatically appear in
881882
the device list, and a toggle switch for scanning should
882883
appear in the top right.
@@ -886,7 +887,7 @@ Test 17 - Regularly scan for new devices
886887
Actual test result goes here.
887888
..
888889
889-
2. Repeat the steps with the preference disabled.
890+
3. Repeat the steps with the preference disabled.
890891
- **Expected result:** Pluto should not appear automatically,
891892
only when pressing the on-demand Scan button.
892893
- **Actual result:**
@@ -926,7 +927,7 @@ Test 18 - Session devices
926927
- OS: ANY
927928

928929
**Steps:**
929-
1. After connecting to M2K, go to the preferences and press "Refresh."
930+
1. After connecting to Pluto, go to the preferences and press "Refresh."
930931
2. Check the current device's URI.
931932
3. Go back to the homepage and forget the device by pressing the red
932933
"X" button on the device.
@@ -972,8 +973,9 @@ Test 19 - Show plot FPS
972973
- OS: ANY
973974

974975
**Steps:**
975-
1. Open Oscilloscope and run it.
976-
2. Open ADC - Time and run it.
976+
1. Set preference to enabled.
977+
2. Open Oscilloscope and run it.
978+
3. Open ADC - Time and run it.
977979
- **Expected result:** Should show the FPS on the plot
978980
(M2K may look different from other plugins).
979981
- **Actual result:**
@@ -982,7 +984,7 @@ Test 19 - Show plot FPS
982984
Actual test result goes here.
983985
..
984986
985-
3. Repeat the steps with the preference disabled.
987+
4. Repeat the steps with the preference disabled.
986988
- **Expected result:** No FPS should be visible.
987989
- **Actual result:**
988990

docs/tests/general/instrument_detaching_tests.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Setup enviroment:
2929
**Pluto.Usb:**
3030
- Open the Scopy application
3131
- Connect the PlutoSDR to the computer via USB
32-
- Type the URI of the PlutoSDR in the URI field (if you don't know the URI, just type "ip:192.168.2.1")
3332

3433
Test 1: Detach and reattach an instrument
3534
----------------------------------------------------------------------------------------------------

docs/tests/plugins/adc/adc_tests.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ Test 1 - X-AXIS
100100
Actual test result goes here.
101101
..
102102
103-
9. Change XMin to 200 and XMax to -100
104-
10. Press Single
103+
9. Change XMin to 300 and XMax to -100 (pressing Single will reset this setting)
105104
- **Expected result:** Plot labels should range from 300 to -100, with channel curves centered and between samples 200 and 0
106105
- **Actual result:**
107106

@@ -683,8 +682,8 @@ plotting in the ADC plugin
683682
Actual test result goes here.
684683
..
685684
686-
3. Set XMode to Frequency, XMin to 0.5 MHz, XMax to 2 MHz, and press single
687-
- **Expected result:** Plot labels should be from 0.5 MHz to 2 MHz, and channel curves should be centered
685+
3. Set XMode to Frequency, XMin to 0.5 MHz, XMax to 2 MHz (pressing Single will reset this setting)
686+
- **Expected result:** Plot labels should be from 0.5 MHz to 2 MHz
688687
- **Actual result:**
689688

690689
..

0 commit comments

Comments
 (0)