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
[#43685] removed unused css class
Eric Schubertabd4c695561d
diff --git a/frontend/src/app/features/boards/board/add-list-modal/add-list-modal.html b/frontend/src/app/features/boards/board/add-list-modal/add-list-modal.htmlindex e7ee7bc8077..5a0941eefb4 100644--- a/frontend/src/app/features/boards/board/add-list-modal/add-list-modal.html+++ b/frontend/src/app/features/boards/board/add-list-modal/add-list-modal.html@@ -48,13 +48,15 @@<div class="spot-modal--footer spot-action-bar"><div class="spot-action-bar--right"><button- class="confirm-form-submit--cancel button button_no-margin spot-action-bar--action"+ class="button button_no-margin spot-action-bar--action"+ data-qa-selector="confirmation-modal--cancel"(click)="closeMe($event)"[textContent]="text.button_cancel"[attr.title]="text.button_cancel"></button><button- class="confirm-form-submit--submit button button_no-margin -highlight spot-action-bar--action"+ class="button button_no-margin -highlight spot-action-bar--action"+ data-qa-selector="confirmation-modal--confirmed"(click)="create()"[disabled]="!this.selectedAttribute || inFlight"[textContent]="text.button_add"diff --git a/frontend/src/app/features/enterprise/enterprise-modal/enterprise-trial.modal.html b/frontend/src/app/features/enterprise/enterprise-modal/enterprise-trial.modal.htmlindex 28bec3909b9..463b7ac38c5 100644--- a/frontend/src/app/features/enterprise/enterprise-modal/enterprise-trial.modal.html+++ b/frontend/src/app/features/enterprise/enterprise-modal/enterprise-trial.modal.html@@ -35,13 +35,15 @@<div *ngIf="!eeTrialService.status || eeTrialService.cancelled; else mailSubmitted"class="spot-action-bar--right"><button- class="confirm-form-submit--cancel button button_no-margin spot-action-bar--action"+ class="button button_no-margin spot-action-bar--action"+ data-qa-selector="confirmation-modal--cancel"(click)="closeModal($event)"[textContent]="text.button_cancel"[attr.title]="text.button_cancel"></button><button- class="confirm-form-submit--continue button button_no-margin -highlight spot-action-bar--action"+ class="button button_no-margin -highlight spot-action-bar--action"+ data-qa-selector="confirmation-modal--confirmed"(click)="onSubmit()"[disabled]="!trialForm || trialForm.invalid"[textContent]="text.button_submit"@@ -52,7 +54,8 @@<ng-template #mailSubmitted><div class="spot-action-bar--right"><button- class="confirm-form-submit--continue button button_no-margin -highlight spot-action-bar--action"+ class="button button_no-margin -highlight spot-action-bar--action"+ data-qa-selector="confirmation-modal--confirmed"(click)="startEnterpriseTrial()"[textContent]="text.button_continue"[attr.title]="text.button_continue"@@ -61,7 +64,8 @@></button><button*ngIf="eeTrialService.trialStarted"- class="confirm-form-submit--continue button button_no-margin -highlight spot-action-bar--action"+ class="button button_no-margin -highlight spot-action-bar--action"+ data-qa-selector="confirmation-modal--confirmed"(click)="closeModal($event)"[textContent]="text.button_continue"[attr.title]="text.button_continue"diff --git a/frontend/src/app/shared/components/modals/confirm-dialog/confirm-dialog.modal.html b/frontend/src/app/shared/components/modals/confirm-dialog/confirm-dialog.modal.htmlindex 03edaddb283..725b55e0cca 100644--- a/frontend/src/app/shared/components/modals/confirm-dialog/confirm-dialog.modal.html+++ b/frontend/src/app/shared/components/modals/confirm-dialog/confirm-dialog.modal.html@@ -1,5 +1,5 @@<div- class="spot-modal confirm-form-submit--modal loading-indicator--location"+ class="spot-modal loading-indicator--location"data-indicator-name="modal"><div class="spot-modal--header">{{text.title}}</div>@@ -15,6 +15,7 @@<div class="spot-modal--footer spot-action-bar"><div class="spot-action-bar--right"><button class="button button_no-margin spot-action-bar--action"+ data-qa-selector="confirmation-modal--cancel"(click)="closeMe($event)"><op-icon@@ -30,6 +31,7 @@>{{text.button_cancel}}</span></button><button class="button button_no-margin spot-action-bar--action"+ data-qa-selector="confirmation-modal--confirmed"[ngClass]="dangerHighlighting ? '-danger': '-highlight'"(click)="confirmAndClose($event)">diff --git a/frontend/src/app/shared/components/modals/request-for-confirmation/password-confirmation.modal.html b/frontend/src/app/shared/components/modals/request-for-confirmation/password-confirmation.modal.htmlindex fdaf391b8cf..7466452254f 100644--- a/frontend/src/app/shared/components/modals/request-for-confirmation/password-confirmation.modal.html+++ b/frontend/src/app/shared/components/modals/request-for-confirmation/password-confirmation.modal.html@@ -31,10 +31,10 @@<div class="spot-modal--footer spot-action-bar"><div class="spot-action-bar--right"><button- class="confirm-form-submit--continue button button_no-margin -highlight spot-action-bar--action"+ class="button button_no-margin -highlight spot-action-bar--action"+ data-qa-selector="confirmation-modal--confirmed"[textContent]="additionalText.confirm_button"[disabled]="!passwordValuePresent()">- ></button></div></div>diff --git a/modules/boards/spec/features/support/board_page.rb b/modules/boards/spec/features/support/board_page.rbindex a167c6c7448..a5cacc1d690 100644--- a/modules/boards/spec/features/support/board_page.rb+++ b/modules/boards/spec/features/support/board_page.rb@@ -182,7 +182,7 @@ module Pageselseopen_and_fill_add_list_modal querypage.find('.ng-option', text: option, wait: 10).click- page.find('.confirm-form-submit--submit').click+ page.find('[data-qa-selector="confirmation-modal--confirmed"]').clickendenddiff --git a/spec/features/admin/enterprise/enterprise_spec.rb b/spec/features/admin/enterprise/enterprise_spec.rbindex d1c62a5df41..f4ad9e35e70 100644--- a/spec/features/admin/enterprise/enterprise_spec.rb+++ b/spec/features/admin/enterprise/enterprise_spec.rb@@ -36,7 +36,7 @@ describe 'Enterprise token', type: :feature, js: true dotoken = OpenProject::Token.newtoken.subscriber = 'Foobar'token.mail = '[email protected]'- token.starts_at = Date.today+ token.starts_at = Time.zone.todaytoken.expires_at = niltoken.domain = Setting.host_name@@ -67,7 +67,7 @@ describe 'Enterprise token', type: :feature, js: true doexpect(page).to have_selector('span.errorSpan #enterprise_token_encoded_token')end- context 'assuming valid input' do+ context 'with valid input' dobefore doallow(OpenProject::Token).to receive(:import).and_return(token_object)end@@ -82,7 +82,7 @@ describe 'Enterprise token', type: :feature, js: true doexpect(page.all('.attributes-key-value--key').map(&:text)).to eq ['Subscriber', 'Email', 'Domain', 'Maximum active users', 'Starts at', 'Expires at']expect(page.all('.attributes-key-value--value').map(&:text))- .to eq ['Foobar', '[email protected]', Setting.host_name, 'Unlimited', format_date(Date.today), 'Unlimited']+ .to eq ['Foobar', '[email protected]', Setting.host_name, 'Unlimited', format_date(Time.zone.today), 'Unlimited']expect(page).to have_selector('.button.icon-delete', text: I18n.t(:button_delete))@@ -107,7 +107,7 @@ describe 'Enterprise token', type: :feature, js: true doclick_on "Delete"# Expect modal- find('.confirm-form-submit--continue').click+ find('[data-qa-selector="confirmation-modal--confirmed"]').clickexpect(textarea.value).to be_emptyexpect(page).to have_selector('.flash.notice', text: I18n.t(:notice_successful_delete))diff --git a/spec/support/components/confirmation_dialog.rb b/spec/support/components/confirmation_dialog.rbindex a9abaa8e28f..4059b394767 100644--- a/spec/support/components/confirmation_dialog.rb+++ b/spec/support/components/confirmation_dialog.rb@@ -31,8 +31,6 @@ module Componentsinclude Capybara::DSLinclude RSpec::Matchers- def initialize; end-def container'.spot-modal'end@@ -43,13 +41,13 @@ module Componentsdef confirmpage.within(container) do- page.find('.confirm-form-submit--continue').click+ page.find('[data-qa-selector="confirmation-modal--confirmed"]').clickendenddef cancelpage.within(container) do- page.find('.confirm-form-submit--cancel').click+ page.find('[data-qa-selector="confirmation-modal--cancel"]').clickendendenddiff --git a/spec/support/components/password_confirmation_dialog.rb b/spec/support/components/password_confirmation_dialog.rbindex 43350349800..373335d90b2 100644--- a/spec/support/components/password_confirmation_dialog.rb+++ b/spec/support/components/password_confirmation_dialog.rb@@ -31,8 +31,6 @@ module Componentsinclude Capybara::DSLinclude RSpec::Matchers- def initialize; end-def confirm_flow_with(password, should_fail: false)expect_open@@ -52,7 +50,7 @@ module Componentsenddef submit_button- page.find('.confirm-form-submit--continue')+ page.find('[data-qa-selector="confirmation-modal--confirmed"]')endprivate