Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Scope the `:js` metadata only to where it is required

Aaron Contreras1a426da42ee5
diff --git a/modules/calendar/spec/features/calendars_index_spec.rb b/modules/calendar/spec/features/calendars_index_spec.rb
index cbb62ceed56..715143f3995 100644
--- a/modules/calendar/spec/features/calendars_index_spec.rb
+++ b/modules/calendar/spec/features/calendars_index_spec.rb
@@ -29,7 +29,7 @@
require 'spec_helper'
require_relative '../support/pages/calendar'
-RSpec.describe 'Calendars', 'index', :js, :with_cuprite do
+RSpec.describe 'Calendars', 'index', :with_cuprite do
# The order the Projects are created in is important. By naming `project` alphanumerically
# after `other_project`, we can ensure that subsequent specs that assert sorting is
# correct for the right reasons (sorting by Project name and not id)
@@ -69,7 +69,7 @@ RSpec.describe 'Calendars', 'index', :js, :with_cuprite do
let(:current_user) { user }
- context 'when navigating to the global index page' do
+ context 'when navigating to the global index page', :js do
shared_examples 'global index page is reachable' do
it 'is reachable' do
expect(page).to have_current_path(calendars_path)