Skip to content

Commit

Permalink
minimize-complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Nov 17, 2023
1 parent ba01863 commit 1a2534f
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions tests/acceptance/Lab.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 1a2534f

Please sign in to comment.