Skip to content

Commit

Permalink
add longer wait time for metadata panel spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mejackreed committed Nov 6, 2015
1 parent 96d8201 commit 58c93e2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions spec/features/metadata_panel_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
visit catalog_path 'stanford-cg357zz0321'
expect(page).to have_css 'li.metadata a', text: 'Metadata'
click_link 'Metadata'
within 'div.modal-body' do
expect(page).to have_css 'div.label', text: 'MODS'
expect(page).to have_css 'div.CodeRay', count: 2
expect(page).to have_css 'div.label', text: 'ISO 19139'
using_wait_time 15 do
within '.metadata-view' do
expect(page).to have_css 'div.label', text: 'MODS'
expect(page).to have_css 'div.CodeRay', count: 2
expect(page).to have_css 'div.label', text: 'ISO 19139'
end
end
end
end
Expand Down

0 comments on commit 58c93e2

Please sign in to comment.