Welcome to mirror list, hosted at ThFree Co, Russian Federation.

focus_mode_spec.rb « boards « features « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8f3ce25b58319b8acd54cd8392e52a7df1305790 (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, feature_category: :team_planning 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