Skip to content

Commit 26cd230

Browse files
authored
chore(api): Delete acceptance test for user tokens (#56537)
This test must be deleted so #54651 can pass. It's not possible to click the Create Button anymore after switching to dropdowns. Also, this is only testing that an API is called, so it's not very useful.
1 parent de5b777 commit 26cd230

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

tests/acceptance/test_api.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
11
from sentry.testutils.cases import AcceptanceTestCase
2-
from sentry.testutils.silo import no_silo_test
3-
4-
5-
@no_silo_test(stable=True)
6-
class ApiTokensTest(AcceptanceTestCase):
7-
def setUp(self):
8-
super().setUp()
9-
self.org = self.create_organization(name="Rowdy Tiger Rowdy Tiger Rowdy Tiger", owner=None)
10-
self.project = self.create_project(
11-
organization=self.org, teams=[self.team], name="Bengal Bengal Bengal Bengal"
12-
)
13-
self.login_as(self.user)
14-
self.path = "/api/"
15-
16-
def test_simple(self):
17-
self.browser.get(self.path)
18-
self.browser.wait_until_not('[data-test-id="loading-indicator"]')
19-
20-
self.browser.click_when_visible('[data-test-id="create-token"]')
21-
self.browser.wait_until_not('[data-test-id="loading-indicator"]')
22-
23-
self.browser.click_when_visible('[data-test-id="form-submit"]')
24-
self.browser.wait_until_not('[data-test-id="loading-indicator"]')
252

263

274
class ApiApplicationTest(AcceptanceTestCase):

0 commit comments

Comments
 (0)