From 3a28c53c99842f095a37e9a46c51b7bea81ebc9c Mon Sep 17 00:00:00 2001 From: Yann Bizeul Date: Fri, 6 Sep 2024 11:47:08 +0200 Subject: [PATCH] updated robot logs path --- .vscode/launch.json | 8 ++++++++ robot/.gitignore | 1 + robot/Screenshots.robot | 7 +++---- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 robot/.gitignore diff --git a/.vscode/launch.json b/.vscode/launch.json index f468aab..cad1aae 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -25,6 +25,14 @@ "JWT_SECRET": "9e1fada26b20ddc5ce812cafb8d2cada", "DEMO": "true", } + }, + { + + "type": "robotframework-lsp", + "name": "Robot Framework: Launch template", + "request": "launch", + "terminal": "integrated", + "args": ["-d","robot/logs"] } ] } \ No newline at end of file diff --git a/robot/.gitignore b/robot/.gitignore new file mode 100644 index 0000000..cd3d225 --- /dev/null +++ b/robot/.gitignore @@ -0,0 +1 @@ +logs \ No newline at end of file diff --git a/robot/Screenshots.robot b/robot/Screenshots.robot index c8ec6a9..15467e0 100644 --- a/robot/Screenshots.robot +++ b/robot/Screenshots.robot @@ -9,6 +9,7 @@ Screenshot Login Page FOR ${theme} IN light dark New Context colorScheme=${theme} viewport={'width': 800, 'height': 589} New Page http://localhost:5173/ + Sleep 0.5 second Take Screenshot ${CURDIR}/../readme_images/login-${theme}.png crop={'x': 0, 'y': 0, 'width': 800, 'height': 589} END @@ -19,7 +20,7 @@ Screenshot Home Page Fill Text id=username admin Fill Text id=password hupload Click "Login" - Wait For Load State networkidle + Sleep 0.5 second Take Screenshot ${CURDIR}/../readme_images/shares-${theme}.png crop={'x': 0, 'y': 0, 'width': 800, 'height': 589} Click css=\#kuva-yibi-bata \#edit @@ -34,8 +35,6 @@ Screenshot Home Page Click css=\#kuva-yibi-bata \#edit Click "xube-suwe-hybe" - Wait For Load State networkidle + Sleep 0.5 second Take Screenshot ${CURDIR}/../readme_images/share-${theme}.png crop={'x': 0, 'y': 0, 'width': 800, 'height': 589} - - END