From 28c204a4d4bdf48bfaec4775a5bb6a2d0509a764 Mon Sep 17 00:00:00 2001 From: Victor Rubezhny Date: Wed, 28 Aug 2024 05:45:58 +0200 Subject: [PATCH] [tests] Increase timeout to stabilize 'Debug Works' Public UI test ``` Extension public-facing UI tests Extension public-facing UI tests with Kind cluster Component Context Menu Debug works: TimeoutError: Wait timed out after 1029ms at /home/runner/work/vscode-openshift-tools/vscode-openshift-tools/node_modules/selenium-webdriver/lib/webdriver.js:913:22 at processTicksAndRejections (node:internal/process/task_queues:95:5) ``` Signed-off-by: Victor Rubezhny --- test/ui/suite/componentContextMenu.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/ui/suite/componentContextMenu.ts b/test/ui/suite/componentContextMenu.ts index 22fd1a5c4..e7437c758 100644 --- a/test/ui/suite/componentContextMenu.ts +++ b/test/ui/suite/componentContextMenu.ts @@ -3,6 +3,7 @@ * Licensed under the MIT License. See LICENSE file in the project root for license information. *-----------------------------------------------------------------------------------------------*/ +import { expect } from 'chai'; import { ActivityBar, BottomBarPanel, @@ -15,11 +16,10 @@ import { ViewSection, VSBrowser, } from 'vscode-extension-tester'; -import { MENUS, VIEWS } from '../common/constants'; import { itemDoesNotExist, itemExists, notificationDoesNotExist } from '../common/conditions'; -import { OpenshiftTerminalWebviewView } from '../common/ui/webviewView/openshiftTerminalWebviewView'; -import { expect } from 'chai'; +import { MENUS, VIEWS } from '../common/constants'; import { collapse } from '../common/overdrives'; +import { OpenshiftTerminalWebviewView } from '../common/ui/webviewView/openshiftTerminalWebviewView'; export function testComponentContextMenu() { describe('Component Context Menu', function () { @@ -212,6 +212,8 @@ export function testComponentContextMenu() { }); it('Debug works', async () => { + this.timeout(80_000); + //select debug from component's context menu const contextMenu = await component.openContextMenu(); await contextMenu.select(MENUS.debug);