PublicLab.Editor icon indicating copy to clipboard operation
PublicLab.Editor copied to clipboard

Possible change in editor API (alerts) has affected downstream use in plots2 ?

Open jywarren opened this issue 5 years ago • 0 comments
trafficstars

https://github.com/publiclab/plots2/pull/7820 seems to show:

Minitest::UnexpectedError:         Capybara::ElementNotFound: Unable to find css ".alert-danger"
            test/system/post_question_test.rb:80:in `block in <class:QuestionTest>'

Reading that actual test:

Hmm. The test for validation messages seems to be failing now:

https://github.com/publiclab/plots2/blob/a2cc4788d73652015c05b9483a02b031d01cb009/test/system/post_question_test.rb#L80

It's supposed to show:

assert_equal( "title can't be blank, is too short (minimum is 3 characters)\nbase You must provide a title.", message )

Did we change that in the editor? Or in the plots2 codebase?

jywarren avatar Apr 28 '20 21:04 jywarren