OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
mark github/gitlab clipboard specs as pending
Jonas Jabaribf095e813226
diff --git a/modules/github_integration/spec/features/work_package_github_tab_spec.rb b/modules/github_integration/spec/features/work_package_github_tab_spec.rbindex b2d74548441..d05aa21138d 100644--- a/modules/github_integration/spec/features/work_package_github_tab_spec.rb+++ b/modules/github_integration/spec/features/work_package_github_tab_spec.rb@@ -59,11 +59,12 @@ RSpec.describe "Open the GitHub tab", :js do# comparing the pasted content against the provided textdef expect_clipboard_content(text)work_package_page.switch_to_tab(tab: "activity")+ work_package_page.wait_for_activity_tab- work_package_page.trigger_edit_comment- work_package_page.update_comment(" ") # ensure the comment editor is fully loaded+ activity_tab.type_comment(" ") # This will both open the editor and type a space+ activity_tab.clear_comment # Clear the comment to ensure clean stategithub_tab.paste_clipboard_content- expect(work_package_page.add_comment_container).to have_content(text)+ activity_tab.expect_unsaved_content(text)work_package_page.switch_to_tab(tab: "github")end@@ -123,18 +124,21 @@ RSpec.describe "Open the GitHub tab", :js dodescribe "work package full view" dolet(:work_package_page) { Pages::FullWorkPackage.new(work_package) }+ let(:activity_tab) { Components::WorkPackages::Activities.new(work_package) }it_behaves_like "a github tab"enddescribe "work package split view" dolet(:work_package_page) { Pages::SplitWorkPackage.new(work_package) }+ let(:activity_tab) { Components::WorkPackages::Activities.new(work_package) }it_behaves_like "a github tab"enddescribe "primerized work package split view" dolet(:work_package_page) { Pages::PrimerizedSplitWorkPackage.new(work_package) }+ let(:activity_tab) { Components::WorkPackages::Activities.new(work_package) }let(:tabs) { Components::WorkPackages::PrimerizedTabs.new }let(:github_tab_element) { "github" }diff --git a/modules/gitlab_integration/spec/features/work_package_gitlab_tab_spec.rb b/modules/gitlab_integration/spec/features/work_package_gitlab_tab_spec.rbindex f3fa2dc72f1..01849eec308 100644--- a/modules/gitlab_integration/spec/features/work_package_gitlab_tab_spec.rb+++ b/modules/gitlab_integration/spec/features/work_package_gitlab_tab_spec.rb@@ -98,6 +98,8 @@ RSpec.describe "Open the Gitlab tab", :js doendit "allows the user to copy the branch name to the clipboard" do+ pending "In headless mode, the clipboard content is not copied to the clipboard, how to fix?"+gitlab_tab.git_actions_menu_button.clickgitlab_tab.git_actions_copy_branch_name_button.click