This test had been failing with "title can't be blank" a few times recently. Looking for a difference between the v2 form template (in app/views/articles) and the ArticleForm component (in app/javascript/article-form/) showed there is an id on the js form but not the erb/html form we respond with first. The test had been sometimes typing the title into the text area before the component mounts, and trying to view the article gives a validation error rather than the expected response. |
||
|---|---|---|
| .. | ||
| admin | ||
| articles | ||
| authentication | ||
| collections | ||
| comments | ||
| dashboards | ||
| homepage | ||
| notifications | ||
| onboardings | ||
| organization | ||
| podcasts | ||
| search | ||
| tags | ||
| user | ||
| videos | ||
| banned_user_interactions_spec.rb | ||
| feedback_message_spec.rb | ||
| link_for_tags_in_posts_in_notifications_spec.rb | ||
| user_logs_in_with_password_spec.rb | ||
| user_uses_the_editor_spec.rb | ||
| user_views_a_reading_list_spec.rb | ||
| user_views_logo_spec.rb | ||
| user_visits_a_comments_page_spec.rb | ||