harvard-lil / h2o

H2O is a web app for creating and reading open educational resources, primarily in the legal field
https://opencasebook.org
GNU Affero General Public License v3.0
36 stars 30 forks source link

Reader mode annotation tests and US Code styles #1914

Closed lizadaly closed 1 year ago

lizadaly commented 1 year ago

A batch of fixes and new tests for reader mode. This adds some missing markup/styles for US code content, and some simple tests for annotations.

There will be more batches like this as I work through the list of featured casebooks as examples.

codecov-commenter commented 1 year ago

Codecov Report

Merging #1914 (b93c131) into develop (d18f1de) will decrease coverage by 0.11%. The diff coverage is 48.38%.

@@             Coverage Diff             @@
##           develop    #1914      +/-   ##
===========================================
- Coverage    76.93%   76.82%   -0.11%     
===========================================
  Files           56       56              
  Lines         6702     6731      +29     
===========================================
+ Hits          5156     5171      +15     
- Misses        1546     1560      +14     
Impacted Files Coverage Δ
web/main/test/functional/test_platform.py 57.81% <0.00%> (+0.88%) :arrow_up:
web/main/test/functional/test_reading_mode.py 54.54% <50.00%> (-9.75%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.