@@ -202,7 +202,7 @@ def test_file_insert(
202202 file_input = driver .find_element (By .XPATH , "//input[@type='file']" )
203203 file_input .send_keys (upload_file )
204204 assert file_input .get_attribute ("name" ) == ""
205- with wait_for_page_load (driver , timeout = 10 ):
205+ with wait_for_page_load (driver , timeout = 30 ):
206206 file_input .submit ()
207207 assert storage .exists (f"tmp/s3file/{ request .node .name } .txt" )
208208
@@ -223,7 +223,7 @@ def test_file_update(
223223 file_input = driver .find_element (By .XPATH , "//input[@type='file']" )
224224 file_input .send_keys (upload_file )
225225 assert file_input .get_attribute ("name" ) == ""
226- with wait_for_page_load (driver , timeout = 10 ):
226+ with wait_for_page_load (driver , timeout = 30 ):
227227 file_input .submit ()
228228 assert storage .exists (f"tmp/s3file/{ request .node .name } .txt" )
229229
@@ -240,7 +240,7 @@ def test_file_insert_submit_value(
240240 file_input .send_keys (upload_file )
241241 assert file_input .get_attribute ("name" ) == ""
242242 save_button = driver .find_element (By .XPATH , "//button[@name='save_continue']" )
243- with wait_for_page_load (driver , timeout = 10 ):
243+ with wait_for_page_load (driver , timeout = 30 ):
244244 save_button .click ()
245245 assert "save_continue" in driver .page_source
246246 assert "continue_value" in driver .page_source
@@ -254,7 +254,7 @@ def test_file_insert_submit_formaction(
254254 file_input .send_keys (upload_file )
255255 assert file_input .get_attribute ("name" ) == ""
256256 save_button = driver .find_element (By .XPATH , "//button[@name='custom_save']" )
257- with wait_for_page_load (driver , timeout = 10 ):
257+ with wait_for_page_load (driver , timeout = 30 ):
258258 save_button .click ()
259259 assert "custom_save" in driver .page_source
260260 assert "custom_target" in driver .page_source
@@ -275,7 +275,7 @@ def test_file_insert_change_event(
275275 file_input .send_keys (upload_file )
276276 file_input .send_keys (another_upload_file )
277277 save_button = driver .find_element (By .CSS_SELECTOR , "input[name=save]" )
278- with wait_for_page_load (driver , timeout = 10 ):
278+ with wait_for_page_load (driver , timeout = 30 ):
279279 save_button .click ()
280280 assert "save" in driver .page_source
281281
@@ -302,7 +302,7 @@ def test_multi_file(
302302 )
303303 file_input .send_keys (str (freeze_upload_folder / yet_another_upload_file ))
304304 save_button = driver .find_element (By .XPATH , "//input[@name='save']" )
305- with wait_for_page_load (driver , timeout = 10 ):
305+ with wait_for_page_load (driver , timeout = 30 ):
306306 save_button .click ()
307307 response = json .loads (driver .find_elements (By .CSS_SELECTOR , "pre" )[0 ].text )
308308 assert response ["FILES" ] == {
0 commit comments