@ -36,6 +36,10 @@ module Pages
@work_package = work_package
end
def visit_tab!(tab)
visit path(tab)
def expect_subject
within(container) do
expect(page).to have_content(work_package.subject)
@ -72,10 +72,6 @@ module Pages
expect(page).to have_selector(container + ' .user', text: user.name)
def visit_copy!
page = FullWorkPackageCreate.new(work_package)
page.visit!