mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
24 lines
876 B
Python
24 lines
876 B
Python
from sentry.testutils.cases import AcceptanceTestCase
|
|
from sentry.testutils.silo import no_silo_test
|
|
|
|
|
|
@no_silo_test
|
|
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("ownership-rules-table")
|
|
|
|
def test_open_modal(self):
|
|
self.browser.get(self.path)
|
|
self.browser.wait_until_not(".loading")
|
|
self.browser.wait_until_test_id("ownership-rules-table")
|
|
self.browser.click('[aria-label="Edit Rules"]')
|
|
self.browser.wait_until("[role='dialog']")
|
|
self.browser.wait_until_not("div[class$='loadingIndicator']")
|