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
[#67071] fixed feature test expectations
Eric Schubertfd3c9ba5b67e
diff --git a/modules/storages/spec/features/storages/admin/create_storage_spec.rb b/modules/storages/spec/features/storages/admin/create_storage_spec.rbindex 6f804752d76..76c107c9c76 100644--- a/modules/storages/spec/features/storages/admin/create_storage_spec.rb+++ b/modules/storages/spec/features/storages/admin/create_storage_spec.rb@@ -160,7 +160,7 @@ RSpec.describe "Admin Create a new file storage",# Clicking submit with application password empty should show an errorclick_on("Done, complete setup")- expect(page).to have_text("Password can't be blank.")+ expect(page).to have_text("Application password can't be blank.")# Test the error path for an invalid storage password.# Mock a valid response (=401) for example.com, so the password validation should fail@@ -171,7 +171,7 @@ RSpec.describe "Admin Create a new file storage",fill_in "Application password", with: "1234567890"# Clicking submit with application password empty should show an errorclick_on("Done, complete setup")- expect(page).to have_text("Password is not valid.")+ expect(page).to have_text("Application password is not valid.")# Test the happy path for a valid storage password.# Mock a valid response (=200) for example.com, so the password validation should succeed@@ -239,7 +239,7 @@ RSpec.describe "Admin Create a new file storage",# Clicking submit with application password empty should show an errorclick_on("Done, complete setup")- expect(page).to have_text("Password can't be blank.")+ expect(page).to have_text("Application password can't be blank.")# Test the error path for an invalid storage password.# Mock a valid response (=401) for example.com, so the password validation should fail@@ -250,7 +250,7 @@ RSpec.describe "Admin Create a new file storage",fill_in "Application password", with: "1234567890"# Clicking submit with application password empty should show an errorclick_on("Done, complete setup")- expect(page).to have_text("Password is not valid.")+ expect(page).to have_text("Application password is not valid.")# Test the happy path for a valid storage password.# Mock a valid response (=200) for example.com, so the password validation should succeeddiff --git a/modules/storages/spec/features/storages/admin/edit_storage_spec.rb b/modules/storages/spec/features/storages/admin/edit_storage_spec.rbindex 33b28af8e9b..e2972c47f44 100644--- a/modules/storages/spec/features/storages/admin/edit_storage_spec.rb+++ b/modules/storages/spec/features/storages/admin/edit_storage_spec.rb@@ -195,7 +195,7 @@ RSpec.describe "Admin Edit File storage",# Clicking submit with application password empty should show an errorclick_on("Done, complete setup")- expect(page).to have_text("Password can't be blank.")+ expect(page).to have_text("Application password can't be blank.")# Test the error path for an invalid storage password.# Mock a valid response (=401) for example.com, so the password validation should fail@@ -206,7 +206,7 @@ RSpec.describe "Admin Edit File storage",fill_in "Application password", with: "1234567890"# Clicking submit with application password empty should show an errorclick_on("Done, complete setup")- expect(page).to have_text("Password is not valid.")+ expect(page).to have_text("Application password is not valid.")# Test the happy path for a valid storage password.# Mock a valid response (=200) for example.com, so the password validation should succeed