Skip to content

multiwindow

Cody Garver edited this page Sep 5, 2018 · 1 revision

Test cases actions with two or more windows or tabs

All other relevant test cases (Clipboard, Drag and Drop etc) should pass the same whether or not the destination is in the same or a second window. These test cases cover known past issues related specifically to having two or more windows open.

MULTIWINDOW-01

Open Files with two tabs open at the same location. Choose "Open in new window" from second tab label context menu. Press "Reload " button" in first and second windows. Repeatedly press "Reload" rapidly.

Expected The second tab disappears and a new window opens showing the same location. Currently, any selection is lost. Regardless of which "Reload" button is pressed, the view in both windows refresh. No crash or other adverse effect should occur on repeated reloading.

MULTIWINDOW-01a

Open two windows at the same location as before. In one window, navigate away from that location. Press reload. Navigate back to the first location. Press reload again.

Expected When the view show different locations, only the window containing the pressed button refreshes. After navigating back to the first location then both windows refresh regardless of which reload button is pressed.

MULTIWINDOW-02

Open two windows at the same location as before. in Icon View. In one window, change the view mode to List View. Repeat 01

Expected Both windows refresh and no crash or other adverse effect occurs.

MULTIWINDOW-03

Run Files in a terminal with the command:

[path to ]io.elementary.files -d | grep -i "ViewContainer destruct"

Open two tabs at the same location as before. Close one of the tabs. Flush the output of grep by navigating to a different location (this does not cause the tab contents to destruct - test by further navigating in the same tab).

Expected A single ViewContainer destruct message is printed (until the app is closed).

MULTIWINDOW-03a

Run Files in a terminal with the command:

[path to ]io.elementary.files -d | grep -i "ViewContainer destruct"

Open one tab, not being "Home". Drag tab to make another window.

Expected A single ViewContainer destruct message is printed (until the app is closed), as the dragged tab is destroyed and a new Home tab is recreated in the first window.

MULTIWINDOW-04

Create two windows with the second window showing a subdirectory of the folder in the first window. Delete (trash) the subdirectory using the first window.

Expected The second window updates to show the parent of the subdirectory. The second window continues to function normally with respect to mode changes, DnD etc.

Clone this wiki locally