gitlab-org--gitlab-foss/spec/features/boards/focus_mode_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
349 B
Ruby
Raw Normal View History

# 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