Precondition
- AvalonDock.Layout.config file is not present in MLibTest bin folder
- LayoutAnchorables can be docked into a LayoutDocument:
Make sure the line anchorableToShow.CanDockAsTabbedDocument = false; is commented out or not present in LayoutInitializer.BeforeInsertAnchorable(...)
Test Case 1
-
Start MLibTest
-
Open 3 text files via Files>Open

-
Drag & Drop 2 documents out of the MainWindow into a FloatingDocumentWindow

-
Drag & Drop a LayoutAnchorable (toolwindow) into the FloatingDocumentWindow

-
Drag & Drop FloatingDocumentWindow into one of the outer drop buttons of the DocumentPane (e.g. Left most drop button)

-
Result: OK (both documents and the Anchorable are present in the expected position)

Test Case 2
(same pre-conditions as Test Case 1)
-
Start MLibTest
-
Open 2 text files via Files>Open

-
Drag & Drop 2 documents out of the MainWindow into a FloatingDocumentWindow

-
Drag & Drop a LayoutAnchorable (toolwindow) into the FloatingDocumentWindow

-
Drag & Drop FloatingDocumentWindow into the center drop button of the DocumentPane

-
Result: NOT OK (the Anchorable - Tool 3 in screenshots - is no longer present in the application and cannot be viewed anymore)
