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

18 lines
367 B
Ruby
Raw Normal View History

2020-05-24 23:13:21 +05:30
# frozen_string_literal: true
require 'spec_helper'
2020-06-23 00:09:42 +05:30
RSpec.describe 'Issue Boards focus mode', :js 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
it 'shows focus mode button to guest users' do
expect(page).to have_selector('.board-extra-actions .js-focus-mode-btn')
end
end