2018-07-25 11:46:09 +02:00
|
|
|
*** Settings ***
|
|
|
|
Documentation Harbor BATs
|
|
|
|
Resource ../../resources/Util.robot
|
|
|
|
Default Tags Nightly
|
|
|
|
|
|
|
|
*** Variables ***
|
|
|
|
${HARBOR_URL} https://${ip}
|
|
|
|
${HARBOR_ADMIN} admin
|
|
|
|
|
|
|
|
*** Test Cases ***
|
|
|
|
Test Case - Upgrade Verify
|
2019-12-27 07:11:01 +01:00
|
|
|
[Tags] 1.8-latest
|
2018-08-13 04:02:18 +02:00
|
|
|
${data}= Load Json From File ${CURDIR}${/}data.json
|
2019-12-27 07:11:01 +01:00
|
|
|
Log To Console "Verify User..."
|
2019-05-22 05:19:08 +02:00
|
|
|
Run Keyword Verify User ${data}
|
2019-12-27 07:11:01 +01:00
|
|
|
Log To Console "Verify Project..."
|
2019-05-22 05:19:08 +02:00
|
|
|
Run Keyword Verify Project ${data}
|
2019-12-27 07:11:01 +01:00
|
|
|
Log To Console "Verify Member Exist..."
|
2018-07-25 11:46:09 +02:00
|
|
|
Run Keyword Verify Member Exist ${data}
|
2019-12-27 07:11:01 +01:00
|
|
|
#Run Keyword Verify Robot Account Exist ${data}
|
|
|
|
Log To Console "Verify User System Admin Role..."
|
2018-07-25 11:46:09 +02:00
|
|
|
Run Keyword Verify User System Admin Role ${data}
|
2019-12-27 07:11:01 +01:00
|
|
|
Log To Console "Verify Endpoint..."
|
2018-07-25 11:46:09 +02:00
|
|
|
Run Keyword Verify Endpoint ${data}
|
2019-12-27 07:11:01 +01:00
|
|
|
Log To Console "Verify Replicationrule..."
|
2018-07-25 11:46:09 +02:00
|
|
|
Run Keyword Verify Replicationrule ${data}
|
2019-12-27 07:11:01 +01:00
|
|
|
Log To Console "Verify Project Setting..."
|
2018-07-25 11:46:09 +02:00
|
|
|
Run Keyword Verify Project Setting ${data}
|
2019-12-27 07:11:01 +01:00
|
|
|
Log To Console "Verify System Setting..."
|
2018-07-25 11:46:09 +02:00
|
|
|
Run Keyword Verify System Setting ${data}
|
2019-12-27 07:11:01 +01:00
|
|
|
Log To Console "Verify Image Tag..."
|
|
|
|
Run Keyword Verify Image Tag ${data}
|
|
|
|
|
|
|
|
Test Case - Upgrade Verify
|
|
|
|
[Tags] 1.9-latest
|
|
|
|
${data}= Load Json From File ${CURDIR}${/}data.json
|
|
|
|
Run Keyword Verify User ${data}
|
|
|
|
Run Keyword Verify Project ${data}
|
|
|
|
Run Keyword Verify Member Exist ${data}
|
|
|
|
#Run Keyword Verify Robot Account Exist ${data}
|
|
|
|
#Run Keyword Verify Project-level Whitelist ${data}
|
|
|
|
#Run Keyword Verify Webhook ${data}
|
|
|
|
Run Keyword Verify User System Admin Role ${data}
|
|
|
|
Run Keyword Verify Endpoint ${data}
|
|
|
|
Run Keyword Verify Replicationrule ${data}
|
|
|
|
Run Keyword Verify Project Setting ${data}
|
|
|
|
Run Keyword Verify System Setting ${data}
|
|
|
|
#Run Keyword Verify System Setting Whitelist ${data}
|
2018-07-25 11:46:09 +02:00
|
|
|
Run Keyword Verify Image Tag ${data}
|