mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
16 lines
581 B
Python
16 lines
581 B
Python
from sentry.testutils.cases import AcceptanceTestCase
|
|
from sentry.testutils.silo import no_silo_test
|
|
|
|
|
|
@no_silo_test
|
|
class OrganizationJoinRequestTest(AcceptanceTestCase):
|
|
def setUp(self):
|
|
super().setUp()
|
|
self.user = self.create_user("[email protected]")
|
|
self.org = self.create_organization(name="Rowdy Tiger", owner=self.user)
|
|
|
|
def test_view(self):
|
|
self.browser.get(f"/join-request/{self.org.slug}/")
|
|
self.browser.wait_until('[data-test-id="join-request"]')
|
|
assert self.browser.element_exists('[data-test-id="join-request"]')
|