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
Fixing a flaky specs in the github integration feature specs (#9151)
Philipp Tessenowfd1996242936
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 75e85f59ed6..466cacb3262 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@@ -42,7 +42,7 @@ describe 'Open the GitHub tab', type: :feature, js: true doshow_github_content))endlet(:project) { FactoryBot.create :project }- let(:work_package) { FactoryBot.create(:work_package, project: project) }+ let(:work_package) { FactoryBot.create(:work_package, project: project, subject: 'A test work_package') }let(:github_tab) { Pages::GitHubTab.new(work_package.id) }shared_examples_for "a github tab" do@@ -73,7 +73,7 @@ describe 'Open the GitHub tab', type: :feature, js: true dogithub_tab.git_actions_menu_button.clickgithub_tab.git_actions_copy_button.clickexpect(page).to have_text('Copied!')- expect_clipboard_content("#{work_package.type.name.downcase}/#{work_package.id}-workpackage-no-#{work_package.id}")+ expect_clipboard_content("#{work_package.type.name.downcase}/#{work_package.id}-a-test-work_package")enddescribe 'when the user does not have the permissions to see the github tab' do