Remove EE specific code from non-EE E2E spec
Problem to solve
qa/specs/features/browser_ui/2_plan/issue_boards/focus_mode_spec.rb:20
is a non-EE test, but contains an EE namespaced page component.
it 'focuses on issue board' do
project.visit!
Page::Project::Menu.perform(&:go_to_boards)
EE::Page::Component::IssueBoard::Show.perform do |show| #=> HERE
show.click_focus_mode_button
expect(show.focused_board).to be_visible
end
end
Proposal
- Move this to an EE specific test if this is testing EE functionality OR
- Refactor this functionality to non-EE functionality. I.e., remove the
EE::
namespace and generalize functionality.Page::Component::IssueBoard::Show.perform ... #=> not EE::
Edited by Dan Davison