Simplecov: Source files on the second page not opening in coverage report

Created on 18 Feb 2020  路  3Comments  路  Source: simplecov-ruby/simplecov

Source files on the second page of the overview are not being displayed (at all) when I click them. On the first page, everything is fine.

This is what it looks like on Firefox:

Screenshot 2020-02-18 at 13 00 45

On Chrome, I get an error saying: "This content failed to load.".

The source for one of them is:

            <td class="strong t-file__name"><a href="#43d7c8034528c6016dba1551b5b448b35216ed5d" class="src_link" title="lib/langs.rb">lib/langs.rb</a></td>

And the relevant div does seem to exist in the HTML:

        <div class="source_table" id="43d7c8034528c6016dba1551b5b448b35216ed5d">
  <div class="header">
    <h3>lib/langs.rb</h3>
  • RSpec ~> 3.9
  • Using a simple .simplecov:
SimpleCov.start do
    add_filter 'spec'
end
Bug

Most helpful comment

Yay, I knew all my wild JS dependency updates would eventually show holes in the test coverage and break things :see_no_evil:

Thanks a bunch for the report! :green_heart:

I'll have fun fixing these I guess ;) I will hopefully make it this week.

All 3 comments

Yay, I knew all my wild JS dependency updates would eventually show holes in the test coverage and break things :see_no_evil:

Thanks a bunch for the report! :green_heart:

I'll have fun fixing these I guess ;) I will hopefully make it this week.

Fixed through https://github.com/colszowka/simplecov-html/pull/96 - no more pagination, no more errors :angel:

Thanks @PragTob!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rcanand picture rcanand  路  5Comments

jonbcampos picture jonbcampos  路  7Comments

pandermatt picture pandermatt  路  5Comments

DannyBen picture DannyBen  路  4Comments

jpatokal picture jpatokal  路  8Comments