Logo: Relish

  1. Sign in

Project: Redcar

Open directory tree

Scenarios
Open directory
Given
I will choose "." from the "open_directory" dialog
When
I open a directory
Then
I should see "bin,lib,plugins" in the tree
Open a directory using another Redcar invocation
Given
I open "plugins/project/spec/fixtures/myproject" using the redcar command
Then
the window should have title "myproject"
Open directory then another directory
Given
I will choose "." from the "open_directory" dialog
When
I open a directory
Given
I will choose "plugins" from the "open_directory" dialog
When
I open a directory
Then
I should see "core,application,tree" in the tree
Open a directory and then the same using another Redcar invocation
Given
I will choose "plugins/project/spec/fixtures/myproject" from the "open_directory" dialog
When
I open a directory
And
I open "plugins/project/spec/fixtures/myproject" using the redcar command
Then
there should be 1 windows
And
the window should have title "myproject"
Title of window reflects open project
Given
I will choose "plugins/project/spec/fixtures/myproject" from the "open_directory" dialog
When
I open a directory
Then
the window should have title "myproject"
Title of window returns to "Redcar" if directory is closed
Given
I will choose "plugins/project/spec/fixtures/myproject" from the "open_directory" dialog
When
I open a directory
Then
the window should have title "myproject"
When
I close the directory
Then
the window should have title "Redcar"
Directory keeps the same width if maximized
Given
I will choose "plugins/project/spec/fixtures/myproject" from the "open_directory" dialog
When
I open a directory
Then
the tree width should be the default
When
I maximize the window size
Then
the tree width should be the default
When
I restore the window size
Then
the tree width should be the default
Toggle Tree Visibility hides the treebook if the tab title is visible, else it opens it
Given
I will choose "plugins/project/spec/fixtures/myproject" from the "open_directory" dialog
When
I open a directory
And
I set the treebook width to the default
And
I toggle tree visibility
Then
the tree width should be the minimum size
When
I set the treebook width to only a few pixels
And
I toggle tree visibility
Then
the tree width should be the default
Treebook becomes visible if hidden and another tree is opened
Given
I will choose "plugins/project/spec/fixtures/myproject" from the "open_directory" dialog
When
I open a directory
And
I set the treebook width to the default
And
I toggle tree visibility
Then
the tree width should be the minimum size
When
I open the runnables tree
Then
the tree width should be the default
And
I toggle tree visibility
Then
the tree width should be the minimum size
Treebooks should keep open to their previous open width
Given
I will choose "plugins/project/spec/fixtures/myproject" from the "open_directory" dialog
When
I open a directory
When
I set the treebook width to the default
And
I set the treebook width to 50 pixels
And
I toggle tree visibility
Then
the tree width should be the minimum size
When
I toggle tree visibility
Then
the tree width should be 50 pixels
When
I set the treebook width to 250 pixels
And
I toggle tree visibility
And
I toggle tree visibility
Then
the tree width should be 250 pixels
When
I toggle tree visibility
And
I set the treebook width to 35 pixels
And
I toggle tree visibility
Then
the tree width should be the minimum size

Last published over 5 years ago by danlucraft.