summaryrefslogtreecommitdiff
path: root/spec/features/boards/focus_mode_spec.rb
blob: 453a8d8870bcc4ac65c3216219606c98ffa32129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe 'Issue Boards focus mode', :js do
  let(:project) { create(:project, :public) }

  before do
    visit project_boards_path(project)

    wait_for_requests
  end

  it 'shows focus mode button to anonymous users' do
    expect(page).to have_button _('Toggle focus mode')
  end
end