Skip to content

Commit

Permalink
updated robot logs path
Browse files Browse the repository at this point in the history
  • Loading branch information
ybizeul committed Sep 6, 2024
1 parent 46f7db0 commit 3a28c53
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
]
}
1 change: 1 addition & 0 deletions robot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
logs
7 changes: 3 additions & 4 deletions robot/Screenshots.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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

0 comments on commit 3a28c53

Please sign in to comment.