Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created Robot tests for v1 and v2 #124

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions tests/v1.robot
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
*** Settings ***
Library SeleniumLibrary
Library Process

*** Variables ***
${URL} http://localhost:8501
${URL1} http://localhost:8501/v1
${BROWSER} chrome

*** Test Cases ***

Test Head
Log To Console test_head
Open Browser ${URL} ${BROWSER}
Sleep 5
Go To ${URL1}
Sleep 5
Page Should Contain AI Infrastructure for Model training

Page Should Contain Button Train
Click Button Train
Sleep 5
Click Button Train
# Sleep 10
# Page Should Contain Button Download trained model
# Click Button Download trained model



Sleep 5

Close Browser
31 changes: 31 additions & 0 deletions tests/v2.robot
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary
Library Process

*** Variables ***
${URL} http://localhost:8501
${URL2} http://localhost:8501/v2
${BROWSER} chrome

*** Test Cases ***

Test Head
Log To Console test_head
Open Browser ${URL} ${BROWSER}
Sleep 5
Go To ${URL2}
Page Should Contain AI Infrastructure for Model training

Page Should Contain Button Train
Click Button Train
Sleep 5
Click Button Train
Sleep 10
Page Should Contain Button Download trained model
Click Button Download trained model



Sleep 5

Close Browser
Loading