Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"babel-runtime": "^6.26.0",
"body-parser": "^1.19.0",
"chai": "^4.3.4",
"chromedriver": "^138.0.0",
"chromedriver": "^140.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"cucumber-html-reporter": "^5.3.0",
Expand Down
19 changes: 12 additions & 7 deletions tests/features/common-tools/common-consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ export default {
'Train model',
'Batch inference',
'Create real-time function',
'Register model',
'ML function',
'Feature set',
'Register model'
'Create feature vector'
],
Online_Status: 'online',
Data_Collection_Description:
Expand Down Expand Up @@ -535,6 +536,7 @@ export default {
' You can browse them in the Artifacts page.',
Model_Endpoint_With_Detections:
'This chart displays the number of model endpoints that had at least one detected issue, in any monitoring application, in the relevant time period',
Project_Monitoring_Counters: 'Counters use a caching mechanism, and are not auto-refreshed.',
Operating_Functions: 'System functions that are used for the monitoring application operation',
Lag: 'Number of messages currently waiting in the app\'s queue',
Commited_Offset: 'Total number of messages handled by the app',
Expand Down Expand Up @@ -576,11 +578,13 @@ export default {
Terminate_Workflow_Message: /Are you sure you want to terminate the workflow "(.+?)" \(stop its execution\)\? Workflows termination cannot be undone\./,
Workflows_Action_Menu_Options: ['View YAML', 'Retry', 'Terminate'],
Workflows_Running_Action_Menu_Options: ['View YAML', 'Terminate'],
Workflows_Info_Pane_Action_Menu_Options: ['Batch re-run', 'Monitoring', 'View YAML', 'Delete', 'Terminate'],
Workflows_Info_Pane_Action_Menu_Options: ['Batch re-run', 'Monitoring', 'View YAML', 'Delete'],
Pending_Job_Action_Menu_Options: ['Batch re-run', 'Run\'s resource monitoring', 'Abort', 'View YAML'],
Schedule_Action_Menu_Options: ['Run now', 'Edit', 'Delete', 'View YAML'],
Workflows_Unsuccessful_Run_Message: 'Workflow did not run successfully\nRETRY',
Workflows_Unsuccessful_Terminate_Message: 'Workflow "stocks-admin-main 2021-08-30 05-36-35 failed to terminate'
Workflows_Successful_Run_Message: 'Workflow run successfully.',
Workflows_Unsuccessful_Terminate_Message: 'Workflow "stocks-admin-main 2021-08-30 05-36-35 failed to terminate',
Workflows_Trigger_Termination_Message: 'A request to terminate workflow "stocks-admin-main 2021-08-30 05-36-35" was issued'
},
Jobs_Monitor_Tab_Info_Pane: {
Pending_State: 'Pending',
Expand All @@ -602,8 +606,8 @@ export default {
'Log level:',
'Output path:',
'Total iterations:',
'Retry count:',
'Maximum retries:'
'Attempt count:',
'Maximum attempts:'
]
},
Jobs_Monitor_Tab: {
Expand Down Expand Up @@ -699,7 +703,8 @@ export default {
'Past hour',
'Past 24 hours',
'Past week',
'Past month'
'Past month',
'Custom range'
],
Scheduled_Date_Picker_Filter_Options: [
'Any time',
Expand Down Expand Up @@ -760,7 +765,7 @@ export default {
Common_Message_Jobs_Monitoring_Scheduled:
/No data matches the filter: "Scheduled at: \d{2}\/\d{2}\/\d{4} \d{2}:\d{2} - \d{2}\/\d{2}\/\d{4} \d{2}:\d{2}, Project: (.+?)"/,
Common_Message_Scheduled_Type:
/No data matches the filter: "Type: (.+?)"/,
/No data matches the filter: "Scheduled at: \d{2}\/\d{2}\/\d{4} \d{2}:\d{2} - \d{2}\/\d{2}\/\d{4} \d{2}:\d{2}, Type: (.+?)"/,
Common_Message: 'No data matches the filter: "Version Tag: latest, Name: ccccc"',
Common_Message_Feature: 'No data matches the filter: "Version Tag: latest"',
Common_Message_Feature_Vector_Tab:
Expand Down
2 changes: 1 addition & 1 deletion tests/features/common/page-objects/info-pane.po.js
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ export default {
Alerts_FilterBy_Button: By.css('[data-testid="detailsPanel"] [data-testid="filter-menu-btn-tooltip-wrapper"]'),
Alerts_Refresh_Button: By.css('[data-testid="detailsPanel"] [data-testid="refresh-tooltip-wrapper"]'),
Alerts_Table: commonTable(alertsTable),
Metrics_Stats_Card: By.css('.alert-row__expanded-row .alerts-table__metrics .stats-card')
Metrics_Stats_Card: By.css('.alert-row__expanded-row .alerts-table .stats-card')
},
modelsRealTimePipelineInfoPane: {
Arrow_Back: commonArrowBack,
Expand Down
22 changes: 11 additions & 11 deletions tests/features/common/page-objects/monitoring-app.po.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,22 +284,22 @@ export default {
Date_Picker_Filter_Dropdown: commonDatePickerFilter,
Custom_Range_Filter_Dropdown: commonCustomRangeFilter,
Date_Time_Picker: datepicker(dateTimePickerCalendars),
Applications_Stats_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(1) .stats-card__row:nth-of-type(1) .stats-card__title span'),
Applications_Stats_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(1) .stats-card__row:nth-of-type(1) .stats-card__title .data-ellipsis.tooltip-wrapper'),
Applications_Stats_Counter: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(1) .stats-card__row:nth-of-type(2) .stats__counter'),
Apps_Status_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) .stats-card__row:nth-of-type(1) .stats-card__title span'),
Apps_Status_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) .stats-card__row:nth-of-type(1) .stats-card__title .data-ellipsis.tooltip-wrapper'),
Apps_Status_Running_SubTitle: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) .stats-card__row:nth-of-type(2) [data-testid="running_status"] .stats__subtitle'),
Apps_Status_Failed_SubTitle: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) .stats-card__row:nth-of-type(2) [data-testid="failed_status"] .stats__subtitle'),
Apps_Status_Running_Counter: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) .stats-card__row:nth-of-type(2) [data-testid="monitoring-app-running"] .stats__counter'),
Apps_Status_Failed_Counter: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) .stats-card__row:nth-of-type(2) [data-testid="monitoring-app-failed"] .stats__counter'),
Apps_Status_Running_Tip: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) .stats-card__row:nth-of-type(2) [data-testid="running_status"] i'),
Apps_Status_Failed_Tip: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) .stats-card__row:nth-of-type(2) [data-testid="failed_status"] i'),
Endpoints_Stats_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(3) .stats-card__row:nth-of-type(1) .stats-card__title span'),
Endpoints_Stats_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(3) .stats-card__row:nth-of-type(1) .stats-card__title .data-ellipsis.tooltip-wrapper'),
Endpoints_Batch_SubTitle: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(3) .stats-card__row:nth-of-type(2) [data-testid="batch_status"] .stats__subtitle'),
Endpoints_RealTime_SubTitle: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(3) .stats-card__row:nth-of-type(2) [data-testid="realTime_status"] .stats__subtitle'),
Endpoints_Batch_Counter: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(3) .stats-card__row:nth-of-type(2) [data-testid="monitoring-app-batch"] .stats__counter'),
Endpoints_RealTime_Counter: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(3) .stats-card__row:nth-of-type(2) [data-testid="monitoring-app-realTime"] .stats__counter'),
RunningFrequency_Stats_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(4) .stats-card__row:nth-of-type(1) .stats-card__title span'),
RunningFrequency_Value_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(4) .stats-card__row:nth-of-type(2) [data-testid="monitoring-app-undefined"] .stats__counter'),
RunningFrequency_Stats_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(4) .stats-card__row:nth-of-type(1) .stats-card__title .data-ellipsis.tooltip-wrapper'),
RunningFrequency_Value_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(4) .stats-card__row:nth-of-type(2) [data-testid="monitoring-app-interval"] .stats__counter'),
Model_Endpoint_Detections_Title: By.css('.monitoring-apps .monitoring-app__section:nth-of-type(1) .monitoring-app__section-item:nth-of-type(1) .section-item_title span'),
Model_Endpoint_Detections_Tip: By.css('.monitoring-apps .monitoring-app__section:nth-of-type(1) .monitoring-app__section-item:nth-of-type(1) .section-item_title [data-testid="tip"]'),
Model_Endpoint_Detections_Chart: By.css('.monitoring-apps .monitoring-app__section:nth-of-type(1) .monitoring-app__section-item:nth-of-type(1) .section-item_chart-wrapper .chart-container'),
Expand All @@ -321,19 +321,19 @@ export default {
Date_Time_Picker: datepicker(dateTimePickerCalendars),
Application_Metrics_Button: By.css('.action-bar [data-testid="btn"] span'),
Refresh_Button: By.css('.action-bar [data-testid="refresh"] button'),
App_Status_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(1) .stats-card__title span'),
App_Status_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(1) .stats-card__title .data-ellipsis.tooltip-wrapper'),
App_Status_SubTitle: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(1) [data-testid="monitoring-app-appStatus"] .stats__counter'),
Endpoints_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) .stats-card__title span'),
Endpoints_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) .stats-card__title .data-ellipsis.tooltip-wrapper'),
Endpoints_Tip: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) [data-testid="tip"] svg'),
Endpoints_Counter: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(2) [data-testid="monitoring-app-endpoints"] .stats__counter'),
Detections_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(3) .stats-card__title span'),
Detections_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(3) .stats-card__title .data-ellipsis.tooltip-wrapper'),
Detections_Counter: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(3) [data-testid="monitoring-app-detections"] .stats__counter'),
Possible_Detections_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(4) .stats-card__title span'),
Possible_Detections_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(4) .stats-card__title .data-ellipsis.tooltip-wrapper'),
Possible_Detections_Counter: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(4) [data-testid="monitoring-app-possibleDetections"] .stats__counter'),
Lag_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(5) .stats-card__title span'),
Lag_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(5) .stats-card__title .data-ellipsis.tooltip-wrapper'),
Lag_Tip: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(5) [data-testid="tip"] svg'),
Lag_Counter: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(5) [data-testid="monitoring-app-lag"] .stats__counter'),
Commited_Offset_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(6) .stats-card__title span'),
Commited_Offset_Title: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(6) .stats-card__title .data-ellipsis.tooltip-wrapper'),
Commited_Offset_Tip: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(6) [data-testid="tip"] svg'),
Commited_Offset_Counter: By.css('.monitoring-application__statistics-section .stats-card:nth-of-type(6) [data-testid="monitoring-app-commitedOffset"] .stats__counter'),
Artifacts_Title: By.css('.monitoring-app__section .section-item_title span'),
Expand Down
28 changes: 14 additions & 14 deletions tests/features/common/page-objects/project.po.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const quickActionsObject = dropdownComponent(
generateDropdownGroup(
'.main-info__toolbar .create-new-menu',
'.select__header',
'[data-testid="select-body"] [data-testid="select-option"] .tooltip-wrapper',
'[data-testid="select-body"] [data-testid="select-option"]:not(.hidden) .tooltip-wrapper',
false
)
)
Expand Down Expand Up @@ -83,7 +83,7 @@ const runsTable = {
header: {
root: '.project-data-card__header',
sorters: {
title: '.project-data-card__header-text span a',
title: '.project-data-card__header-text a',
time_period: '.project-data-card__header-info span',
in_process_counter_number: '.project-data-card__statistics-item:nth-of-type(1) .project-data-card__statistics-value',
in_process_counter_subtitle: '.project-data-card__statistics-item:nth-of-type(1) .project-data-card__statistics-label span',
Expand Down Expand Up @@ -276,18 +276,18 @@ const shardLagsTable = {

export default {
project: {
Project_Name: By.css('.main-info .project-details__header'),
Project_Name: By.css('.main-info .page-header__title'),
Created_Details: By.css('.project-details__details-label:nth-of-type(1)'),
Owner_Details: By.css('.project-details__details-label:nth-of-type(2)'),
Info_Baner: By.css('.main-info__toolbar .main-info__toolbar-banner'),
Info_Baner_Icon: By.css('.main-info .page-header__title [data-testid="tip"] svg'),
Quick_Actions: quickActionsObject,
Refresh_Button: By.css('[data-testid="refresh"]'),
Mono_Values_Cards: By.css('.projects-monitoring-container .projects-monitoring-stats'),
Artifacts_Stats_Container: {
Artifacts_Stats_Title: By.css('.projects-monitoring-stats > div:nth-child(1) .stats-card__title .tooltip-wrapper'),
Artifacts_Stats_Counter: By.css('.projects-monitoring-stats > div:nth-child(1) [data-testid="data_total_counter"] .stats__counter'),
Artifacts_Stats_Counter: By.css('.projects-monitoring-stats > div:nth-child(1) [data-testid="artifacts_total_counter"] .stats__counter'),
Datasets_Counter_Subtitle: By.css('.projects-monitoring-stats > div:nth-child(1) .stats-card__row:nth-of-type(1) h6'),
Datasets_Counter_Number: By.css('.projects-monitoring-stats > div:nth-child(1) .stats-card__row:nth-of-type(1) .stats__counter'),
Datasets_Counter_Number: By.css('.projects-monitoring-container > div > div:nth-child(1) .stats__details .stats-card__row:nth-of-type(1) .stats__counter'),
Documents_Counter_Subtitle: By.css('.projects-monitoring-stats > div:nth-child(1) .stats-card__row:nth-of-type(2) h6'),
Documents_Counter_Number: By.css('.projects-monitoring-stats > div:nth-child(1) .stats__details .stats-card__row:nth-of-type(2) .stats__counter'),
LLM_Prompts_Counter_Subtitle: By.css('.projects-monitoring-stats > div:nth-child(1) .stats-card__row:nth-of-type(3) h6'),
Expand All @@ -298,7 +298,7 @@ export default {
Workflows_Stats_Container: {
Workflows_Stats_Title: By.css('.projects-monitoring-stats > div:nth-child(2) .stats-card__title .tooltip-wrapper'),
Filtering_Time_Period: By.css('.projects-monitoring-stats > div:nth-child(2) .project-card__info span'),
Workflows_Stats_Counter: By.css('.projects-monitoring-stats > div:nth-child(2) [data-testid="scheduled_total_counter"] .stats__counter'),
Workflows_Stats_Counter: By.css('.projects-monitoring-stats > div:nth-child(2) [data-testid="wf_total_counter"] .stats__counter'),
In_Process_Counter_Subtitle: By.css('.projects-monitoring-stats > div:nth-child(2) .stats-card__row:nth-of-type(1) h6'),
In_Process_Counter_Status_Icon: By.css('.projects-monitoring-stats > div:nth-child(2) .stats-card__row:nth-of-type(1) i.state-running'),
In_Process_Counter_Number: By.css('.projects-monitoring-stats > div:nth-child(2) .stats__details .stats-card__row:nth-of-type(1) div:nth-child(2)'),
Expand All @@ -324,12 +324,12 @@ export default {
},
Monitoring_App_Stats_Container: {
Monitoring_App_Stats_Title: By.css('.projects-monitoring-stats .application-card .stats-card__title .tooltip-wrapper'),
Monitoring_App_Succeeded_Stats_Counter: By.css('.projects-monitoring-stats .application-card .stats__container:nth-of-type(1) .stats__counter'),
Monitoring_App_Succeeded_Counter_Subtitle: By.css('.projects-monitoring-stats .application-card .stats__container:nth-of-type(1) .stats__label'),
Monitoring_App_Succeeded_Counter_Status_Icon: By.css('.projects-monitoring-stats .application-card .stats__container:nth-of-type(1) .stats__label .state-completed'),
Monitoring_App_Failed_Stats_Counter: By.css('.projects-monitoring-stats .application-card .stats__container:nth-of-type(2) .stats__counter'),
Monitoring_App_Failed_Counter_Subtitle: By.css('.projects-monitoring-stats .application-card .stats__container:nth-of-type(2) .stats__label'),
Monitoring_App_Failed_Counter_Status_Icon: By.css('.projects-monitoring-stats .application-card .stats__container:nth-of-type(2) .stats__label .state-failed')
Monitoring_App_Running_Stats_Counter: By.css('.projects-monitoring-stats .application-card [data-testid="app_running_counter"] .stats__counter'),
Monitoring_App_Running_Counter_Subtitle: By.css('.application-card > div > div:nth-child(2) .stats__details .stats-card__col:nth-of-type(1) .stats__subtitle'),
Monitoring_App_Running_Counter_Status_Icon: By.css('.application-card > div > div:nth-child(2) .stats__details .stats-card__col:nth-of-type(1) .state-running'),
Monitoring_App_Failed_Stats_Counter: By.css('.projects-monitoring-stats .application-card [data-testid="app_failed_counter"] .stats__counter'),
Monitoring_App_Failed_Counter_Subtitle: By.css('.application-card > div > div:nth-child(2) .stats__details .stats-card__col:nth-of-type(2) .stats__subtitle'),
Monitoring_App_Failed_Counter_Status_Icon: By.css('.application-card > div > div:nth-child(2) .stats__details .stats-card__col:nth-of-type(2) .state-failed')
},
Alerts_Stats_Container: {
Alerts_Stats_Title: By.css('.projects-monitoring-stats > div:nth-child(5) .stats-card__title .tooltip-wrapper'),
Expand All @@ -345,7 +345,7 @@ export default {
},
Runs_Statistic_Table: commonTable(runsTable),
Runs_Statistic_Section_Container: {
Runs_Statistic_Section_Title_Tip: By.css('.d-flex:nth-of-type(1) [data-testid="tip"]'),
Runs_Statistic_Section_Title_Tip: By.css('.d-flex:nth-of-type(1) [data-testid="tip"] svg'),
In_Process_Counter_Subtitle: By.css('.d-flex:nth-of-type(1) .project-data-card__statistics-item:nth-of-type(1) .project-data-card__statistics-label span'),
Failed_Counter_Subtitle: By.css('.d-flex:nth-of-type(1) .project-data-card__statistics-item:nth-of-type(2) .project-data-card__statistics-label span'),
Succeeded_Counter_Subtitle: By.css('.d-flex:nth-of-type(1) .project-data-card__statistics-item:nth-of-type(3) .project-data-card__statistics-label span'),
Expand Down
Loading