test_project_ownership.py 862 B

1234567891011121314151617181920212223
  1. from sentry.testutils.cases import AcceptanceTestCase
  2. from sentry.testutils.silo import no_silo_test
  3. @no_silo_test
  4. class ProjectOwnershipTest(AcceptanceTestCase):
  5. def setUp(self):
  6. super().setUp()
  7. self.login_as(self.user)
  8. self.path = f"/settings/{self.organization.slug}/projects/{self.project.slug}/ownership/"
  9. def test_simple(self):
  10. self.browser.get(self.path)
  11. self.browser.wait_until_not(".loading")
  12. self.browser.wait_until_test_id("issueowners-panel")
  13. def test_open_modal(self):
  14. self.browser.get(self.path)
  15. self.browser.wait_until_not(".loading")
  16. self.browser.wait_until_test_id("issueowners-panel")
  17. self.browser.click('[aria-label="Edit"]')
  18. self.browser.wait_until("[role='dialog']")
  19. self.browser.wait_until_not("div[class$='loadingIndicator']")