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
Cleanup feature spec
Wieland Lindenthal84ea23b162a9
diff --git a/modules/bim/spec/features/bcf/bcf_snapshot_column_spec.rb b/modules/bim/spec/features/bcf/bcf_snapshot_column_spec.rbindex dbee1da1051..d5452578bcb 100644--- a/modules/bim/spec/features/bcf/bcf_snapshot_column_spec.rb+++ b/modules/bim/spec/features/bcf/bcf_snapshot_column_spec.rb@@ -11,12 +11,6 @@ describe 'BCF snapshot column', type: :feature, js: true, with_mail: false domember_in_project: project,member_with_permissions: permissionsend--- before do- login_as(user)- end-let!(:query) doquery = FactoryBot.build(:query, user: user, project: project)query.column_names = ['subject', 'bcf_thumbnail']@@ -27,13 +21,17 @@ describe 'BCF snapshot column', type: :feature, js: true, with_mail: false doqueryend+ before do+ login_as(user)+ end+it 'shows BCF snapshot column correctly (Regression)' dowp_table.visit_query querywp_table.expect_work_package_listed(work_package)page.within(".wp-row-#{work_package.id} td.bcfThumbnail") doimage_path = "/api/bcf/2.1/projects/myproject_no_1/topics/#{bcf_issue.uuid}/viewpoints/#{bcf_issue.viewpoints.first.uuid}/snapshot"- expect(page).to have_selector("[src=\"#{image_path}\"]")+ expect(page).to have_selector("img[src=\"#{image_path}\"]")endendend