Commit d0109c26 authored by Simon Knox's avatar Simon Knox

fix transient failure in path_locks_spec.rb

request to tree_path started before request to lock file/folder
completed
parent 5f9c1a0c
......@@ -19,6 +19,9 @@ feature 'Path Locks', :js do
click_link "encoding"
end
click_link "Lock"
expect(page).to have_selector('.fa-lock')
visit tree_path
expect(page).to have_selector('.fa-lock')
......@@ -33,6 +36,8 @@ feature 'Path Locks', :js do
within '.file-actions' do
click_link "Lock"
expect(page).to have_link('Unlock')
end
visit tree_path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment