Skip to content

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

Reinstate retry block and pacify eslint

Mir Bhatia87b80e5fe62f
diff --git a/frontend/src/stimulus/controllers/poll-for-changes.controller.ts b/frontend/src/stimulus/controllers/poll-for-changes.controller.ts
index f2886bec534..c871909eb04 100644
--- a/frontend/src/stimulus/controllers/poll-for-changes.controller.ts
+++ b/frontend/src/stimulus/controllers/poll-for-changes.controller.ts
@@ -49,7 +49,6 @@ export default class PollForChangesController extends ApplicationController {
connect() {
super.connect();
-
if (this.intervalValue !== 0) {
this.interval = setInterval(() => {
void this.triggerTurboStream();
diff --git a/modules/meeting/spec/support/pages/structured_meeting/history.rb b/modules/meeting/spec/support/pages/structured_meeting/history.rb
index 61e5f7c022e..385e1fb2b25 100644
--- a/modules/meeting/spec/support/pages/structured_meeting/history.rb
+++ b/modules/meeting/spec/support/pages/structured_meeting/history.rb
@@ -34,11 +34,13 @@ module Pages::StructuredMeeting
end
def open_history_modal
- click_link_or_button "op-meetings-header-action-trigger"
- click_link_or_button "History"
- # dynamically wait for the modal to be loaded
- # otherwise running into timing issues with `item = history_page.first_item`
- expect(page).to have_css(".op-activity-list--item")
+ retry_block do
+ click_link_or_button "op-meetings-header-action-trigger"
+ click_link_or_button "History"
+ # dynamically wait for the modal to be loaded
+ # otherwise running into timing issues with `item = history_page.first_item`
+ expect(page).to have_css(".op-activity-list--item")
+ end
end
def close_history_modal