spec: fix intermittent files failure

Change-Id: Id8f10ef6abdc33204043201de2480e41a389efe1
Reviewed-on: https://gerrit.instructure.com/14197
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
This commit is contained in:
Jake Sorce 2012-10-05 10:47:14 -06:00
parent d0d4be96d0
commit dacc7f9d9f
1 changed files with 1 additions and 0 deletions

View File

@ -474,6 +474,7 @@ describe "common file behaviors" do
end
before(:each) do
sleep 5 # page does a weird load twice which is causing selenium failures so we sleep and wait for the page
@a_filename, a_fullpath, a_data = get_file("a_file.txt")
@b_filename, b_fullpath, b_data = get_file("b_file.txt")
@c_filename, c_fullpath, c_data = get_file("c_file.txt")