open-reaction-database / ord-schema

Schema for the Open Reaction Database
https://open-reaction-database.org
Apache License 2.0
95 stars 27 forks source link

Editor test expansion - simulate changing text fields #402

Closed connorcoley closed 4 years ago

connorcoley commented 4 years ago

This PR adds a new set of test (right now, a single test using a valid reaction) where we compare the number of validation errors before/after "changing" fields by triggering $('.edittext').trigger('blur');. We don't expect the number of validation errors to change in this case.

codecov[bot] commented 4 years ago

Codecov Report

Merging #402 into main will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #402   +/-   ##
=======================================
  Coverage   77.37%   77.37%           
=======================================
  Files          21       21           
  Lines        2263     2263           
  Branches      472      472           
=======================================
  Hits         1751     1751           
  Misses        375      375           
  Partials      137      137