Browse Source

ref: Remove references to old feature flag (#11372)

The orgnaizations:dashboard feature flag doesn't exist anymore, this
feature is live for everyone
Lyn Nagara 6 years ago
parent
commit
05b7e592e3
2 changed files with 16 additions and 18 deletions
  1. 3 4
      tests/acceptance/test_dashboard.py
  2. 13 14
      tests/acceptance/test_sidebar.py

+ 3 - 4
tests/acceptance/test_dashboard.py

@@ -106,7 +106,6 @@ class EmptyDashboardTest(AcceptanceTestCase):
         self.path = u'/{}/'.format(self.org.slug)
         self.path = u'/{}/'.format(self.org.slug)
 
 
     def test_new_dashboard_empty(self):
     def test_new_dashboard_empty(self):
-        with self.feature('organizations:dashboard'):
-            self.browser.get(self.path)
-            self.browser.wait_until_not('.loading-indicator')
-            self.browser.snapshot('new dashboard empty')
+        self.browser.get(self.path)
+        self.browser.wait_until_not('.loading-indicator')
+        self.browser.snapshot('new dashboard empty')

+ 13 - 14
tests/acceptance/test_sidebar.py

@@ -13,17 +13,16 @@ class SidebarTest(AcceptanceTestCase):
         self.path = '/'
         self.path = '/'
 
 
     def test_new_sidebar(self):
     def test_new_sidebar(self):
-        with self.feature('organizations:dashboard'):
-            self.browser.get(self.path)
-            self.browser.wait_until_not('.loading')
-            self.browser.click('[data-test-id="sidebar-dropdown"]')
-            self.browser.move_to('[data-test-id="sidebar-switch-org"]')
-            self.browser.wait_until('[data-test-id="sidebar-switch-org-menu"]')
-            self.browser.snapshot('sidebar - switch org expanded')
-            self.browser.click('[data-test-id="sidebar-collapse"]')
-            self.browser.snapshot('sidebar - collapsed')
-            self.browser.click('[data-test-id="sidebar-broadcasts"]')
-            self.browser.wait_until('[data-test-id="sidebar-broadcasts-panel"]')
-            self.browser.snapshot('sidebar - broadcasts panel')
-            self.browser.click('footer')
-            self.browser.wait_until_not('[data-test-id="sidebar-broadcasts-panel"]')
+        self.browser.get(self.path)
+        self.browser.wait_until_not('.loading')
+        self.browser.click('[data-test-id="sidebar-dropdown"]')
+        self.browser.move_to('[data-test-id="sidebar-switch-org"]')
+        self.browser.wait_until('[data-test-id="sidebar-switch-org-menu"]')
+        self.browser.snapshot('sidebar - switch org expanded')
+        self.browser.click('[data-test-id="sidebar-collapse"]')
+        self.browser.snapshot('sidebar - collapsed')
+        self.browser.click('[data-test-id="sidebar-broadcasts"]')
+        self.browser.wait_until('[data-test-id="sidebar-broadcasts-panel"]')
+        self.browser.snapshot('sidebar - broadcasts panel')
+        self.browser.click('footer')
+        self.browser.wait_until_not('[data-test-id="sidebar-broadcasts-panel"]')