Browse Source

fix(tests) Set system.url-prefix in notification acceptance test (#58895)

This will fix missing organization load events during acceptance tests.
Mark Story 1 year ago
parent
commit
70b3bd6c90
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tests/acceptance/test_account_settings.py

+ 3 - 1
tests/acceptance/test_account_settings.py

@@ -29,7 +29,9 @@ class AccountSettingsTest(AcceptanceTestCase):
             self.browser.wait_until_not('[data-test-id="loading-indicator"]')
 
     def test_account_notifications(self):
-        with self.feature("organizations:onboarding"):
+        with self.options({"system.url-prefix": self.browser.live_server_url}), self.feature(
+            "organizations:onboarding"
+        ):
             self.browser.get("/settings/account/notifications/")
             self.browser.wait_until_not('[data-test-id="loading-indicator"]')