Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modulares Layout für die Implementierungsseite der Nutzer #2795

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Add test file for modular editor
Benedikt Artelt committed Nov 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 4d30e910dbec59577a2b3c89644c499daf0aac9e
12 changes: 12 additions & 0 deletions spec/system/editor_system_spec.rb
Original file line number Diff line number Diff line change
@@ -109,4 +109,16 @@
expect(page).to have_no_content(I18n.t('exercises.editor.score'))
end
end

context 'contains resizer' do
it 'contains a horizontal resizer' do
visit(implement_exercise_path(exercise))
expect(page).to have_css('#resizerHorizontal')
end
it 'contains a vertical resizer' do
visit(implement_exercise_path(exercise))
click_button(I18n.t('exercises.editor.score'))
expect(page).to have_css('#resizerVertical')
end
end
end