diff --git a/config/locales/en.yml b/config/locales/en.yml index 8e82b21e90..29958d22a3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -481,6 +481,7 @@ en: active_courses: Active Courses add_trainings: Please add student trainings to your assignment timeline. Assigning training modules is an essential part of Wiki Ed's best practices. alerts: Alerts + does_not_exist: The Item doesn't exist. Create a Sandbox page and assign yourself to that to receive suggestions. all_courses: All Courses already_enrolled: You are already a part of '%{title}'! already_exists: That already exists for this course! diff --git a/spec/features/assigned_articles_spec.rb b/spec/features/assigned_articles_spec.rb index 72d966f9d1..0537888615 100644 --- a/spec/features/assigned_articles_spec.rb +++ b/spec/features/assigned_articles_spec.rb @@ -23,6 +23,8 @@ visit "/courses/#{course.slug}/articles/assigned" expect(page).to have_content('Nancy Tuana') find('a', text: 'Feedback').click + expect(page).to have_no_content(I18n.t('courses.feedback_loading')) + expect(page).to have_selector('textarea.feedback-form') find('textarea.feedback-form').fill_in with: 'This is a great article!' click_button 'Add Suggestion' find('a', text: 'Delete').click