diff --git a/server/webapp/WEB-INF/rails/spec/webpack/views/agents/agents_widget_spec.js b/server/webapp/WEB-INF/rails/spec/webpack/views/agents/agents_widget_spec.js
index <HASH>..<HASH> 100644
--- a/server/webapp/WEB-INF/rails/spec/webpack/views/agents/agents_widget_spec.js
+++ b/server/webapp/WEB-INF/rails/spec/webpack/views/agents/agents_widget_spec.js
@@ -238,6 +238,8 @@ describe("Agents Widget", () => {
   });
 
   it('should show message after deleting the agents', () => {
+    route(true);
+
     jasmine.Ajax.withMock(() => {
       clickAllAgents();
       allowBulkUpdate('DELETE');
Attempt to fix flaky Agents Spec