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
Revert "Fix toaster dismission not being registered"
Dombi Attila37c669d75218
diff --git a/frontend/package.json b/frontend/package.jsonindex 3628890b01b..66462226a54 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -165,7 +165,7 @@"build:watch": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --watch --named-chunks","tokens:generate": "theo src/app/spot/styles/tokens/tokens.yml --transform web --format sass,json --dest src/app/spot/styles/tokens/dist","icon-font:generate": "node ./src/app/spot/icon-font/generate.js ./src/app/spot/icon-font",- "serve": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --host localhost --public-host http://${PROXY_HOSTNAME:-localhost}:4200",+ "serve": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --host 0.0.0.0 --public-host http://${PROXY_HOSTNAME:-localhost}:4200","serve:test": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --host 0.0.0.0 --disable-host-check --public-host http://frontend-test:4200","test": "ng test --watch=false","test:watch": "ng test --watch=true",diff --git a/spec/support/toasts/expectations.rb b/spec/support/toasts/expectations.rbindex a50fdfc83b0..ecadb2d9bf4 100644--- a/spec/support/toasts/expectations.rb+++ b/spec/support/toasts/expectations.rb@@ -15,19 +15,18 @@ module Toastsdef expect_and_dismiss_toaster(message: nil, type: :success)expect_toast(type:, message:)dismiss_toaster!- expect_no_toaster(type:, message:, wait: 0.1)+ expect_no_toaster(type:, message:)enddef dismiss_toaster!- sleep 0.1page.find('.op-toast--close').clickend- def expect_no_toaster(type: :success, message: nil, wait: 10)+ def expect_no_toaster(type: :success, message: nil)if type.nil?- expect(page).to have_no_css(".op-toast", wait:)+ expect(page).to have_no_css(".op-toast")else- expect(page).to have_no_css(".op-toast.-#{type}", text: message, wait:)+ expect(page).to have_no_css(".op-toast.-#{type}", text: message)endend