From 1a2534ff4b645916563e0de3d86a0412f5bfdb79 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Fri, 17 Nov 2023 21:43:27 +0100 Subject: [PATCH] minimize-complexity --- tests/acceptance/Lab.robot | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/tests/acceptance/Lab.robot b/tests/acceptance/Lab.robot index b0341d58..eae73ee9 100644 --- a/tests/acceptance/Lab.robot +++ b/tests/acceptance/Lab.robot @@ -9,35 +9,12 @@ Suite Setup Start Lab Tests Test Tags app:lab -*** Variables *** -${CSS_LAUNCHER_CARD} css:.jp-LauncherCard-label - *** Test Cases *** Lab Loads Capture Page Screenshot 00-smoke.png -Launch Browser Tab - Click Launcher foo - Wait Until Keyword Succeeds 3x 0.5s Switch Window title:Hello World - Location Should Contain foo - Wait Until Page Contains Hello World timeout=10s - Close Window - [Teardown] Switch Window title:JupyterLab - -Launch Lab Tab - Click Launcher bar - Wait Until Page Contains Element css:iframe - Select Frame css:iframe - Wait Until Page Contains Hello World timeout=10s - *** Keywords *** Start Lab Tests Open JupyterLab Tag With JupyterLab Metadata Set Screenshot Directory ${OUTPUT DIR}${/}lab - -Click Launcher - [Arguments] ${title} - ${item} = Set Variable ${CSS_LAUNCHER_CARD}\[title^\="${title}"] - Wait Until Element Is Visible ${item} timeout=10s - Click Element ${item}