test_new_settings.py 808 B

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