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 @@ -138,7 +138,7 @@
"react-dev-utils": "^12.0.1",
"sass": "^1.72.0",
"sass-loader": "^12.3.2",
"selenium-webdriver": "^4.0.0-beta.2",
"selenium-webdriver": "^4.35.0",
"source-map-loader": "^5.0.0",
"stylelint": "^13.3.3",
"stylelint-config-rational-order": "^0.1.2",
Expand Down
4 changes: 2 additions & 2 deletions tests/features/MLFunction.feature
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Feature: ML Functions
Then verify "Date_Picker_Filter_Dropdown" dropdown element on "ML_Functions" wizard should contains "Dropdown_Options"."Date_Picker_Filter_Options"
When select "Any time" option in "Date_Picker_Filter_Dropdown" filter dropdown on "ML_Functions" wizard
And wait load page
When click on cell with row index 2 in "name" column in "Functions_Table" table on "ML_Functions" wizard
When click on cell with row index 3 in "name" column in "Functions_Table" table on "ML_Functions" wizard
And wait load page
Then verify "Header" element visibility on "ML_Function_Info_Pane" wizard
Then verify "Updated" element visibility on "ML_Function_Info_Pane" wizard
Expand All @@ -119,7 +119,7 @@ Feature: ML Functions
Then verify "Overview" tab is active in "Info_Pane_Tab_Selector" on "ML_Function_Info_Pane" wizard
Then verify "Overview_Headers" on "ML_Function_Info_Pane" wizard should contains "ML_Function_Info_Pane"."Overview_Headers"
Then click on "Cross_Close_Button" element on "ML_Function_Info_Pane" wizard
When click on cell with row index 1 in "name" column in "Functions_Table" table on "ML_Functions" wizard
When click on cell with row index 2 in "name" column in "Functions_Table" table on "ML_Functions" wizard
And wait load page
Then verify "Header" element visibility on "ML_Function_Info_Pane" wizard
Then verify "Updated" element visibility on "ML_Function_Info_Pane" wizard
Expand Down
52 changes: 24 additions & 28 deletions tests/features/alerts.feature
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@ Feature: Alerts Page

@MLAlert
@smoke
# TODO: Add data to the mock to check the following elements (existing alerts with endpoint type)
Scenario: MLAlert002 - Check filtering by Endpoint entity type on Alerts page
Given open url
And wait load page
And click on row root with value "auto-generated-data" in "name" column in "Projects_Table" table on "Projects" wizard
And click on row root with value "default" in "name" column in "Projects_Table" table on "Projects" wizard
And wait load page
And select "tab" with "Alerts" value in breadcrumbs menu
And wait load page
Expand All @@ -72,7 +71,6 @@ Feature: Alerts Page
When select "Endpoint" option in "Entity_Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard
Then click on "Apply_Button" element on "FilterBy_Popup" wizard
And wait load page
# Add data to the mock to check the following elements
Then verify "Alerts_Table" element visibility on "Alerts" wizard
Then value in "entityType" column with "tooltip" in "Alerts_Table" on "Alerts" wizard should contains "Endpoint"
Then verify "Table_FilterBy_Button" element on "Alerts" wizard should display hover tooltip "Common_Tooltips"."FilterBy_Button_1"
Expand Down Expand Up @@ -154,14 +152,13 @@ Feature: Alerts Page

@MLAlert
@smoke
# TODO: Add data to the mock to check the following elements (existing alerts with application type)
Scenario: MLAlert004 - Check filtering by Application entity type on Alerts page
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 click on row root with value "default" 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 "cat-vs-dog-classification" value
Then verify breadcrumbs "project" label should be equal "default" value
And hover "Project_Navigation_Toggler" component on "commonPagesHeader" wizard
Then click on "Alerts_Button" element on "commonPagesHeader" wizard
And wait load page
Expand All @@ -172,7 +169,6 @@ Feature: Alerts Page
Then verify "Date_Picker_Filter_Dropdown" dropdown on "Alerts" wizard selected option value "Past 24 hours"
When select "Any time" option in "Date_Picker_Filter_Dropdown" filter dropdown on "Alerts" wizard
And wait load page
# Add data to the mock to check the following elements
Then verify "Alerts_Table" element visibility on "Alerts" wizard
Then click on "Table_FilterBy_Button" element on "Alerts" wizard
When select "Application" option in "Entity_Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard
Expand Down Expand Up @@ -267,11 +263,10 @@ Feature: Alerts Page

@MLAlert
@smoke
# TODO: Add data to the mock to check the following elements (existing job data for details popup)
Scenario: MLAlert006 - Check components in Job detail pop-up on Job alert detail pane on Alerts page
Given open url
And wait load page
And click on row root with value "auto-generated-data" in "name" column in "Projects_Table" table on "Projects" wizard
And click on row root with value "default" in "name" column in "Projects_Table" table on "Projects" wizard
And wait load page
And select "tab" with "Alerts" value in breadcrumbs menu
And wait load page
Expand All @@ -285,28 +280,32 @@ Feature: Alerts Page
When select "Job" option in "Entity_Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard
Then click on "Apply_Button" element on "FilterBy_Popup" wizard
And wait load page
Then type value "alertd478b0739b" to "Search_By_Name_Filter_Input" field on "Alerts" wizard
Then value in "entityType" column with "tooltip" in "Alerts_Table" on "Alerts" wizard should contains "Job"
Then click on "Table_FilterBy_Button" element on "Alerts" wizard
When select "All" option in "Entity_Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard
Then click on "Apply_Button" element on "FilterBy_Popup" wizard
And wait load page
Then type value "obryv-default" to "Search_By_Name_Filter_Input" field on "Alerts" wizard
Then click on "Refresh_Button" element on "Alerts" wizard
And wait load page
Then value in "alertName" column with "text" in "Alerts_Table" on "Alerts" wizard should contains "alertd478b0739b"
Then value in "alertName" column with "text" in "Alerts_Table" on "Alerts" wizard should contains "alert-name-obryv-default"
And wait load page
Then verify "Alerts_Table" element visibility on "Alerts" wizard
Then value in "entityType" column with "tooltip" in "Alerts_Table" on "Alerts" wizard should contains "Job"
When click on cell with row index 1 in "alertName" column in "Alerts_Table" table on "Alerts" wizard
And wait load page
Then verify "Header" element visibility on "Alerts_Jobs_Info_Pane" wizard
Then "Header" element on "Alerts_Jobs_Info_Pane" should contains "alertd478b0739b" value
Then "Header" element on "Alerts_Jobs_Info_Pane" should contains "alert-name-obryv-default" value
Then verify "Overview_General_Headers" element visibility on "Alerts_Jobs_Info_Pane" wizard
Then verify "Overview_General_Headers" on "Alerts_Jobs_Info_Pane" wizard should contains "Alerts_Jobs_Info_Pane"."Overview_General_Headers_PerProject"
Then verify "Job_Detail_PopUp_Link" element visibility on "Alerts_Jobs_Info_Pane" wizard
Then click on "Job_Detail_PopUp_Link" element on "Alerts_Jobs_Info_Pane" wizard
# Add data to the mock to check the following elements
Then verify if "Modal_Transition_Popup" popup dialog appears
Then verify "Title" element visibility on "Modal_Transition_Popup" wizard
Then "Title" element on "Modal_Transition_Popup" should contains "erann-test" value
Then "Title" element on "Modal_Transition_Popup" should contains "test-func-oyn-handler" value
Then verify "Data_Status" element visibility on "Modal_Transition_Popup" wizard
Then verify "State_Icon" element visibility on "Modal_Transition_Popup" wizard
Then verify "State_Icon" element on "Modal_Transition_Popup" wizard should display hover tooltip "Jobs_Monitor_Tab_Info_Pane"."Error_State"
Then verify "State_Icon" element on "Modal_Transition_Popup" wizard should display hover tooltip "Jobs_Monitor_Tab_Info_Pane"."Error_State_With_Message"
Then verify "Refresh_Button" element visibility on "Modal_Transition_Popup" wizard
Then verify "Refresh_Button" element on "Modal_Transition_Popup" wizard should display hover tooltip "Common_Tooltips"."Refresh_Button"
Then click on "Refresh_Button" element on "Modal_Transition_Popup" wizard
Expand Down Expand Up @@ -349,21 +348,21 @@ Feature: Alerts Page
Then verify "Logs" tab is active in "Tab_Selector" on "Modal_Transition_Popup" wizard
Then verify "Logs_Text_container" element visibility on "Modal_Transition_Popup" wizard
Then verify "Logs_Refresh_Button" element visibility on "Modal_Transition_Popup" 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"
Then click on "Logs_Refresh_Button" element on "Modal_Transition_Popup" wizard
And wait load page
Then verify "Logs_Text_container" element visibility on "Modal_Transition_Popup" wizard
And select "Pods" tab in "Tab_Selector" on "Modal_Transition_Popup" wizard
And wait load page
Then verify "Pods" tab is active in "Tab_Selector" on "Modal_Transition_Popup" wizard
And verify "No_Data_Message" element visibility on "commonPagesHeader" wizard
Then "No_Data_Message" component on "commonPagesHeader" should contains "No_Data_Message"."No_Pods_data"
Then "No_Data_Message" component on "commonPagesHeader" should contains "No_Data_Message"."No_Pods_data_Completion"

@MLAlert
@smoke
# TODO: Add data to the mock to check the following elements (existing alerts with endpoint type)
Scenario: MLAlert007 - Check components on Endpoints alert detail pane on Alerts page
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 click on row root with value "default" in "name" column in "Projects_Table" table on "Projects" wizard
And wait load page
And select "tab" with "Alerts" value in breadcrumbs menu
And wait load page
Expand All @@ -374,7 +373,6 @@ Feature: Alerts Page
Then verify "Date_Picker_Filter_Dropdown" dropdown on "Alerts" wizard selected option value "Past 24 hours"
When select "Any time" option in "Date_Picker_Filter_Dropdown" filter dropdown on "Alerts" wizard
And wait load page
# Add data to the mock to check the following elements
Then verify "Alerts_Table" element visibility on "Alerts" wizard
Then click on "Table_FilterBy_Button" element on "Alerts" wizard
When select "Endpoint" option in "Entity_Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard
Expand All @@ -385,22 +383,22 @@ Feature: Alerts Page
When click on cell with row index 1 in "alertName" column in "Alerts_Table" table on "Alerts" wizard
And wait load page
Then verify "Header" element visibility on "Alerts_Endpoint_Info_Pane" wizard
Then "Header" element on "Alerts_Endpoint_Info_Pane" should contains "data-drift" value
Then "Header" element on "Alerts_Endpoint_Info_Pane" should contains "alert-name-uqbxb-proj-default" value
Then verify "Cross_Close_Button" element visibility on "Alerts_Endpoint_Info_Pane" wizard
Then click on "Cross_Close_Button" element on "Alerts_Endpoint_Info_Pane" wizard
Then verify "Header" element not exists on "Alerts_Endpoint_Info_Pane" wizard
When click on cell with row index 1 in "alertName" column in "Alerts_Table" table on "Alerts" wizard
And wait load page
Then verify "Header" element visibility on "Alerts_Endpoint_Info_Pane" wizard
Then verify "Overview_General_Headers" element visibility on "Alerts_Endpoint_Info_Pane" wizard
Then verify "Overview_General_Headers" on "Alerts_Endpoint_Info_Pane" wizard should contains "Alerts_Endpoint_Info_Pane"."Overview_General_Headers"
Then verify "Overview_General_Headers" on "Alerts_Endpoint_Info_Pane" wizard should contains "Alerts_Endpoint_Info_Pane"."Overview_General_Headers_Per_Project"
Then verify "Overview_Trigger_Criteria" element visibility on "Alerts_Endpoint_Info_Pane" wizard
Then verify "Overview_Trigger_Criteria" on "Alerts_Endpoint_Info_Pane" wizard should contains "Alerts_Jobs_Info_Pane"."Overview_Trigger_Criteria_Headers"
Then verify "Notifications_Header" element visibility on "Alerts_Endpoint_Info_Pane" wizard
Then verify "Notifications_Item" element visibility on "Alerts_Endpoint_Info_Pane" wizard
Then verify "Date_Picker_Filter_Dropdown" element visibility on "Alerts_Endpoint_Info_Pane" wizard
Then verify "Date_Picker_Filter_Dropdown" dropdown on "Alerts_Endpoint_Info_Pane" wizard selected option value "Past 24 hours"
Then verify "Date_Picker_Filter_Dropdown" dropdown element on "Alerts_Endpoint_Info_Pane" wizard should contains "Dropdown_Options"."Date_Picker_Filter_Options"
Then verify "Date_Picker_Filter_Dropdown" dropdown element on "Alerts_Endpoint_Info_Pane" wizard should contains "Dropdown_Options"."Date_Picker_Filter_Options_Endpoint"
Then verify "Metrics_App_Name" element visibility on "Alerts_Endpoint_Info_Pane" wizard
Then verify "Metrics_Stats_Card" element visibility on "Alerts_Endpoint_Info_Pane" wizard
Then click on "Cross_Close_Button" element on "Alerts_Endpoint_Info_Pane" wizard
Expand All @@ -411,11 +409,10 @@ Feature: Alerts Page

@MLAlert
@smoke
# TODO: Add data to the mock to check the following elements (existing alerts with application type)
Scenario: MLAlert008 - Check components on Application alert detail pane on Alerts page
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 click on row root with value "default" in "name" column in "Projects_Table" table on "Projects" wizard
And wait load page
And select "tab" with "Alerts" value in breadcrumbs menu
And wait load page
Expand All @@ -426,7 +423,6 @@ Feature: Alerts Page
Then verify "Date_Picker_Filter_Dropdown" dropdown on "Alerts" wizard selected option value "Past 24 hours"
When select "Any time" option in "Date_Picker_Filter_Dropdown" filter dropdown on "Alerts" wizard
And wait load page
# Add data to the mock to check the following elements
Then verify "Alerts_Table" element visibility on "Alerts" wizard
Then click on "Table_FilterBy_Button" element on "Alerts" wizard
When select "Application" option in "Entity_Type_Filter_Dropdown" filter dropdown on "FilterBy_Popup" wizard
Expand All @@ -445,7 +441,7 @@ Feature: Alerts Page
And wait load page
Then verify "Header" element visibility on "Alerts_Application_Info_Pane" wizard
Then verify "Overview_General_Headers" element visibility on "Alerts_Application_Info_Pane" wizard
Then verify "Overview_General_Headers" on "Alerts_Application_Info_Pane" wizard should contains "Alerts_Application_Info_Pane"."Overview_General_Headers"
Then verify "Overview_General_Headers" on "Alerts_Application_Info_Pane" wizard should contains "Alerts_Application_Info_Pane"."Overview_General_Headers_Per_Project"
Then verify "Overview_Trigger_Criteria" element visibility on "Alerts_Application_Info_Pane" wizard
Then verify "Overview_Trigger_Criteria" on "Alerts_Application_Info_Pane" wizard should contains "Alerts_Jobs_Info_Pane"."Overview_Trigger_Criteria_Headers"
Then verify "Notifications_Header" element visibility on "Alerts_Application_Info_Pane" wizard
Expand Down
Loading