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

ModelServer Dashboard - fix UI issues #1927

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

rnetser
Copy link
Contributor

@rnetser rnetser commented Oct 14, 2024

  • Replicas
  • Token
  • Model server runtime

rh-pre-commit.version: 2.3.1
rh-pre-commit.check-secrets: ENABLED
 into fix-project-drop-down

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
 into fix-project-drop-down

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
 into fix-project-drop-down

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
 into fix-project-drop-down

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

Line is too long (121/120)
@@ -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

Line is too long (172/120)
@@ -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

Continuation marker should be aligned with starting row
Copy link
Contributor

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
545 0 0 545 100

rh-pre-commit.version: 2.3.1
rh-pre-commit.check-secrets: ENABLED
 into fix-project-drop-down

rh-pre-commit.version: 2.3.1
rh-pre-commit.check-secrets: ENABLED
Copy link

sonarcloud bot commented Oct 14, 2024

... //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

Line is too long (124/120)
... //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

Line is too long (124/120)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant