test_new_settings.py 728 B

1234567891011121314151617181920
  1. from sentry.testutils import AcceptanceTestCase
  2. class NewSettingsTest(AcceptanceTestCase):
  3. def setUp(self):
  4. super().setUp()
  5. self.user = self.create_user(
  6. name="A Very Very Very Very Long Username", email="foo@example.com"
  7. )
  8. self.org = self.create_organization(
  9. name="A Very Very Very Very Long Organization", owner=self.user
  10. )
  11. self.login_as(self.user)
  12. self.path = "/settings/"
  13. def test_settings_index(self):
  14. with self.feature("organizations:onboarding"):
  15. self.browser.get(self.path)
  16. self.browser.wait_until_not('[data-test-id="loading-indicator"]')
  17. self.browser.snapshot("new settings index")