Skip to content

Commit

Permalink
split into: #56537
Browse files Browse the repository at this point in the history
  • Loading branch information
schew2381 committed Sep 20, 2023
1 parent 0cec250 commit 872675f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tests/acceptance/test_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
from sentry.testutils.cases import AcceptanceTestCase
from sentry.testutils.silo import no_silo_test


@no_silo_test(stable=True)
class ApiTokensTest(AcceptanceTestCase):
def setUp(self):
super().setUp()
self.org = self.create_organization(name="Rowdy Tiger Rowdy Tiger Rowdy Tiger", owner=None)
self.project = self.create_project(
organization=self.org, teams=[self.team], name="Bengal Bengal Bengal Bengal"
)
self.login_as(self.user)
self.path = "/api/"

def test_simple(self):
self.browser.get(self.path)
self.browser.wait_until_not('[data-test-id="loading-indicator"]')

self.browser.click_when_visible('[data-test-id="create-token"]')
self.browser.wait_until_not('[data-test-id="loading-indicator"]')

self.browser.click_when_visible('[data-test-id="form-submit"]')
self.browser.wait_until_not('[data-test-id="loading-indicator"]')


class ApiApplicationTest(AcceptanceTestCase):
Expand Down

0 comments on commit 872675f

Please sign in to comment.