diff --git a/test/system/deposit_item_test.rb b/test/system/deposit_item_test.rb index 616bb1433..0e10160a2 100644 --- a/test/system/deposit_item_test.rb +++ b/test/system/deposit_item_test.rb @@ -59,11 +59,11 @@ class DepositItemTest < ApplicationSystemTestCase attach_file_in_dropzone(file_fixture('image-sample.jpeg')) has_css? '.j-thumbnail' - click_on I18n.t('items.draft.save_and_continue'), wait: 5 + click_on I18n.t('items.draft.save_and_continue') # 4. Review and Deposit Form - assert_selector 'h2', text: I18n.t('items.draft.review_and_deposit_item.header') + assert_selector 'h2', text: I18n.t('items.draft.review_and_deposit_item.header'), wait: 15 click_on I18n.t('items.draft.header') diff --git a/test/system/deposit_thesis_test.rb b/test/system/deposit_thesis_test.rb index aa0e0126b..382947abf 100644 --- a/test/system/deposit_thesis_test.rb +++ b/test/system/deposit_thesis_test.rb @@ -55,11 +55,11 @@ class DepositThesisTest < ApplicationSystemTestCase attach_file_in_dropzone(file_fixture('image-sample.jpeg')) has_css? '.j-thumbnail' - click_on I18n.t('admin.theses.draft.save_and_continue'), wait: 5 + click_on I18n.t('admin.theses.draft.save_and_continue'), wait: 15 # 4. Review and Deposit Form - assert_selector 'h2', text: I18n.t('admin.theses.draft.review_and_deposit_thesis.header') + assert_selector 'h2', text: I18n.t('admin.theses.draft.review_and_deposit_thesis.header'), wait: 15 click_on I18n.t('admin.theses.draft.header')