test_project_all_integrations_settings.py 894 B

12345678910111213141516171819
  1. from sentry.testutils import AcceptanceTestCase
  2. class ProjectAllIntegrationsSettingsTest(AcceptanceTestCase):
  3. def setUp(self):
  4. super().setUp()
  5. self.user = self.create_user("foo@example.com")
  6. self.org = self.create_organization(name="Rowdy Tiger", owner=None)
  7. self.team = self.create_team(organization=self.org, name="Mariachi Band")
  8. self.project = self.create_project(organization=self.org, teams=[self.team], name="Bengal")
  9. self.create_member(user=self.user, organization=self.org, role="owner", teams=[self.team])
  10. self.login_as(self.user)
  11. def test_all_integrations_list(self):
  12. path = f"/{self.org.slug}/{self.project.slug}/settings/plugins/"
  13. self.browser.get(path)
  14. self.browser.wait_until_not('[data-test-id="loading-indicator"]')
  15. self.browser.snapshot("project settings - all integrations")