Skip to content

Commit cfbdca2

Browse files
authored
fix: increase publish timeout and update server URLs in Playground test (#58)
* fix: increase timeouts for publishing * fix: update server URLs in Playground tests
1 parent 3f67182 commit cfbdca2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/test-setup/timeouts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const DOWNLOAD_EXPECT = 10_000
1616

1717
export const CREATE_TIMEOUT = 3_000
1818

19-
export const PUBLISH_TIMEOUT = 30_000
19+
export const PUBLISH_TIMEOUT = 50_000
2020

2121
export const DISCOVERY_TIMEOUT = 120_000
2222

src/tests/portal/00-serial/0.01-export.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import { VERSION_CHANGES_TAB_REST, VERSION_DOCUMENTS_TAB, VERSION_OVERVIEW_TAB_G
4747
import { type DownloadedTestFile, ROOT_DOWNLOADS, TestFile } from '@shared/entities'
4848
import path from 'node:path'
4949

50-
// Set timeout for all tests in this file to 140 seconds
50+
// Set timeout for each test in this file to 140 seconds
5151
test.setTimeout(140_000)
5252

5353
test.describe('03.1.1.0 Access Control. Viewer role. (Package)', () => {

src/tests/portal/11-operations-details/11.1.1-details-rest-api-package.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@ test.describe('11.1.1 Operations details REST API (Package)', () => {
267267
await test.step('Add server 1', async () => {
268268
await operationPage.playgroundPanel.serverSlt.addCustomServerBtn.click() //WA: remove after fix previous step
269269

270-
await operationPage.playgroundPanel.addServerDialog.urlTxtFld.fill('https://api')
270+
await operationPage.playgroundPanel.addServerDialog.urlTxtFld.fill('https://custom-server-1.com')
271271
await operationPage.playgroundPanel.addServerDialog.addBtn.click()
272272
await operationPage.playgroundPanel.serverSlt.click()
273273

274-
await expect(operationPage.playgroundPanel.serverSlt.getListItem('https://api', { exact: false })).toBeVisible()
274+
await expect(operationPage.playgroundPanel.serverSlt.getListItem('https://custom-server-1.com', { exact: false })).toBeVisible()
275275
})
276276

277277
await test.step('Add server 2 and select it', async () => {
@@ -280,7 +280,7 @@ test.describe('11.1.1 Operations details REST API (Package)', () => {
280280
await operationPage.playgroundPanel.addServerDialog.addBtn.click()
281281
await operationPage.playgroundPanel.serverSlt.click()
282282

283-
await expect(operationPage.playgroundPanel.serverSlt.getListItem('https://api', { exact: false })).toBeVisible() //Cover TestCase-A-4737
283+
await expect(operationPage.playgroundPanel.serverSlt.getListItem('https://custom-server-1.com', { exact: false })).toBeVisible() //Cover TestCase-A-4737
284284
await expect(operationPage.playgroundPanel.serverSlt.getListItem(getPlaygroundCustomServer(), { exact: false })).toBeVisible()
285285

286286
await operationPage.playgroundPanel.serverSlt.getListItem(getPlaygroundCustomServer(), { exact: false }).click()

0 commit comments

Comments
 (0)