Skip to content
Snippets Groups Projects

Modifies Package Registry group settings

All threads resolved!
1 file
+ 4
3
Compare changes
  • Side-by-side
  • Inline
@@ -67,15 +67,16 @@
@@ -67,15 +67,16 @@
visit_settings_page
visit_settings_page
within '[data-testid="maven-settings"]' do
within '[data-testid="maven-settings"]' do
expect(page).to have_content('Allow duplicates')
expect(page).to have_content('Reject packages with the same name and version')
 
expect(page).not_to have_content('Exceptions')
find('.gl-toggle').click
find('.gl-toggle').click
expect(page).to have_content('Reject packages with the same name and version')
expect(page).to have_content('Exceptions')
visit_settings_page
visit_settings_page
expect(page).to have_content('Reject packages with the same name and version')
expect(page).to have_content('Exceptions')
end
end
end
end
Loading