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
fix accessibility spec expectations
ulferts0e6072aefa56
diff --git a/spec/features/accessibility/work_packages/work_package_query_spec.rb b/spec/features/accessibility/work_packages/work_package_query_spec.rbindex dd93fc5d34f..38d4a85b5f5 100644--- a/spec/features/accessibility/work_packages/work_package_query_spec.rb+++ b/spec/features/accessibility/work_packages/work_package_query_spec.rb@@ -115,7 +115,7 @@ describe 'Work package index accessibility', type: :feature, selenium: true dodescribe 'id column' dolet(:link_caption) { 'ID' }- let(:column_header_selector) { '.work-package-table--container th:nth-of-type(3)' }+ let(:column_header_selector) { '.work-package-table--container th:nth-of-type(2)' }let(:column_header_link_selector) { column_header_selector + ' a' }it_behaves_like 'sortable column'@@ -123,7 +123,7 @@ describe 'Work package index accessibility', type: :feature, selenium: true dodescribe 'subject column' dolet(:link_caption) { 'Subject' }- let(:column_header_selector) { '.work-package-table--container th:nth-of-type(4)' }+ let(:column_header_selector) { '.work-package-table--container th:nth-of-type(3)' }let(:column_header_link_selector) { column_header_selector + ' #subject' }it_behaves_like 'sortable column'@@ -131,7 +131,7 @@ describe 'Work package index accessibility', type: :feature, selenium: true dodescribe 'type column' dolet(:link_caption) { 'Type' }- let(:column_header_selector) { '.work-package-table--container th:nth-of-type(2)' }+ let(:column_header_selector) { '.work-package-table--container th:nth-of-type(4)' }let(:column_header_link_selector) { column_header_selector + ' a' }it_behaves_like 'sortable column'@@ -165,10 +165,10 @@ describe 'Work package index accessibility', type: :feature, selenium: true docontext 'focus' dolet(:first_link_selector) do- ".wp-row-#{work_package.id} .inline-edit--display-field.type"+ ".wp-row-#{work_package.id} .inline-edit--display-field.id a"endlet(:second_link_selector) do- ".wp-row-#{another_work_package.id} .inline-edit--display-field.type"+ ".wp-row-#{another_work_package.id} .inline-edit--display-field.id a"endit 'navigates with J and K' do