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 selector in spec
Benjamin Bädorfcf762066c49a
diff --git a/frontend/src/app/shared/components/project-include/project-include.component.html b/frontend/src/app/shared/components/project-include/project-include.component.htmlindex d81eac6a54c..04ae0774583 100644--- a/frontend/src/app/shared/components/project-include/project-include.component.html+++ b/frontend/src/app/shared/components/project-include/project-include.component.html@@ -26,6 +26,7 @@<buttonclass="button form--field-inline-button"[ngClass]="{ '-active': displayMode === 'all' }"+ data-qa-selector="op-project-include--toggle"type="button"(click)="displayMode = 'all'">@@ -34,6 +35,7 @@<buttonclass="button form--field-inline-button"type="button"+ data-qa-selector="op-project-include--toggle"[ngClass]="{ '-active': displayMode === 'selected' }"(click)="displayMode = 'selected'">diff --git a/spec/support/components/project_include_component.rb b/spec/support/components/project_include_component.rbindex a834de931ce..d4808d34307 100644--- a/spec/support/components/project_include_component.rb+++ b/spec/support/components/project_include_component.rb@@ -61,7 +61,7 @@ module Componentsdef set_filter_selected(filter)within_body do- page.find("label.spot-toggle--option", text: filter ? 'Only selected' : 'All projects').click+ page.find("[data-qa-selector='op-project-include--toggle']", text: filter ? 'Only selected' : 'All projects').clickendend