2018-09-19 18:57:15 +02:00
|
|
|
# Copyright Project Harbor Authors
|
2018-01-23 06:04:19 +01:00
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License
|
|
|
|
|
|
|
|
*** Settings ***
|
|
|
|
Documentation This resource provides any keywords related to the Harbor private registry appliance
|
|
|
|
Resource ../../resources/Util.robot
|
|
|
|
|
|
|
|
*** Keywords ***
|
|
|
|
View Repo Scan Details
|
2020-05-08 05:52:42 +02:00
|
|
|
[Arguments] @{vulnerabilities_level}
|
2019-04-22 09:47:43 +02:00
|
|
|
Retry Element Click xpath=${first_repo_xpath}
|
2020-04-22 10:44:10 +02:00
|
|
|
Capture Page Screenshot
|
2020-05-08 05:52:42 +02:00
|
|
|
:FOR ${item} IN @{vulnerabilities_level}
|
|
|
|
\ Retry Wait Until Page Contains Element //hbr-artifact-vulnerabilities//clr-dg-row[contains(.,'${item}')]
|
2019-04-22 09:47:43 +02:00
|
|
|
Retry Element Click xpath=${build_history_btn}
|
|
|
|
Retry Wait Until Page Contains Element xpath=${build_history_data}
|
2018-01-23 06:04:19 +01:00
|
|
|
|
|
|
|
View Scan Error Log
|
2019-04-22 09:47:43 +02:00
|
|
|
Retry Wait Until Page Contains View Log
|
|
|
|
Retry Element Click xpath=${view_log_xpath}
|
2018-01-23 06:04:19 +01:00
|
|
|
Capture Page Screenshot viewlog.png
|
2018-04-25 10:24:11 +02:00
|
|
|
|
|
|
|
|