Commit 178c6901 authored by Walmyr Lima's avatar Walmyr Lima

Add test that creates group issue board via GUI

parent c159e186
# frozen_string_literal: true
require 'securerandom'
module QA
context 'Plan' do
describe 'Group issue boards' do
before do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
group = QA::Resource::Group.fabricate_via_api!
Page::Main::Menu.perform(&:go_to_groups)
Page::Dashboard::Groups.perform do |groups|
groups.click_group(group.path)
end
Page::Group::Menu.perform(&:go_to_issue_boards)
end
it 'creates a group issue board via the GUI' do
EE::Page::Component::IssueBoard::Show.perform do |show|
new_board = "Board-#{SecureRandom.hex(4)}"
show.create_new_board(new_board)
expect(show.boards_dropdown).to have_content(new_board)
end
end
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment