Logo: Relish

  1. Sign in

Project: Redcar

Refresh directory tree

Scenarios
Does not refresh instantly
Given
I will choose "." from the "open_directory" dialog
When
I open a directory
Then
I should see "bin,lib,plugins" in the tree
And
I should not see "testyfile.txt" in the tree
When
I touch the file "./testyfile.txt"
Then
I should not see "testyfile.txt" in the tree
I can manually refresh the tree
Given
I will choose "." from the "open_directory" dialog
When
I open a directory
Then
I should see "bin,lib,plugins" in the tree
And
I should not see "testyfile.txt" in the tree
When
I touch the file "./testyfile.txt"
And
I refresh the directory tree
Then
I should see "bin,lib,plugins,testyfile.txt" in the tree
Changing windows refreshed the tree
Given
I will choose "." from the "open_directory" dialog
When
I open a directory
Then
I should see "bin,lib,plugins" in the tree
And
I should not see "testyfile.txt" in the tree
When
I touch the file "./testyfile.txt"
When
I open a new window
And
I focus the working directory window through the gui
Then
I should see "bin,lib,plugins,testyfile.txt" in the tree
Refreshing the tree leaves rows expanded as they were before
Given
I will choose "." from the "open_directory" dialog
When
I open a directory
And
I expand the tree row "lib"
Then
I should see "bin,lib,redcar.rb,plugins" in the tree
And
I refresh the directory tree
Then
I should see "bin,lib,redcar.rb,plugins" in the tree
Tree is moved
Given
I will choose "plugins/project/spec/fixtures/myproject" from the "open_directory" dialog
When
I open a directory
And
I move the myproject fixture away
And
I refresh the directory tree
Then
I should not see "lib" in the tree

Last published over 5 years ago by danlucraft.