spec/capybara_spec.rb in sequenceserver-2.0.0.rc1 vs spec/capybara_spec.rb in sequenceserver-2.0.0.rc2

- old
+ new

@@ -230,11 +230,11 @@ perform_search(query: protein_query, databases: protein_databases.values_at(0)) ## Check that there is a circos vis and unfold it. page.should have_content('Queries and their top hits: chord diagram') - page.execute_script("$('.circos > .grapher-header > h5').click()") + page.execute_script("$('.circos > .grapher-header > h4').click()") sleep 1 page.execute_script("$('.export-to-svg:eq(0)').click()") wait_for_download expect(File.basename(downloaded_file)).to eq('Circos-visualisation.svg') @@ -258,10 +258,10 @@ expect(File.basename(downloaded_file)).to eq('Alignment-Overview-Query_1.png') clear_downloads ## Check that there is a length distribution of hits. page.should have_content('Length distribution of hits') - page.execute_script("$('.length-distribution > .grapher-header > h5').click()") + page.execute_script("$('.length-distribution > .grapher-header > h4').click()") sleep 1 page.execute_script("$('.export-to-svg:eq(2)').click()") wait_for_download expect(File.basename(downloaded_file)).to eq('length-distribution-Query_1.svg')