X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/32ca1dc4da9100a1a698d33a46c2919cf53fe606..f2574ec2e4ddef03c9504cd58741e73426ea1b17:/apps/workbench/test/integration/folders_test.rb diff --git a/apps/workbench/test/integration/folders_test.rb b/apps/workbench/test/integration/folders_test.rb index 8752dadbda..dc51b7724d 100644 --- a/apps/workbench/test/integration/folders_test.rb +++ b/apps/workbench/test/integration/folders_test.rb @@ -16,8 +16,7 @@ class FoldersTest < ActionDispatch::IntegrationTest find('.btn', text: 'Edit description').click find('.editable-input textarea').set('I just edited this.') find('.editable-submit').click - # Wait for editable popup to go away - page.assert_no_selector '.editable-submit' + wait_for_ajax end visit current_path assert(find?('.panel', text: 'I just edited this.'), @@ -36,6 +35,7 @@ class FoldersTest < ActionDispatch::IntegrationTest find('.editable', text: 'Now I have a name.').click find('.editable-input input').set('Now I have a new name.') find('.glyphicon-ok').click + wait_for_ajax find('.editable', text: 'Now I have a new name.') end visit current_path