12345678910111213141516171819202122232425 |
- from sentry.testutils.cases import AcceptanceTestCase
- from sentry.testutils.silo import no_silo_test
- @no_silo_test(stable=True)
- class ProjectOwnershipTest(AcceptanceTestCase):
- def setUp(self):
- super().setUp()
- self.login_as(self.user)
- self.path = f"/settings/{self.organization.slug}/projects/{self.project.slug}/ownership/"
- def test_simple(self):
- self.browser.get(self.path)
- self.browser.wait_until_not(".loading")
- self.browser.wait_until_test_id("issueowners-panel")
- self.browser.snapshot("project ownership")
- def test_open_modal(self):
- self.browser.get(self.path)
- self.browser.wait_until_not(".loading")
- self.browser.wait_until_test_id("issueowners-panel")
- self.browser.click('[aria-label="Edit"]')
- self.browser.wait_until("[role='dialog']")
- self.browser.wait_until_not("div[class$='loadingIndicator']")
- self.browser.snapshot("project ownership modal")
|