diff --git a/tests/features/artifacts.feature b/tests/features/artifacts.feature index e8f619012c..7ab1e75205 100644 --- a/tests/features/artifacts.feature +++ b/tests/features/artifacts.feature @@ -333,11 +333,19 @@ Feature: Artifacts Page Then verify "Pop_Out_Button" element visibility on "Files_Info_Pane" wizard Then click on "Pop_Out_Button" element on "Files_Info_Pane" wizard And wait load page - Then verify "Preview_Row" element visibility on "Artifact_Preview_Popup" wizard - Then verify "Cross_Cancel_Button" element visibility on "Artifact_Preview_Popup" wizard - Then verify "Preview_Header" on "Artifact_Preview_Popup" wizard should contains "Preview_Pop_Up"."Table_Header" - Then check "download_btn" visibility in "Preview_Row" on "Artifact_Preview_Popup" wizard with 1 offset - Then click on "Download_Button" element on "Artifact_Preview_Popup" wizard + Then verify "Preview_Table" element visibility on "Preview_Popup" wizard + Then verify visibility of header column "name" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Name" header value in "name" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "path" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Path" header value in "path" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "size" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Size" header value in "size" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "updated" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Updated" header value in "updated" column in "Preview_Table" table on "Preview_Popup" wizard + Then value in "name" column with "text" in "Preview_Table" on "Preview_Popup" wizard should contains "download_content" + Then verify "Cross_Cancel_Button" element visibility on "Preview_Popup" wizard + Then verify "Download_Button" element visibility on "Preview_Popup" wizard + Then click on "Download_Button" element on "Preview_Popup" wizard And wait load page And wait load page Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard @@ -347,7 +355,7 @@ Feature: Artifacts Page Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard - Then click on "Cross_Cancel_Button" element on "Artifact_Preview_Popup" wizard + Then click on "Cross_Cancel_Button" element on "Preview_Popup" wizard Then verify "Preview_Tab_Info_Pane_Table" element visibility on "Files_Info_Pane" wizard @MLA diff --git a/tests/features/common-tools/common-consts.js b/tests/features/common-tools/common-consts.js index 774c2a5b92..940d46b3de 100644 --- a/tests/features/common-tools/common-consts.js +++ b/tests/features/common-tools/common-consts.js @@ -594,7 +594,9 @@ export default { Delete_Scheduled_Job: /Are you sure you want to delete the scheduled job "[^"]+[$"]\? Deleted scheduled jobs can not be restored\./, Delete_Feature: - /You try to delete feature "[^"]+[$"] from vector "[^"]+[$"]\. The feature could be added back later./ + /You try to delete feature "[^"]+[$"] from vector "[^"]+[$"]\. The feature could be added back later./, + Add_A_Tag_Overwrite_Message: + /That combination of name and tag is already in use in an existing (artifact|dataset|plotly|LLM prompt)\. If you proceed, the existing (artifact|dataset|plotly|LLM prompt) will be overwritten/ }, Messages: { How_To_Create: @@ -824,8 +826,5 @@ export default { No_Models_data: 'No data matches the filter: "Version tag: latest, Labels: MY-KEY, Show best iteration only: true"', No_Pods_data: 'Pods not found, it is likely because Kubernetes removed these pods listing', No_Pods_data_Completion: 'Pods not found, it is likely because Kubernetes removed these pods listing after their completion' - }, - Preview_Pop_Up: { - Table_Header: ['Name', 'Path', 'Size', 'Updated'] } } diff --git a/tests/features/common/page-objects.js b/tests/features/common/page-objects.js index e55d8b4c73..71d93687cc 100644 --- a/tests/features/common/page-objects.js +++ b/tests/features/common/page-objects.js @@ -48,7 +48,6 @@ export default { Analysis_Info_Pane: infoPane['analysisInfoPane'], Application_Metrics: monitoringApp['applicationMetrics'], Application_Monitoring: monitoringApp['applicationMonitoring'], - Artifact_Preview_Popup: interactivePopup['artifactPreviewPopup'], Artifacts_Info_Pane: infoPane['artifactsInfoPane'], Change_Project_Owner_Popup: interactivePopup['changeProjectOwnerPopup'], Common_Popup: interactivePopup['commonPopup'], diff --git a/tests/features/common/page-objects/interactive-popup.po.js b/tests/features/common/page-objects/interactive-popup.po.js index 3d2a2e27ba..5d261a96e8 100644 --- a/tests/features/common/page-objects/interactive-popup.po.js +++ b/tests/features/common/page-objects/interactive-popup.po.js @@ -115,15 +115,20 @@ const deployModelTable = { } } -const artifactsPreviewRow = { - root: '.pop-up-dialog .preview-body', +const artifactsPreviewTable = { + root: '.pop-up-dialog .item-artifacts__modal-preview', header: { - root: '', - sorters: {} + root: '.preview-item:nth-of-type(1)', + sorters: { + name: '.item-data__header:nth-of-type(1)', + path: '.item-data__path', + size: '.item-data__header:nth-of-type(3)', + updated: '.item-data__header:nth-of-type(4)' + } }, body: { row: { - root: '.preview-item', + root: '.preview-item:nth-of-type(2)', fields: { name: '.item-data__name', path: '.item-data__path', @@ -135,20 +140,6 @@ const artifactsPreviewRow = { } } -const artifactsPreviewHeader = { - root: '.pop-up-dialog', - header: {}, - body: { - root: '.preview-body', - row: { - root: '.preview-item:nth-of-type(1)', - fields: { - key: '.item-data' - } - } - } -} - const createFeatureVectorLabelsTable = { root: '[data-testid="labels-chips"] .chips-cell', header: {}, @@ -1464,6 +1455,7 @@ export default { previewPopup: { Title: By.css('.pop-up-dialog .pop-up-dialog__header'), Cross_Cancel_Button: commonCrossCancelButton, + Preview_Table: commonTable(artifactsPreviewTable), Preview_Modal_Container: By.css('.pop-up-dialog .item-artifacts__modal-preview'), Download_Button: By.css('.pop-up-dialog .preview-item:nth-of-type(2) .preview-body__download') }, @@ -1633,14 +1625,6 @@ export default { ), Schedule_Button: By.css('.feature-set-panel__schedule .btn__schedule') }, - artifactPreviewPopup: { - Cross_Cancel_Button: commonCrossCancelButton, - Preview_Row: commonTable(artifactsPreviewRow), - Preview_Header: commonTable(artifactsPreviewHeader), - Download_Button: By.css( - '.pop-up-dialog .preview-body .preview-item:nth-of-type(2) .preview-body__download' - ) - }, removeMemberPopup: { Title: By.css('.delete-member__pop-up .pop-up-dialog__header-text'), Remove_Member_Button: By.css('.delete-member__pop-up .btn-danger') @@ -1748,11 +1732,12 @@ export default { '[data-testid="select-body"] label' ) ), + Type_Filter_Element: By.css('[data-testid="type-form-field-select"]'), Type_Filter_Dropdown: dropdownComponent( generateDropdownGroup( '[data-testid="type-form-field-select"]', '[data-testid="select-header"]', - '.options-list .select__item:not(.hidden) .tooltip-wrapper' + '.select__item.multiple:not(.hidden) label' ) ), Show_Iterations_Checkbox: checkboxComponent({ @@ -1771,6 +1756,62 @@ export default { icon: '' } }), + Type_All_Checkbox: checkboxComponent({ + root: '[data-testid="select-checkbox"]:nth-of-type(1)', + elements: { + checkbox: 'input', + name: 'label', + icon: '' + } + }), + Type_Job_Checkbox: checkboxComponent({ + root: '[data-testid="select-checkbox"]:nth-of-type(2)', + elements: { + checkbox: 'input', + name: 'label', + icon: '' + } + }), + Type_Workflow_Checkbox: checkboxComponent({ + root: '[data-testid="select-checkbox"]:nth-of-type(3)', + elements: { + checkbox: 'input', + name: 'label', + icon: '' + } + }), + Type_Spark_Checkbox: checkboxComponent({ + root: '[data-testid="select-checkbox"]:nth-of-type(7)', + elements: { + checkbox: 'input', + name: 'label', + icon: '' + } + }), + Type_Horovod_Checkbox: checkboxComponent({ + root: '[data-testid="select-checkbox"]:nth-of-type(8)', + elements: { + checkbox: 'input', + name: 'label', + icon: '' + } + }), + Type_Dask_Checkbox: checkboxComponent({ + root: '[data-testid="select-checkbox"]:nth-of-type(9)', + elements: { + checkbox: 'input', + name: 'label', + icon: '' + } + }), + Type_Databricks_Checkbox: checkboxComponent({ + root: '[data-testid="select-checkbox"]:nth-of-type(10)', + elements: { + checkbox: 'input', + name: 'label', + icon: '' + } + }), Status_All_Checkbox: checkboxComponent({ root: '[data-testid="select-checkbox"]:nth-of-type(1)', elements: { diff --git a/tests/features/common/page-objects/llm-prompts.po.js b/tests/features/common/page-objects/llm-prompts.po.js index 9e1f4ab606..372510628a 100644 --- a/tests/features/common/page-objects/llm-prompts.po.js +++ b/tests/features/common/page-objects/llm-prompts.po.js @@ -82,6 +82,7 @@ const overallTable = { componentType: actionMenu, structure: actionMenuStructure }, + preview: '.table-body__cell:nth-of-type(8) [data-testid="quick-link-artifact-preview"]' } } } diff --git a/tests/features/datasets.feature b/tests/features/datasets.feature index da894c1002..8cb4de88dc 100644 --- a/tests/features/datasets.feature +++ b/tests/features/datasets.feature @@ -514,10 +514,19 @@ Feature: Datasets Page Then hover on cell with row index 2 in "name" column in "Datasets_Table" table on "Datasets" wizard When click on cell with row index 2 in "artifact_preview_btn" column in "Datasets_Table" table on "Datasets" wizard And wait load page - Then verify "Preview_Row" element visibility on "Artifact_Preview_Popup" wizard - Then verify "Cross_Cancel_Button" element visibility on "Artifact_Preview_Popup" wizard - Then check "download_btn" visibility in "Preview_Row" on "Artifact_Preview_Popup" wizard with 1 offset - Then click on "Download_Button" element on "Artifact_Preview_Popup" wizard + Then verify "Preview_Table" element visibility on "Preview_Popup" wizard + Then verify visibility of header column "name" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Name" header value in "name" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "path" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Path" header value in "path" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "size" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Size" header value in "size" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "updated" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Updated" header value in "updated" column in "Preview_Table" table on "Preview_Popup" wizard + Then value in "name" column with "text" in "Preview_Table" on "Preview_Popup" wizard should contains "test_new_structure" + Then verify "Cross_Cancel_Button" element visibility on "Preview_Popup" wizard + Then verify "Download_Button" element visibility on "Preview_Popup" wizard + Then click on "Download_Button" element on "Preview_Popup" wizard And wait load page And wait load page Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard @@ -527,7 +536,7 @@ Feature: Datasets Page Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard - Then click on "Cross_Cancel_Button" element on "Artifact_Preview_Popup" wizard + Then click on "Cross_Cancel_Button" element on "Preview_Popup" wizard When click on cell with value "auto-trainer-train_test_set" in "name" column in "Datasets_Table" table on "Datasets" wizard And wait load page Then select "Preview" tab in "Info_Pane_Tab_Selector" on "Datasets_Info_Pane" wizard @@ -535,10 +544,19 @@ Feature: Datasets Page Then verify "Pop_Out_Button" element visibility on "Datasets_Info_Pane" wizard Then click on "Pop_Out_Button" element on "Datasets_Info_Pane" wizard And wait load page - Then verify "Preview_Row" element visibility on "Artifact_Preview_Popup" wizard - Then verify "Cross_Cancel_Button" element visibility on "Artifact_Preview_Popup" wizard - Then check "download_btn" visibility in "Preview_Row" on "Artifact_Preview_Popup" wizard with 1 offset - Then click on "Download_Button" element on "Artifact_Preview_Popup" wizard + Then verify "Preview_Table" element visibility on "Preview_Popup" wizard + Then verify visibility of header column "name" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Name" header value in "name" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "path" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Path" header value in "path" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "size" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Size" header value in "size" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "updated" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Updated" header value in "updated" column in "Preview_Table" table on "Preview_Popup" wizard + Then value in "name" column with "text" in "Preview_Table" on "Preview_Popup" wizard should contains "auto-trainer-train_test_set" + Then verify "Cross_Cancel_Button" element visibility on "Preview_Popup" wizard + Then verify "Download_Button" element visibility on "Preview_Popup" wizard + Then click on "Download_Button" element on "Preview_Popup" wizard And wait load page And wait load page Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard @@ -548,7 +566,7 @@ Feature: Datasets Page Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard - Then click on "Cross_Cancel_Button" element on "Artifact_Preview_Popup" wizard + Then click on "Cross_Cancel_Button" element on "Preview_Popup" wizard @MLD @smoke diff --git a/tests/features/featureStore.feature b/tests/features/featureStore.feature index 29eabdbbd8..1c0ec54636 100644 --- a/tests/features/featureStore.feature +++ b/tests/features/featureStore.feature @@ -574,6 +574,7 @@ Feature: Feature Store Page And select "tab" with "Feature store" value in breadcrumbs menu And wait load page And select "Feature Vectors" tab in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard + And wait load page Then click on "Table_FilterBy_Button" element on "Feature_Store_Features_Vectors_Tab" wizard And wait load page When select "test-tag" option in "Table_Tree_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard diff --git a/tests/features/jobsAndWorkflows.feature b/tests/features/jobsAndWorkflows.feature index 322ce07ea0..0ad945f71e 100644 --- a/tests/features/jobsAndWorkflows.feature +++ b/tests/features/jobsAndWorkflows.feature @@ -171,6 +171,61 @@ Feature: Jobs and workflows Then wait for 3 seconds Then verify "Schedule_Monitor_Table" element visibility on "Schedule_Monitor_Tab" wizard + @MLJW + @passive + @smoke + Scenario: MLJW092 - Check filter by Types options on Scheduled tab + Given open url + And wait load page + And click on row root with value "cat-vs-dog-classification" in "name" column in "Projects_Table" table on "Projects" wizard + And wait load page + When click on "Scheduled_Stats_Counter" element in "Scheduled_Stats_Container" on "Project" wizard + And wait load page + Then verify "Schedule" tab is active in "Jobs_Tab_Selector" on "Jobs_Monitor_Tab" wizard + Then verify "Table_Name_Filter_Input" element visibility on "Schedule_Monitor_Tab" wizard + Then verify "Date_Picker_Filter_Dropdown" element visibility on "Schedule_Monitor_Tab" wizard + Then verify "Date_Picker_Filter_Dropdown" dropdown on "Schedule_Monitor_Tab" wizard selected option value "Next 24 hours" + Then verify "Table_FilterBy_Button" element visibility on "Schedule_Monitor_Tab" wizard + Then click on "Table_FilterBy_Button" element on "Schedule_Monitor_Tab" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" + When select "Databricks" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Databricks" + When select "Dask" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Dask, Databricks" + When select "Horovod" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "3 items selected" + When select "Spark" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "4 items selected" + When select "Workflow" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "5 items selected" + Then click on "Apply_Button" element on "FilterBy_Popup" wizard + And wait load page + Then verify "Schedule_Monitor_Table" element visibility on "Schedule_Monitor_Tab" wizard + Then click on "Table_FilterBy_Button" element on "Schedule_Monitor_Tab" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "5 items selected" + When select "Job" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" + Then click on "Apply_Button" element on "FilterBy_Popup" wizard + And wait load page + Then verify "Schedule_Monitor_Table" element visibility on "Schedule_Monitor_Tab" wizard + Then click on "Table_FilterBy_Button" element on "Schedule_Monitor_Tab" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" + When select "Spark" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + When select "Horovod" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Spark, Horovod" + Then click on "Apply_Button" element on "FilterBy_Popup" wizard + And wait load page + And verify "No_Data_Message" element visibility on "commonPagesHeader" wizard + Then "No_Data_Message" component on "commonPagesHeader" should be equal "No_Data_Message"."Common_Message_Scheduled_Type" + @MLJW @passive @smoke @@ -621,6 +676,7 @@ Feature: Jobs and workflows @MLJW @passive @smoke + #TODO: add data for verifying iteration filtering of artifacts on the Artifacts tab of the detail run Scenario: MLJW065 - Check all mandatory components in Item infopane on Artifacts tab on Jobs Monitor Page Given open url And wait load page @@ -637,7 +693,7 @@ Feature: Jobs and workflows Then click on "Title" element on "FilterBy_Popup" wizard Then click on "Apply_Button" element on "FilterBy_Popup" wizard And wait load page - When click on cell with value "trainer-train" in "name" column in "Jobs_Monitor_Table" table on "Jobs_Monitor_Tab" wizard + When click on cell with value "data_clean" in "name" column in "Jobs_Monitor_Table" table on "Jobs_Monitor_Tab" wizard And wait load page When click on cell with row index 1 in "name" column in "Jobs_Monitor_Table" table on "Jobs_Monitor_Tab" wizard And wait load page @@ -649,21 +705,46 @@ Feature: Jobs and workflows Then click on cell with row index 1 in "name" column in "Artifacts_Table" table on "Artifacts_Info_Pane" wizard Then click on "Artifact_Preview_Button" element on "Artifacts_Info_Pane" wizard And wait load page - Then verify "Preview_Row" element visibility on "Artifact_Preview_Popup" wizard - Then verify "Cross_Cancel_Button" element visibility on "Artifact_Preview_Popup" wizard - Then click on "Cross_Cancel_Button" element on "Artifact_Preview_Popup" wizard + Then verify "Preview_Table" element visibility on "Preview_Popup" wizard + Then verify visibility of header column "name" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Name" header value in "name" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "path" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Path" header value in "path" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "size" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Size" header value in "size" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "updated" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Updated" header value in "updated" column in "Preview_Table" table on "Preview_Popup" wizard + Then value in "name" column with "text" in "Preview_Table" on "Preview_Popup" wizard should contains "data_clean" + Then verify "Cross_Cancel_Button" element visibility on "Preview_Popup" wizard + Then verify "Download_Button" element visibility on "Preview_Popup" wizard + Then click on "Download_Button" element on "Preview_Popup" wizard + And wait load page + And wait load page + Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Download_Pop_Up_Cross_Cancel_Button" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard + Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value + Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard + Then click on "Cross_Cancel_Button" element on "Preview_Popup" wizard + Then click on "Arrow_Back" element on "Jobs_Monitor_Tab_Info_Pane" wizard + And wait load page + When click on cell with value "trainer-train" in "name" column in "Jobs_Monitor_Table" table on "Jobs_Monitor_Tab" wizard + And wait load page + When click on cell with row index 1 in "name" column in "Jobs_Monitor_Table" table on "Jobs_Monitor_Tab" wizard And wait load page + And select "Artifacts" tab in "Info_Pane_Tab_Selector" on "Jobs_Monitor_Tab_Info_Pane" wizard + And wait load page + And verify "No_Data_Message" element visibility on "commonPagesHeader" wizard + Then "No_Data_Message" component on "commonPagesHeader" should contains "No_Data_Message"."No_Data" Then verify "Iterations_Dropdown" element visibility on "Artifacts_Info_Pane" wizard Then select "1" option in "Iterations_Dropdown" dropdown on "Artifacts_Info_Pane" wizard And wait load page - Then verify "Artifacts_Table" element visibility on "Artifacts_Info_Pane" wizard - Then click on cell with row index 1 in "name" column in "Artifacts_Table" table on "Artifacts_Info_Pane" wizard - Then click on "Artifact_Preview_Button" element on "Artifacts_Info_Pane" wizard - Then verify "Preview_Row" element visibility on "Artifact_Preview_Popup" wizard - Then click on "Cross_Cancel_Button" element on "Artifact_Preview_Popup" wizard - Then select "2" option in "Iterations_Dropdown" dropdown on "Artifacts_Info_Pane" wizard + Then select "5" option in "Iterations_Dropdown" dropdown on "Artifacts_Info_Pane" wizard And wait load page - Then verify "Artifacts_Table" element visibility on "Artifacts_Info_Pane" wizard + And verify "No_Data_Message" element visibility on "commonPagesHeader" wizard + Then "No_Data_Message" component on "commonPagesHeader" should contains "No_Data_Message"."No_Data" @MLJM @smoke @@ -1271,8 +1352,29 @@ Feature: Jobs and workflows Then click on cell with row index 1 in "name" column in "Artifacts_Table" table on "Artifacts_Info_Pane" wizard Then click on "Artifact_Preview_Button" element on "Artifacts_Info_Pane" wizard And wait load page - Then verify "Preview_Row" element visibility on "Artifact_Preview_Popup" wizard - Then verify "Cross_Cancel_Button" element visibility on "Artifact_Preview_Popup" wizard + Then verify "Preview_Table" element visibility on "Preview_Popup" wizard + Then verify visibility of header column "name" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Name" header value in "name" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "path" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Path" header value in "path" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "size" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Size" header value in "size" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "updated" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Updated" header value in "updated" column in "Preview_Table" table on "Preview_Popup" wizard + Then value in "name" column with "text" in "Preview_Table" on "Preview_Popup" wizard should contains "data_clean" + Then verify "Cross_Cancel_Button" element visibility on "Preview_Popup" wizard + Then verify "Download_Button" element visibility on "Preview_Popup" wizard + Then click on "Download_Button" element on "Preview_Popup" wizard + And wait load page + And wait load page + Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Download_Pop_Up_Cross_Cancel_Button" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard + Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value + Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard + Then click on "Cross_Cancel_Button" element on "Preview_Popup" wizard @MLJW @passive diff --git a/tests/features/jobsMonitoring.feature b/tests/features/jobsMonitoring.feature index ead871e264..561ac2e71d 100644 --- a/tests/features/jobsMonitoring.feature +++ b/tests/features/jobsMonitoring.feature @@ -1084,7 +1084,18 @@ Feature: Jobs Monitoring Page Then verify "Project_Name_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" Then verify "Type_Filter_Dropdown" element visibility on "FilterBy_Popup" wizard Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" - Then verify "Type_Filter_Dropdown" dropdown element on "FilterBy_Popup" wizard should contains "Dropdown_Options"."Scheduled_Type_Filter_Options" + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page + Then "Type_All_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Job_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Workflow_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Spark_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Horovod_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Dask_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Databricks_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page + Then verify "Type_Filter_Dropdown" dropdown element on "FilterBy_Popup" wizard should contains "Dropdown_Options"."Scheduled_Type_Filter_Options" Then verify "Table_Label_Filter_Input" element visibility on "FilterBy_Popup" wizard Then verify "Clear_Button" element visibility on "FilterBy_Popup" wizard Then verify "Apply_Button" element visibility on "FilterBy_Popup" wizard @@ -1097,7 +1108,7 @@ Feature: Jobs Monitoring Page Then verify "Total_Job_Counter_Number" element visibility in "Monitoring_Scheduled_Box" on "Projects" wizard When click on "Total_Job_Counter_Number" element in "Monitoring_Scheduled_Box" on "Projects" wizard And wait load page - Then verify redirection to "projects/*/jobs-monitoring/scheduled?type=job&dates=next24hours" + Then verify redirection to "projects/*/jobs-monitoring/scheduled?type=job%2Cspark%2Cmpijob%2Cdask%2Cdatabricks&dates=next24hours" And wait load page Then verify breadcrumbs "cross" label should be equal "Jobs monitoring" value Then verify breadcrumbs "projectsPage" label should be equal "Projects" value @@ -1109,6 +1120,7 @@ Feature: Jobs Monitoring Page Then verify "Date_Picker_Filter_Dropdown" dropdown on "Jobs_Monitoring_Scheduled_Tab" wizard selected option value "Next 24 hours" Then verify "Date_Picker_Filter_Dropdown" dropdown element on "Jobs_Monitoring_Scheduled_Tab" wizard should contains "Dropdown_Options"."Scheduled_Date_Picker_Filter_Options" Then verify "Table_FilterBy_Button" element visibility on "Jobs_Monitoring_Scheduled_Tab" wizard + Then verify "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard should display hover tooltip "Common_Tooltips"."FilterBy_Button_1" Then verify "Refresh_Button" element visibility on "Jobs_Monitoring_Scheduled_Tab" wizard Then click on "Refresh_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard And wait load page @@ -1118,7 +1130,18 @@ Feature: Jobs Monitoring Page Then verify "Project_Name_Filter_Dropdown" element visibility on "FilterBy_Popup" wizard Then verify "Project_Name_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" Then verify "Type_Filter_Dropdown" element visibility on "FilterBy_Popup" wizard - Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Job" + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "5 items selected" + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page + Then "Type_All_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Job_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Workflow_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Spark_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Horovod_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Dask_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Databricks_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page Then verify "Type_Filter_Dropdown" dropdown element on "FilterBy_Popup" wizard should contains "Dropdown_Options"."Scheduled_Type_Filter_Options" Then verify "Table_Label_Filter_Input" element visibility on "FilterBy_Popup" wizard Then verify "Clear_Button" element visibility on "FilterBy_Popup" wizard @@ -1143,12 +1166,24 @@ Feature: Jobs Monitoring Page Then verify "Date_Picker_Filter_Dropdown" dropdown on "Jobs_Monitoring_Scheduled_Tab" wizard selected option value "Next 24 hours" Then verify "Date_Picker_Filter_Dropdown" dropdown element on "Jobs_Monitoring_Scheduled_Tab" wizard should contains "Dropdown_Options"."Scheduled_Date_Picker_Filter_Options" Then verify "Table_FilterBy_Button" element visibility on "Jobs_Monitoring_Scheduled_Tab" wizard + Then verify "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard should display hover tooltip "Common_Tooltips"."FilterBy_Button_1" Then click on "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard Then "Title" element on "FilterBy_Popup" should contains "Filter by" value Then verify "Project_Name_Filter_Dropdown" element visibility on "FilterBy_Popup" wizard Then verify "Project_Name_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" Then verify "Type_Filter_Dropdown" element visibility on "FilterBy_Popup" wizard Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Workflow" + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page + Then "Type_All_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Job_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Workflow_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Spark_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Horovod_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Dask_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Databricks_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page Then verify "Type_Filter_Dropdown" dropdown element on "FilterBy_Popup" wizard should contains "Dropdown_Options"."Scheduled_Type_Filter_Options" Then verify "Table_Label_Filter_Input" element visibility on "FilterBy_Popup" wizard Then verify "Clear_Button" element visibility on "FilterBy_Popup" wizard @@ -1251,10 +1286,34 @@ Feature: Jobs Monitoring Page Then verify redirection to "projects/*/jobs-monitoring/scheduled?type=all&dates=next24hours" Then click on "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page + Then "Type_All_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Job_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Workflow_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Spark_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Horovod_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Dask_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Databricks_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page When select "Job" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + And wait load page Then click on "Title" element on "FilterBy_Popup" wizard + And wait load page Then click on "Apply_Button" element on "FilterBy_Popup" wizard And wait load page + Then click on "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + Then "Type_All_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Job_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Workflow_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Spark_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Horovod_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Dask_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Databricks_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page Then verify "Scheduled_Table" element visibility on "Jobs_Monitoring_Scheduled_Tab" wizard Then select "View YAML" option in action menu on "Jobs_Monitoring_Scheduled_Tab" wizard in "Scheduled_Table" table at row with "clean-data" value in "name" column Then verify if "View_YAML" popup dialog appears @@ -1264,22 +1323,86 @@ Feature: Jobs Monitoring Page And wait load page Then click on "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Job" + When select "Job" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard When select "Workflow" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard Then click on "Title" element on "FilterBy_Popup" wizard Then click on "Apply_Button" element on "FilterBy_Popup" wizard And wait load page - Then verify "Scheduled_Table" element visibility on "Jobs_Monitoring_Scheduled_Tab" wizard - Then click on "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard - Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Workflow" Then click on "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + Then "Type_All_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Job_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Workflow_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Spark_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Horovod_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Dask_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Databricks_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page + Then verify "Scheduled_Table" element visibility on "Jobs_Monitoring_Scheduled_Tab" wizard Then select "View YAML" option in action menu on "Jobs_Monitoring_Scheduled_Tab" wizard in "Scheduled_Table" table at row with "main3" value in "name" column Then verify if "View_YAML" popup dialog appears Then verify "Cross_Cancel_Button" element visibility on "View_YAML" wizard Then verify "YAML_Modal_Container" element visibility on "View_YAML" wizard - + Then click on "Cross_Cancel_Button" element on "View_YAML" wizard + And wait load page + Then click on "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Workflow" + + @MLJM + @smoke + Scenario: MLJM021 - Check filter by Types options on Scheduled tab of Jobs monitoring page + Given open url + And wait load page + When click on "Total_Scheduled_Number" element in "Monitoring_Scheduled_Box" on "Projects" wizard + And wait load page + Then verify redirection to "projects/*/jobs-monitoring/scheduled?type=all&dates=next24hours" + Then click on "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard + Then verify "Project_Name_Filter_Dropdown" element visibility on "FilterBy_Popup" wizard + Then verify "Project_Name_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" + When select "Databricks" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Databricks" + When select "Dask" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Dask, Databricks" + When select "Horovod" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "3 items selected" + When select "Spark" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "4 items selected" + When select "Workflow" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "5 items selected" + Then click on "Apply_Button" element on "FilterBy_Popup" wizard + And wait load page + Then verify "Scheduled_Table" element visibility on "Jobs_Monitoring_Scheduled_Tab" wizard + Then click on "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "5 items selected" + When select "Job" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" + Then click on "Apply_Button" element on "FilterBy_Popup" wizard + And wait load page + Then verify "Scheduled_Table" element visibility on "Jobs_Monitoring_Scheduled_Tab" wizard + Then click on "Table_FilterBy_Button" element on "Jobs_Monitoring_Scheduled_Tab" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" + When select "Spark" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + When select "Horovod" option in "Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard + Then click on "Title" element on "FilterBy_Popup" wizard + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Spark, Horovod" + Then click on "Apply_Button" element on "FilterBy_Popup" wizard + And wait load page + And verify "No_Data_Message" element visibility on "commonPagesHeader" wizard + Then "No_Data_Message" component on "commonPagesHeader" should be equal "No_Data_Message"."Common_Message_Scheduled_Type" + @MLJM @smoke - # TODO: Total wf counter = 4, 3 row elements are displayed - known bug (due to running not in 24h period), couln't be fixed yet + # TODO: Total wf counter = 4, 3 row elements are displayed - known bug (due to running not in 24h period), couldn't be fixed yet Scenario: MLJM012 - Check jobs/workflows/scheduled count consistency among counter data and Jobs monitoring Tabs Given open url And wait load page diff --git a/tests/features/llmPrompts.feature b/tests/features/llmPrompts.feature index 46c0bb06fd..6df7503c24 100644 --- a/tests/features/llmPrompts.feature +++ b/tests/features/llmPrompts.feature @@ -203,12 +203,12 @@ Feature: LLM prompts Page Then verify "show_all_versions" option on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "my_llm" value in "name" column should display hover tooltip "Common_Tooltips"."Show_All_Versions" with scroll "false" Then click on cell with row index 1 in "name" column in "LLMPrompts_Table" table on "LLM_Prompts" wizard And wait load page - Then verify "Header" element visibility on "LM_Prompts_Info_Pane" wizard + Then verify "Header" element visibility on "LLM_Prompts_Info_Pane" wizard Then click on "Table_FilterBy_Button" element on "LLM_Prompts" wizard Then check "Show_Iterations_Checkbox" element on "FilterBy_Popup" wizard Then click on "Apply_Button" element on "FilterBy_Popup" wizard And wait load page - Then verify "Header" element not exists on "LM_Prompts_Info_Pane" wizard + Then verify "Header" element not exists on "LLM_Prompts_Info_Pane" wizard Then click on "Table_FilterBy_Button" element on "LLM_Prompts" wizard Then "Show_Iterations_Checkbox" element should be checked on "FilterBy_Popup" wizard @@ -440,7 +440,6 @@ Feature: LLM prompts Page @MLLP @smoke - @uniqueTag Scenario: MLLP009 - Check components on prompt version history page Given open url And wait load page @@ -479,3 +478,382 @@ Feature: LLM prompts Page Then "Header" element on "LLM_Prompts_Info_Pane" should contains "my_llm" value Then click on "History_Back_Button" element on "LLM_Prompts" wizard Then verify "LLMPrompts_Table" element visibility on "LLM_Prompts" wizard + + @MLLP + @smoke + Scenario: MLLP010 - Verify action menu list options on main llm prompts list + Given open url + And wait load page + And click on row root with value "llmdeploy332" in "name" column in "Projects_Table" table on "Projects" wizard + And wait load page + Then verify breadcrumbs "tab" label should be equal "Project monitoring" value + Then verify breadcrumbs "project" label should be equal "llmdeploy332" value + And hover "Project_Navigation_Toggler" component on "commonPagesHeader" wizard + And click on cell with value "LLM prompts" in "link" column in "General_Info_Quick_Links" table on "commonPagesHeader" wizard + And hover "MLRun_Logo" component on "commonPagesHeader" wizard + And wait load page + Then verify breadcrumbs "tab" label should be equal "LLM prompts" value + Then verify redirection to "projects/llmdeploy332/llm-prompts?bePage=1&fePage=1" + Then verify "LLMPrompts_Table" element visibility on "LLM_Prompts" wizard + Then verify action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "my_llm" value in "name" column should contains "Common_Lists"."Action_Menu_List_LLM_Prompt" + Then select "Download" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "my_llm" value in "name" column + And wait load page + And wait load page + Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Download_Pop_Up_Cross_Cancel_Button" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard + Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value + Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard + Then select "View YAML" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "my_llm" value in "name" column + Then verify if "View_YAML" popup dialog appears + Then verify "Cross_Cancel_Button" element visibility on "View_YAML" wizard + Then verify "YAML_Modal_Container" element visibility on "View_YAML" wizard + Then click on "Cross_Cancel_Button" element on "View_YAML" wizard + Then select "Copy URI" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "my_llm" value in "name" column + And wait load page + Then verify if "Notification_Popup" popup dialog appears + Then verify "Notification_Pop_Up" element visibility on "Notification_Popup" wizard + Then "Notification_Pop_Up" element on "Notification_Popup" should contains "Copied to clipboard successfully" value + Then verify "Notification_Pop_Up_Cross_Close_Button" element visibility on "Notification_Popup" wizard + Then click on "Notification_Pop_Up_Cross_Close_Button" element on "Notification_Popup" wizard + Then verify "LLMPrompts_Table" element visibility on "LLM_Prompts" wizard + Then click on cell with row index 1 in "name" column in "LLMPrompts_Table" table on "LLM_Prompts" wizard + And wait load page + Then verify "Header" element visibility on "LLM_Prompts_Info_Pane" wizard + Then verify "Info_Pane_Tab_Selector" element visibility on "LLM_Prompts_Info_Pane" wizard + Then verify "Action_Menu" dropdown element on "LLM_Prompts_Info_Pane" wizard should contains "Common_Lists"."Action_Menu_List_LLM_Prompt" + Then select "Download" option in action menu on "LLM_Prompts_Info_Pane" wizard + And wait load page + And wait load page + Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Download_Pop_Up_Cross_Cancel_Button" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard + Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value + Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard + Then select "View YAML" option in action menu on "LLM_Prompts_Info_Pane" wizard + Then verify if "View_YAML" popup dialog appears + Then verify "Cross_Cancel_Button" element visibility on "View_YAML" wizard + Then verify "YAML_Modal_Container" element visibility on "View_YAML" wizard + Then click on "Cross_Cancel_Button" element on "View_YAML" wizard + Then select "Copy URI" option in action menu on "LLM_Prompts_Info_Pane" wizard + And wait load page + Then verify if "Notification_Popup" popup dialog appears + Then verify "Notification_Pop_Up" element visibility on "Notification_Popup" wizard + Then "Notification_Pop_Up" element on "Notification_Popup" should contains "Copied to clipboard successfully" value + Then verify "Notification_Pop_Up_Cross_Close_Button" element visibility on "Notification_Popup" wizard + Then click on "Notification_Pop_Up_Cross_Close_Button" element on "Notification_Popup" wizard + Then click on "Cross_Close_Button" element on "LLM_Prompts_Info_Pane" wizard + Then verify "LLMPrompts_Table" element visibility on "LLM_Prompts" wizard + Then select "Add a tag" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "my_llm" value in "name" column + And wait load page + Then verify "Add_Tag_Popup" element visibility on "Add_Tag_Popup" wizard + Then type value "instructions" to "Tag_Input" field on "Add_Tag_Popup" wizard + Then click on "Add_Button" element on "Add_Tag_Popup" wizard + And wait load page + Then verify "Notification_Pop_Up" element visibility on "Notification_Popup" wizard + And wait load page + Then "Notification_Pop_Up" element on "Notification_Popup" should contains "Tag was added successfully" value + And wait load page + Then verify "Notification_Pop_Up_Cross_Close_Button" element visibility on "Notification_Popup" wizard + Then click on "Notification_Pop_Up_Cross_Close_Button" element on "Notification_Popup" wizard + Then verify "Table_FilterBy_Button" element on "LLM_Prompts" wizard should display hover tooltip "Common_Tooltips"."FilterBy_Button" + Then click on "Table_FilterBy_Button" element on "LLM_Prompts" wizard + Then select "instructions" option in "Table_Tree_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard + Then click on "Apply_Button" element on "FilterBy_Popup" wizard + And wait load page + When click on cell with value "my_llm" in "name" column in "LLMPrompts_Table" table on "LLM_Prompts" wizard + And wait load page + Then check "instructions" value in "tag" column in "Overview_Table" table on "LLM_Prompts_Info_Pane" wizard + Then select "Add a tag" option in action menu on "LLM_Prompts_Info_Pane" wizard + And wait load page + Then verify "Add_Tag_Popup" element visibility on "Add_Tag_Popup" wizard + Then type value "criteria" to "Tag_Input" field on "Add_Tag_Popup" wizard + Then click on "Add_Button" element on "Add_Tag_Popup" wizard + And wait load page + Then verify "Notification_Pop_Up" element visibility on "Notification_Popup" wizard + And wait load page + Then "Notification_Pop_Up" element on "Notification_Popup" should contains "Tag was added successfully" value + And wait load page + Then verify "Notification_Pop_Up_Cross_Close_Button" element visibility on "Notification_Popup" wizard + Then click on "Notification_Pop_Up_Cross_Close_Button" element on "Notification_Popup" wizard + Then verify "Table_FilterBy_Button" element on "LLM_Prompts" wizard should display hover tooltip "Common_Tooltips"."FilterBy_Button_1" + Then click on "Table_FilterBy_Button" element on "LLM_Prompts" wizard + Then select "criteria" option in "Table_Tree_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard + Then click on "Apply_Button" element on "FilterBy_Popup" wizard + And wait load page + When click on cell with value "my_llm" in "name" column in "LLMPrompts_Table" table on "LLM_Prompts" wizard + And wait load page + Then check "criteria" value in "tag" column in "Overview_Table" table on "LLM_Prompts_Info_Pane" wizard + + @MLLP + @smoke + Scenario: MLLP011 - Verify action menu list options on version history llm prompts list + Given open url + And wait load page + And click on row root with value "llmdeploy332" in "name" column in "Projects_Table" table on "Projects" wizard + And wait load page + Then verify breadcrumbs "tab" label should be equal "Project monitoring" value + Then verify breadcrumbs "project" label should be equal "llmdeploy332" value + And hover "Project_Navigation_Toggler" component on "commonPagesHeader" wizard + And click on cell with value "LLM prompts" in "link" column in "General_Info_Quick_Links" table on "commonPagesHeader" wizard + And hover "MLRun_Logo" component on "commonPagesHeader" wizard + And wait load page + Then verify breadcrumbs "tab" label should be equal "LLM prompts" value + Then verify redirection to "projects/llmdeploy332/llm-prompts?bePage=1&fePage=1" + Then verify "LLMPrompts_Table" element visibility on "LLM_Prompts" wizard + Then verify "show_all_versions" option is present on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "my_llm" value in "name" column + Then verify "show_all_versions" option on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "my_llm" value in "name" column should display hover tooltip "Common_Tooltips"."Show_All_Versions" with scroll "false" + Then click on "show_all_versions" option on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "my_llm" value in "name" column with scroll "false" + And wait load page + Then verify "History_Back_Button" element visibility on "LLM_Prompts" wizard + Then "Version_History_Prompt_Name" element on "LLM_Prompts" should contains "my_llm" value + Then verify "Refresh_Button" element visibility on "LLM_Prompts" wizard + Then verify "Table_FilterBy_Button" element visibility on "LLM_Prompts" wizard + Then click on "Table_FilterBy_Button" element on "LLM_Prompts" wizard + Then "Show_Iterations_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then verify action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "1d459c52a1102adcbbe242e6bb36e99129f2a8b9" value in "uid" column should contains "Common_Lists"."Action_Menu_List_LLM_Prompt" + Then verify action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "1d459c52a1102adcbbe242e6bb36e99129f2a8b9" value in "uid" column should contains "Common_Lists"."Action_Menu_List_LLM_Prompt" + Then select "Download" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "1d459c52a1102adcbbe242e6bb36e99129f2a8b9" value in "uid" column + And wait load page + And wait load page + Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Download_Pop_Up_Cross_Cancel_Button" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard + Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value + Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard + Then select "View YAML" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "1d459c52a1102adcbbe242e6bb36e99129f2a8b9" value in "uid" column + Then verify if "View_YAML" popup dialog appears + Then verify "Cross_Cancel_Button" element visibility on "View_YAML" wizard + Then verify "YAML_Modal_Container" element visibility on "View_YAML" wizard + Then click on "Cross_Cancel_Button" element on "View_YAML" wizard + Then select "Copy URI" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "1d459c52a1102adcbbe242e6bb36e99129f2a8b9" value in "uid" column + And wait load page + Then verify if "Notification_Popup" popup dialog appears + Then verify "Notification_Pop_Up" element visibility on "Notification_Popup" wizard + Then "Notification_Pop_Up" element on "Notification_Popup" should contains "Copied to clipboard successfully" value + Then verify "Notification_Pop_Up_Cross_Close_Button" element visibility on "Notification_Popup" wizard + Then click on "Notification_Pop_Up_Cross_Close_Button" element on "Notification_Popup" wizard + Then verify "History_Back_Button" element visibility on "LLM_Prompts" wizard + Then verify "LLMPrompts_Table" element visibility on "LLM_Prompts" wizard + When click on cell with row index 1 in "uid" column in "LLMPrompts_Table" table on "LLM_Prompts" wizard + And wait load page + Then verify "Header" element visibility on "LLM_Prompts_Info_Pane" wizard + Then verify "Info_Pane_Tab_Selector" element visibility on "LLM_Prompts_Info_Pane" wizard + Then verify "Action_Menu" dropdown element on "LLM_Prompts_Info_Pane" wizard should contains "Common_Lists"."Action_Menu_List_LLM_Prompt" + Then select "Download" option in action menu on "LLM_Prompts_Info_Pane" wizard + And wait load page + And wait load page + Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Download_Pop_Up_Cross_Cancel_Button" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard + Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value + Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard + Then select "View YAML" option in action menu on "LLM_Prompts_Info_Pane" wizard + Then verify if "View_YAML" popup dialog appears + Then verify "Cross_Cancel_Button" element visibility on "View_YAML" wizard + Then verify "YAML_Modal_Container" element visibility on "View_YAML" wizard + Then click on "Cross_Cancel_Button" element on "View_YAML" wizard + Then select "Copy URI" option in action menu on "LLM_Prompts_Info_Pane" wizard + And wait load page + Then verify if "Notification_Popup" popup dialog appears + Then verify "Notification_Pop_Up" element visibility on "Notification_Popup" wizard + Then "Notification_Pop_Up" element on "Notification_Popup" should contains "Copied to clipboard successfully" value + Then verify "Notification_Pop_Up_Cross_Close_Button" element visibility on "Notification_Popup" wizard + Then click on "Notification_Pop_Up_Cross_Close_Button" element on "Notification_Popup" wizard + Then click on "Cross_Close_Button" element on "LLM_Prompts_Info_Pane" wizard + Then verify "History_Back_Button" element visibility on "LLM_Prompts" wizard + Then verify "LLMPrompts_Table" element visibility on "LLM_Prompts" wizard + Then select "Add a tag" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "1d459c52a1102adcbbe242e6bb36e99129f2a8b9" value in "uid" column + And wait load page + Then verify "Add_Tag_Popup" element visibility on "Add_Tag_Popup" wizard + Then type value "context" to "Tag_Input" field on "Add_Tag_Popup" wizard + Then click on "Add_Button" element on "Add_Tag_Popup" wizard + And wait load page + Then verify "Notification_Pop_Up" element visibility on "Notification_Popup" wizard + And wait load page + Then "Notification_Pop_Up" element on "Notification_Popup" should contains "Tag was added successfully" value + And wait load page + Then verify "Notification_Pop_Up_Cross_Close_Button" element visibility on "Notification_Popup" wizard + Then click on "Notification_Pop_Up_Cross_Close_Button" element on "Notification_Popup" wizard + Then verify "Table_FilterBy_Button" element on "LLM_Prompts" wizard should display hover tooltip "Common_Tooltips"."FilterBy_Button" + Then click on "Table_FilterBy_Button" element on "LLM_Prompts" wizard + Then select "context" option in "Table_Tree_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard + Then click on "Apply_Button" element on "FilterBy_Popup" wizard + And wait load page + When click on cell with value "1d459c52a1102adcbbe242e6bb36e99129f2a8b9" in "uid" column in "LLMPrompts_Table" table on "LLM_Prompts" wizard + And wait load page + Then check "context" value in "tag" column in "Overview_Table" table on "LLM_Prompts_Info_Pane" wizard + Then select "Add a tag" option in action menu on "LLM_Prompts_Info_Pane" wizard + And wait load page + Then verify "Add_Tag_Popup" element visibility on "Add_Tag_Popup" wizard + Then type value "Final_Answer" to "Tag_Input" field on "Add_Tag_Popup" wizard + Then click on "Add_Button" element on "Add_Tag_Popup" wizard + And wait load page + Then verify "Notification_Pop_Up" element visibility on "Notification_Popup" wizard + And wait load page + Then "Notification_Pop_Up" element on "Notification_Popup" should contains "Tag was added successfully" value + And wait load page + Then verify "Notification_Pop_Up_Cross_Close_Button" element visibility on "Notification_Popup" wizard + Then click on "Notification_Pop_Up_Cross_Close_Button" element on "Notification_Popup" wizard + Then verify "Table_FilterBy_Button" element on "LLM_Prompts" wizard should display hover tooltip "Common_Tooltips"."FilterBy_Button_1" + Then click on "Table_FilterBy_Button" element on "LLM_Prompts" wizard + Then select "Final_Answer" option in "Table_Tree_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard + Then click on "Apply_Button" element on "FilterBy_Popup" wizard + And wait load page + When click on cell with value "1d459c52a1102adcbbe242e6bb36e99129f2a8b9" in "uid" column in "LLMPrompts_Table" table on "LLM_Prompts" wizard + And wait load page + Then check "Final_Answer" value in "tag" column in "Overview_Table" table on "LLM_Prompts_Info_Pane" wizard + + @MLLP + @smoke + #TODO: verify 'Add a Tag' behavior in Version History page when overwriting an existing prompt instance + Scenario: MLLP012 - Verify overwrite Add a tag option in action menu on llm prompts list + Given open url + And wait load page + And click on row root with value "llmdeploy332" in "name" column in "Projects_Table" table on "Projects" wizard + And wait load page + Then verify breadcrumbs "tab" label should be equal "Project monitoring" value + Then verify breadcrumbs "project" label should be equal "llmdeploy332" value + And hover "Project_Navigation_Toggler" component on "commonPagesHeader" wizard + And click on cell with value "LLM prompts" in "link" column in "General_Info_Quick_Links" table on "commonPagesHeader" wizard + And hover "MLRun_Logo" component on "commonPagesHeader" wizard + And wait load page + Then verify breadcrumbs "tab" label should be equal "LLM prompts" value + Then verify redirection to "projects/llmdeploy332/llm-prompts?bePage=1&fePage=1" + Then verify "LLMPrompts_Table" element visibility on "LLM_Prompts" wizard + Then select "Add a tag" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "my_llm" value in "name" column + And wait load page + Then verify "Add_Tag_Popup" element visibility on "Add_Tag_Popup" wizard + Then type value "latest" to "Tag_Input" field on "Add_Tag_Popup" wizard + Then click on "Add_Button" element on "Add_Tag_Popup" wizard + And wait load page + Then verify "Add_Button" element on "Add_Tag_Popup" wizard is disabled + Then type value "system" to "Tag_Input" field on "Add_Tag_Popup" wizard + Then click on "Add_Button" element on "Add_Tag_Popup" wizard + And wait load page + Then verify "Notification_Pop_Up" element visibility on "Notification_Popup" wizard + And wait load page + Then "Notification_Pop_Up" element on "Notification_Popup" should contains "Tag was added successfully" value + And wait load page + Then verify "Notification_Pop_Up_Cross_Close_Button" element visibility on "Notification_Popup" wizard + Then click on "Notification_Pop_Up_Cross_Close_Button" element on "Notification_Popup" wizard + Then select "Add a tag" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "my_llm" value in "name" column + And wait load page + Then verify "Add_Tag_Popup" element visibility on "Add_Tag_Popup" wizard + Then type value "system" to "Tag_Input" field on "Add_Tag_Popup" wizard + Then click on "Add_Button" element on "Add_Tag_Popup" wizard + Then verify if "Confirm_Popup" popup dialog appears + Then "Title" element on "Confirm_Popup" should contains "Overwrite LLM prompt?" value + Then verify "Cross_Cancel_Button" element visibility on "Confirm_Popup" wizard + Then verify "Confirm_Dialog_Message" element visibility on "Confirm_Popup" wizard + Then "Confirm_Dialog_Message" component on "Confirm_Popup" should be equal "Descriptions"."Add_A_Tag_Overwrite_Message" + Then verify "Cancel_Button" element visibility on "Confirm_Popup" wizard + Then "Cancel_Button" element on "Confirm_Popup" should contains "Cancel" value + Then verify "Overwrite_Button" element visibility on "Confirm_Popup" wizard + Then "Overwrite_Button" element on "Confirm_Popup" should contains "Overwrite" value + When click on "Cancel_Button" element on "Confirm_Popup" wizard + Then select "Add a tag" option in action menu on "LLM_Prompts" wizard in "LLMPrompts_Table" table at row with "my_llm" value in "name" column + And wait load page + Then verify "Add_Tag_Popup" element visibility on "Add_Tag_Popup" wizard + Then type value "system" to "Tag_Input" field on "Add_Tag_Popup" wizard + Then click on "Add_Button" element on "Add_Tag_Popup" wizard + Then verify if "Confirm_Popup" popup dialog appears + Then "Title" element on "Confirm_Popup" should contains "Overwrite LLM prompt?" value + Then verify "Cross_Cancel_Button" element visibility on "Confirm_Popup" wizard + Then verify "Confirm_Dialog_Message" element visibility on "Confirm_Popup" wizard + Then "Confirm_Dialog_Message" component on "Confirm_Popup" should be equal "Descriptions"."Add_A_Tag_Overwrite_Message" + Then verify "Cancel_Button" element visibility on "Confirm_Popup" wizard + Then "Cancel_Button" element on "Confirm_Popup" should contains "Cancel" value + Then verify "Overwrite_Button" element visibility on "Confirm_Popup" wizard + Then "Overwrite_Button" element on "Confirm_Popup" should contains "Overwrite" value + When click on "Overwrite_Button" element on "Confirm_Popup" wizard + And wait load page + Then verify "Notification_Pop_Up" element visibility on "Notification_Popup" wizard + And wait load page + Then "Notification_Pop_Up" element on "Notification_Popup" should contains "Tag was added successfully" value + And wait load page + Then verify "Notification_Pop_Up_Cross_Close_Button" element visibility on "Notification_Popup" wizard + Then click on "Notification_Pop_Up_Cross_Close_Button" element on "Notification_Popup" wizard + + @MLLP + @smoke + Scenario: MLLP013 - Verify prompt preview option on the main an version history llm prompts lists + Given open url + And wait load page + And click on row root with value "llmdeploy332" in "name" column in "Projects_Table" table on "Projects" wizard + And wait load page + Then verify breadcrumbs "tab" label should be equal "Project monitoring" value + Then verify breadcrumbs "project" label should be equal "llmdeploy332" value + And hover "Project_Navigation_Toggler" component on "commonPagesHeader" wizard + And click on cell with value "LLM prompts" in "link" column in "General_Info_Quick_Links" table on "commonPagesHeader" wizard + And hover "MLRun_Logo" component on "commonPagesHeader" wizard + And wait load page + Then verify breadcrumbs "tab" label should be equal "LLM prompts" value + Then verify redirection to "projects/llmdeploy332/llm-prompts?bePage=1&fePage=1" + Then verify "LLMPrompts_Table" element visibility on "LLM_Prompts" wizard + Then verify "preview" option is present on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "my_llm" value in "name" column + Then click on "preview" option on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "my_llm" value in "name" column with scroll "false" + And wait load page + Then verify if "Preview_Popup" popup dialog appears + Then verify "Cross_Cancel_Button" element visibility on "Preview_Popup" wizard + Then verify "Preview_Modal_Container" element visibility on "Preview_Popup" wizard + Then verify "Download_Button" element visibility on "Preview_Popup" wizard + Then click on "Download_Button" element on "Preview_Popup" wizard + And wait load page + And wait load page + Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Download_Pop_Up_Cross_Cancel_Button" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard + Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value + Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard + Then verify visibility of header column "name" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Name" header value in "name" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "path" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Path" header value in "path" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "size" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Size" header value in "size" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "updated" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Updated" header value in "updated" column in "Preview_Table" table on "Preview_Popup" wizard + Then click on "Cross_Cancel_Button" element on "Preview_Popup" wizard + Then verify "show_all_versions" option is present on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "my_llm" value in "name" column + Then click on "show_all_versions" option on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "my_llm" value in "name" column with scroll "false" + And wait load page + Then verify "History_Back_Button" element visibility on "LLM_Prompts" wizard + Then "Version_History_Prompt_Name" element on "LLM_Prompts" should contains "my_llm" value + Then verify "preview" option is present on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "1d459c52a1102adcbbe242e6bb36e99129f2a8b9" value in "uid" column + Then click on "preview" option on "LLM_Prompts" wizard in "LLMPrompts_Table" table with "1d459c52a1102adcbbe242e6bb36e99129f2a8b9" value in "uid" column with scroll "false" + And wait load page + Then verify if "Preview_Popup" popup dialog appears + Then verify "Cross_Cancel_Button" element visibility on "Preview_Popup" wizard + Then verify "Preview_Modal_Container" element visibility on "Preview_Popup" wizard + Then verify "Download_Button" element visibility on "Preview_Popup" wizard + Then click on "Download_Button" element on "Preview_Popup" wizard + And wait load page + And wait load page + Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Download_Pop_Up_Cross_Cancel_Button" element visibility on "Downloads_Popup" wizard + And wait load page + Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard + Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value + Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard + Then verify visibility of header column "name" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Name" header value in "name" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "path" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Path" header value in "path" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "size" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Size" header value in "size" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "updated" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Updated" header value in "updated" column in "Preview_Table" table on "Preview_Popup" wizard + Then click on "Cross_Cancel_Button" element on "Preview_Popup" wizard + Then verify "LLMPrompts_Table" element visibility on "LLM_Prompts" wizard diff --git a/tests/features/models.feature b/tests/features/models.feature index 5aff9bd407..f2190170e3 100644 --- a/tests/features/models.feature +++ b/tests/features/models.feature @@ -680,10 +680,19 @@ Feature: Models Page Then verify "Pop_Out_Button" element visibility on "Models_Info_Pane" wizard Then click on "Pop_Out_Button" element on "Models_Info_Pane" wizard And wait load page - Then verify "Preview_Row" element visibility on "Artifact_Preview_Popup" wizard - Then verify "Cross_Cancel_Button" element visibility on "Artifact_Preview_Popup" wizard - Then check "download_btn" visibility in "Preview_Row" on "Artifact_Preview_Popup" wizard with 1 offset - Then click on "Download_Button" element on "Artifact_Preview_Popup" wizard + Then verify "Preview_Table" element visibility on "Preview_Popup" wizard + Then verify visibility of header column "name" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Name" header value in "name" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "path" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Path" header value in "path" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "size" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Size" header value in "size" column in "Preview_Table" table on "Preview_Popup" wizard + Then verify visibility of header column "updated" in "Preview_Table" table on "Preview_Popup" wizard + Then check "Updated" header value in "updated" column in "Preview_Table" table on "Preview_Popup" wizard + Then value in "name" column with "text" in "Preview_Table" on "Preview_Popup" wizard should contains "transaction_fraud_xgboost" + Then verify "Cross_Cancel_Button" element visibility on "Preview_Popup" wizard + Then verify "Download_Button" element visibility on "Preview_Popup" wizard + Then click on "Download_Button" element on "Preview_Popup" wizard And wait load page And wait load page Then verify "Download_Pop_Up" element visibility on "Downloads_Popup" wizard @@ -693,7 +702,7 @@ Feature: Models Page Then verify "Header_Download_Pop_Up" element visibility on "Downloads_Popup" wizard Then "Header_Download_Pop_Up" element on "Downloads_Popup" should contains "Downloads" value Then click on "Download_Pop_Up_Cross_Cancel_Button" element on "Downloads_Popup" wizard - Then click on "Cross_Cancel_Button" element on "Artifact_Preview_Popup" wizard + Then click on "Cross_Cancel_Button" element on "Preview_Popup" wizard @MLM @passive diff --git a/tests/features/projectMonitoring.feature b/tests/features/projectMonitoring.feature index 331739397d..fd4f46e8fe 100644 --- a/tests/features/projectMonitoring.feature +++ b/tests/features/projectMonitoring.feature @@ -945,6 +945,17 @@ Feature: Project Monitoring Page Then verify "Table_FilterBy_Button" element visibility on "Schedule_Monitor_Tab" wizard Then click on "Table_FilterBy_Button" element on "Schedule_Monitor_Tab" wizard Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "All" + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page + Then "Type_All_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Job_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Workflow_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Spark_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Horovod_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Dask_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Databricks_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page Then verify "Batch_Run_Button" element visibility on "Schedule_Monitor_Tab" wizard Then "Batch_Run_Button" element on "Schedule_Monitor_Tab" should contains "Batch run" value Then verify "Table_Refresh_Button" element visibility on "Schedule_Monitor_Tab" wizard @@ -958,8 +969,20 @@ Feature: Project Monitoring Page Then verify "Date_Picker_Filter_Dropdown" element visibility on "Schedule_Monitor_Tab" wizard Then verify "Date_Picker_Filter_Dropdown" dropdown on "Schedule_Monitor_Tab" wizard selected option value "Next 24 hours" Then verify "Table_FilterBy_Button" element visibility on "Schedule_Monitor_Tab" wizard + Then verify "Table_FilterBy_Button" element on "Schedule_Monitor_Tab" wizard should display hover tooltip "Common_Tooltips"."FilterBy_Button_1" Then click on "Table_FilterBy_Button" element on "Schedule_Monitor_Tab" wizard - Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Job" + Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "5 items selected" + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page + Then "Type_All_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Job_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Workflow_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Spark_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Horovod_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Dask_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Databricks_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page Then verify "Batch_Run_Button" element visibility on "Schedule_Monitor_Tab" wizard Then "Batch_Run_Button" element on "Schedule_Monitor_Tab" should contains "Batch run" value Then verify "Table_Refresh_Button" element visibility on "Schedule_Monitor_Tab" wizard @@ -973,8 +996,20 @@ Feature: Project Monitoring Page Then verify "Date_Picker_Filter_Dropdown" element visibility on "Schedule_Monitor_Tab" wizard Then verify "Date_Picker_Filter_Dropdown" dropdown on "Schedule_Monitor_Tab" wizard selected option value "Next 24 hours" Then verify "Table_FilterBy_Button" element visibility on "Schedule_Monitor_Tab" wizard + Then verify "Table_FilterBy_Button" element on "Schedule_Monitor_Tab" wizard should display hover tooltip "Common_Tooltips"."FilterBy_Button_1" Then click on "Table_FilterBy_Button" element on "Schedule_Monitor_Tab" wizard Then verify "Type_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard selected option value "Workflow" + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page + Then "Type_All_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Job_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Workflow_Checkbox" element should be checked on "FilterBy_Popup" wizard + Then "Type_Spark_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Horovod_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Dask_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then "Type_Databricks_Checkbox" element should be unchecked on "FilterBy_Popup" wizard + Then click on "Type_Filter_Element" element on "FilterBy_Popup" wizard + And wait load page Then verify "Batch_Run_Button" element visibility on "Schedule_Monitor_Tab" wizard Then "Batch_Run_Button" element on "Schedule_Monitor_Tab" should contains "Batch run" value Then verify "Table_Refresh_Button" element visibility on "Schedule_Monitor_Tab" wizard diff --git a/tests/features/projectsPage.feature b/tests/features/projectsPage.feature index 046c4ef928..2ef665505c 100644 --- a/tests/features/projectsPage.feature +++ b/tests/features/projectsPage.feature @@ -540,7 +540,7 @@ Feature: Projects Page Then navigate back And wait load page When click on "Total_Job_Counter_Number" element in "Monitoring_Scheduled_Box" on "Projects" wizard - Then verify redirection to "projects/*/jobs-monitoring/scheduled?type=job&dates=next24hours" + Then verify redirection to "projects/*/jobs-monitoring/scheduled?type=job%2Cspark%2Cmpijob%2Cdask%2Cdatabricks&dates=next24hours" Then verify breadcrumbs "cross" label should be equal "Jobs monitoring" value Then verify breadcrumbs "projectsPage" label should be equal "Projects" value And wait load page diff --git a/tests/features/step-definitions/steps.js b/tests/features/step-definitions/steps.js index 432592296a..54b9ec9d90 100644 --- a/tests/features/step-definitions/steps.js +++ b/tests/features/step-definitions/steps.js @@ -894,7 +894,7 @@ Then( Then( 'verify visibility of header column {string} in {string} table on {string} wizard', async function (columnName, tableName, wizardName) { - const locator = pageObjects[wizardName][tableName].headerSorters[columnName] + const locator = pageObjects[wizardName][tableName]['headerSorters'][columnName] await componentIsVisible(this.driver, locator) } ) diff --git a/tests/mockServer/data/artifacts.json b/tests/mockServer/data/artifacts.json index 164488df06..88bb5ecf95 100644 --- a/tests/mockServer/data/artifacts.json +++ b/tests/mockServer/data/artifacts.json @@ -40048,7 +40048,7 @@ "tag": "latest" }, "spec": { - "target_path": "v3io:///projects/llmdeploy332/artifacts/my_llm", + "target_path": "v3io:///projects/llmdeploy332/artifacts/my_llm.json", "size": 262, "license": "", "invocation_config": {