debian-mirror-gitlab/spec/features/boards/focus_mode_spec.rb

18 lines
383 B
Ruby
Raw Permalink Normal View History

2020-05-24 23:13:21 +05:30
# frozen_string_literal: true
require 'spec_helper'
2023-03-04 22:38:38 +05:30
RSpec.describe 'Issue Boards focus mode', :js, feature_category: :team_planning do
2020-05-24 23:13:21 +05:30
let(:project) { create(:project, :public) }
before do
visit project_boards_path(project)
wait_for_requests
end
2021-04-29 21:17:54 +05:30
it 'shows focus mode button to anonymous users' do
2022-06-21 17:19:12 +05:30
expect(page).to have_button _('Toggle focus mode')
2020-05-24 23:13:21 +05:30
end
end