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
Switch `users/password_change_spec` to cuprite
Aaron Contreras74ed44027da2
diff --git a/spec/features/users/password_change_spec.rb b/spec/features/users/password_change_spec.rbindex b9c645c0252..976defbc1cc 100644--- a/spec/features/users/password_change_spec.rb+++ b/spec/features/users/password_change_spec.rb@@ -28,7 +28,7 @@require 'spec_helper'-RSpec.describe 'random password generation', js: true do+RSpec.describe 'random password generation', js: true, with_cuprite: true doshared_let(:admin) { create(:admin) }let(:auth_source) { build(:dummy_auth_source) }@@ -42,7 +42,7 @@ RSpec.describe 'random password generation', js: true dologin_with admin.login, 'adminADMIN!'end- it 'can log in with a random generated password', js: true do+ it 'can log in with a random generated password' douser_page.visit!expect(page).to have_selector('#user_password')@@ -108,16 +108,8 @@ RSpec.describe 'random password generation', js: true dovisit my_account_pathexpect(page).to have_selector('.account-menu-item.selected')end- end-- ##- # Converted from cuke password_complexity_checks.feature- context 'as an admin' do- before do- login_as admin- end- it 'can configure and enforce password rules', js: true do+ it 'can configure and enforce password rules' dovisit admin_settings_authentication_pathexpect_angular_frontend_initialized