Skip to content

Commit 955048f

Browse files
committed
feat(tests): remove rate limit waits
1 parent aeb5963 commit 955048f

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

e2e-tests/links.spec.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ test.describe("TxTracer Viewers Links", () => {
5656
return
5757
}
5858

59-
await wait() // TODO: Remove that. Cause we have only 1 rps from toncenter without API key
6059
await page.goto("/")
6160
await startTracing(page, link)
6261
await checkPageLoaded(page)
@@ -68,7 +67,3 @@ async function checkPageLoaded(page: Page) {
6867
const stepCounter = page.getByTestId("step-counter-info")
6968
await expect(stepCounter).toBeVisible({timeout: 30000})
7069
}
71-
72-
async function wait(): Promise<unknown> {
73-
return new Promise(resolve => setTimeout(resolve, 5_000))
74-
}

e2e-tests/main-workflow.spec.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ test.describe("TxTracer Stepping Logic", () => {
5252
}: {
5353
page: Page
5454
}) => {
55-
await wait()
56-
5755
await page.goto("/")
5856
await startTracing(page)
5957

@@ -180,8 +178,6 @@ test.describe("TxTracer Code Editor Interaction", () => {
180178
}: {
181179
page: Page
182180
}) => {
183-
await wait()
184-
185181
await page.goto(`/`)
186182

187183
await startTracing(page)
@@ -207,8 +203,6 @@ test.describe("TxTracer Code Editor Interaction", () => {
207203

208204
test.describe("TxTracer Transaction Details Interaction", () => {
209205
test("should expand and collapse transaction details section", async ({page}: {page: Page}) => {
210-
await wait()
211-
212206
await page.goto("/")
213207
await startTracing(page)
214208

@@ -231,7 +225,3 @@ test.describe("TxTracer Transaction Details Interaction", () => {
231225
await expect(detailsContent).not.toBeVisible({timeout: 2000})
232226
})
233227
})
234-
235-
async function wait(): Promise<unknown> {
236-
return new Promise(resolve => setTimeout(resolve, 5_000))
237-
}

0 commit comments

Comments
 (0)