-
Notifications
You must be signed in to change notification settings - Fork 82
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
ModelServer Dashboard - fix UI issues #1927
base: master
Are you sure you want to change the base?
ModelServer Dashboard - fix UI issues #1927
Conversation
rnetser
commented
Oct 14, 2024
- Replicas
- Token
- Model server runtime
rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
${REPLICAS_COUNT_XP}= xpath://section[@class='pf-v5-c-form__section']//span[@class='pf-v5-c-form-control']/input | ||
${PROJECT_SELECTOR_XP}= xpath://main[contains(@id, 'dashboard-page-main')]//*[@data-testid="project-selector-dropdown"] | ||
${REPLICAS_COUNT_XP}= css=[aria-label="model server replicas number input"] | ||
${PROJECT_SELECTOR_XP}= xpath://main[contains(@id, 'dashboard-page-main')]//*[@data-testid="project-selector-toggle"] |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
@@ -228,7 +228,7 @@ | |||
[Documentation] Gets the (Single Model) Token of an specific Service Account | |||
[Arguments] ${service_account_name} | |||
${token}= Get Element Attribute | |||
... xpath://div[text()='${service_account_name}']/parent::td[@data-label='Token Name']/following-sibling::td[@data-label='Token Secret']//input value | |||
... xpath://div[text()='${service_account_name}']/../../parent::td[@data-label='Token Name']/following-sibling::td[@data-label="Token Secret"]//input value |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
@@ -228,7 +228,7 @@ | |||
[Documentation] Gets the (Single Model) Token of an specific Service Account | |||
[Arguments] ${service_account_name} | |||
${token}= Get Element Attribute | |||
... xpath://div[text()='${service_account_name}']/parent::td[@data-label='Token Name']/following-sibling::td[@data-label='Token Secret']//input value | |||
... xpath://div[text()='${service_account_name}']/../../parent::td[@data-label='Token Name']/following-sibling::td[@data-label="Token Secret"]//input value |
Check warning
Code scanning / Robocop
Continuation marker should be aligned with starting row Warning test
Robot Results
|
rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
Quality Gate passedIssues Measures |
... //div[.="${model_name} "]${MS_TABLE_STATUS}${MS_TABLE_STATUS_SUCCESS} timeout=2m | ||
Page Should Not Contain Element //div[.="${model_name} "]${MS_TABLE_STATUS}${MS_TABLE_STATUS_FAILURE} | ||
... //a[text()='test-model']/ancestor::td${MS_TABLE_STATUS}${MS_TABLE_STATUS_SUCCESS} timeout=2m | ||
Page Should Not Contain Element //a[text()='test-model']/ancestor::td${MS_TABLE_STATUS}${MS_TABLE_STATUS_FAILURE} |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
... //div[.="${model_name} "]${MS_TABLE_STATUS}${MS_TABLE_STATUS_FAILURE} timeout=2m | ||
Page Should Not Contain Element //div[.="${model_name} "]${MS_TABLE_STATUS}${MS_TABLE_STATUS_SUCCESS} | ||
... //a[text()='test-model']/ancestor::td${MS_TABLE_STATUS}${MS_TABLE_STATUS_FAILURE} timeout=2m | ||
Page Should Not Contain Element //a[text()='test-model']/ancestor::td${MS_TABLE_STATUS}${MS_TABLE_STATUS_SUCCESS} |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, can you rebase and add a screenshot of the relevant tests' result ?
changes were done in other PRs. Closing this one. |