spec: fix new files spec

Change-Id: Id80f455dc405f5e57413b1cf03ff9e14a523fb0b
Reviewed-on: https://gerrit.instructure.com/99456
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
This commit is contained in:
Landon Wilkins 2017-01-12 12:05:02 -07:00
parent e260a5985d
commit f9694b8391
1 changed files with 2 additions and 1 deletions

View File

@ -200,7 +200,8 @@ describe "better_file_browsing" do
driver.action.send_keys(:return).perform
# Unable to find matching line from backtrace error is encountered if refresh_page is not used
refresh_page
expect(all_files_folders.count).to eq 1
wait_for_animations
expect(ff('.ef-item-row')).to have_size 1
move(file_name, 0, :cog_icon, destination)
wait_for_ajaximations
final_destination = destination.split('/').pop