Skip to content

Commit b3108d1

Browse files
authored
QA v1.7.1 (#2895)
1 parent a367751 commit b3108d1

File tree

12 files changed

+129
-15
lines changed

12 files changed

+129
-15
lines changed

tests/features/MLFunction.feature

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,8 @@ Feature: ML Functions
645645
And set tear-down property "function" created in "default" project with "new-aqa-function-00" value
646646
Then click on "Save_Button" element on "New_Function" wizard
647647
And wait load page
648+
When click on cell with row index 1 in "name" column in "Functions_Table" table on "ML_Functions" wizard
649+
And wait load page
648650
Then "Header" element on "ML_Function_Info_Pane" should contains "new-aqa-function-00" value
649651
Then check "new-aqa-function-00" value in "name" column in "Overview_Table" table on "ML_Function_Info_Pane" wizard
650652
Then check "job" value in "kind" column in "Overview_Table" table on "ML_Function_Info_Pane" wizard
@@ -1079,7 +1081,7 @@ Feature: ML Functions
10791081
Then verify "Cross_Cancel_Button" element visibility on "View_YAML" wizard
10801082
Then verify "YAML_Modal_Container" element visibility on "View_YAML" wizard
10811083
Then click on "Cross_Cancel_Button" element on "View_YAML" wizard
1082-
Then click on cell with row index 9 in "expand_btn" column in "Functions_Table" table on "ML_Functions" wizard
1084+
Then click on cell with row index 8 in "expand_btn" column in "Functions_Table" table on "ML_Functions" wizard
10831085
And wait load page
10841086
Then select "View YAML" option in action menu on "ML_Functions" wizard in "Functions_Table" table at row with "Nov 23, 2021, 11:31:51 AM" value in "name" column
10851087
Then verify if "View_YAML" popup dialog appears

tests/features/common-tools/common-consts.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,18 @@ module.exports = {
333333
Secrets_Hint:
334334
'These secrets are automatically available to all jobs belonging to this project that are not executed locally. See Secrets'
335335
},
336+
Common_Tooltips:{
337+
FilterBy_Button: 'Filter',
338+
Refresh_Button: 'Refresh',
339+
In_Process_Jobs: 'Aborting, Pending, Running',
340+
In_Process_Workflows: 'Running',
341+
Failed_Jobs: 'Aborted, Error',
342+
Failed_Worflows: 'Error, Failed',
343+
Succeeded: 'Completed',
344+
Error_Content: 'Error. Columns must be same length as key',
345+
Error_Content_Workflow:
346+
'Error. 2021-08-29 20:01:36.582972: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library \'libcudart.so.11.0\'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib:/usr/local/lib: 2021-08-29 20:01:36.583019: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. 2021-08-29 20:01:46.470042: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set 2021-08-29 20:01:46.470263: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library \'libcuda.so.1\'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib:/usr/local/lib: 2021-08-29 20:01:46.470283: W tensorflow/stream_executor/cuda/cuda_driver.cc:326] failed call to cuInit: UNKNOWN ERROR (303) 2021-08-29 20:01:46.470306: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (train-1193bacd-worker-0): /proc/driver/nvidia/version does not exist 2021-08-29 20:01:46.518782: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2021-08-29 20:01:46.518927: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set Some callbacks may not have access to the averaged metrics, see https://github.com/horovod/horovod/issues/2440 Traceback (most recent call last): File "/User/demos/image-classification-with-distributed-training/src-tfv2/horovod-training.py", line 116, in <module> hvd.callbacks.LearningRateWarmupCallback(warmup_epochs=5, verbose=1), TypeError: __init__() missing 1 required positional argument: \'initial_lr\''
347+
},
336348
Input_Hint: {
337349
Artifact_Names_Unique: 'Artifact names in the same project must be unique',
338350
Dataset_Names_Unique: 'Dataset names in the same project must be unique',

tests/features/common/actions/common.action.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,19 @@ const action = {
255255
await driver.executeScript('arguments[0].scrollIntoView()', element)
256256
await driver.sleep(250)
257257
},
258+
checkComponentHintTextWithHover:async function (driver, component, hintComponent, text) {
259+
const hintButton = await driver.findElement(component)
260+
const hintButtonRect = await hintButton.getRect()
261+
const actions = driver.actions({ async: true })
262+
await actions
263+
.move({ x: parseInt(hintButtonRect.x), y: parseInt(hintButtonRect.y) })
264+
.perform()
265+
await driver.sleep(250)
266+
const hint = await driver.findElement(hintComponent)
267+
const hintText = await hint.getText()
268+
269+
expect(hintText).equal(text)
270+
},
258271
scrollToWebElement
259272
}
260273

tests/features/common/page-objects/feature-store.po.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ module.exports = {
450450
Table_Refresh_Button: tableRefreshButton,
451451
Add_To_Feature_Vector_Table: commonTable(addToFeatureVectorTable),
452452
Add_Button: By.css('.features-panel__buttons .btn-primary'),
453-
Cancel_Button: By.css('.features-panel__buttons .btn-label'),
453+
Cancel_Button: By.css('.features-panel__buttons .btn-tertiary'),
454454
Features_Panel_Title: labelComponent(
455455
generateLabelGroup('.add-to-feature-vector .features-panel__header', false, true)
456456
),

tests/features/common/page-objects/info-pane.po.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,8 @@ module.exports = {
684684
Arrow_Back: By.css('a.item-header__back-btn'),
685685
Header: header,
686686
Updated: updated,
687+
State_Icon: By.css('.item-header .item-header__status .state'),
688+
Error_Content: By.css('.item-header .item-header__status .error-container'),
687689
Action_Menu: commonActionMenu,
688690
Cross_Close_Button: crossCloseButton,
689691
Info_Pane_Tab_Selector: commonInfoPaneTabSelector,
@@ -697,6 +699,8 @@ module.exports = {
697699
Arrow_Back: commonArrowBack,
698700
Header: By.css('.workflow-container .link-back__title .data-ellipsis'),
699701
Updated: updated,
702+
State_Icon: By.css('.item-header .item-header__status .state'),
703+
Error_Content: By.css('.item-header .item-header__status .error-container'),
700704
Action_Menu: commonActionMenu,
701705
Cross_Close_Button: crossCloseButton,
702706
Info_Pane_Tab_Selector: commonInfoPaneTabSelector,

tests/features/common/page-objects/project-settings.po.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,15 @@ module.exports = {
151151
'.form-key-value-table .form-table__row_active .form-table__cell_1:nth-of-type(1)',
152152
true,
153153
false,
154-
'.form-field__warning'
154+
'.form-field__warning svg'
155155
)
156156
),
157157
Parameters_Table_Value_Input: inputGroup(
158158
generateInputGroup(
159159
'.form-key-value-table .form-table__row_active .form-table__cell_1:nth-of-type(2)',
160160
true,
161161
false,
162-
'.form-field__warning'
162+
'.form-field__warning svg'
163163
)
164164
),
165165
Parameters_Table_Add_Row_Button: By.css(

tests/features/datasets.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,16 +1238,16 @@ Feature: Datasets Page
12381238
And wait load page
12391239
And hover "MLRun_Logo" component on "commonPagesHeader" wizard
12401240
And wait load page
1241-
Then verify that 16 row elements are displayed in "Datasets_Table" on "Datasets" wizard
1241+
Then verify that 17 row elements are displayed in "Datasets_Table" on "Datasets" wizard
12421242
Then check "new_dataset_10" value in "name" column in "Datasets_Table" table on "Datasets" wizard
12431243
Then check "new_dataset_24" value in "name" column in "Datasets_Table" table on "Datasets" wizard
12441244
Then check "test-regressor_cox-test-summary" value in "name" column in "Datasets_Table" table on "Datasets" wizard
1245-
Then check "survival-curves_coxhazard-summary" value not in "name" column in "Datasets_Table" table on "Datasets" wizard
1245+
Then check "survival-curves_coxhazard-summary" value in "name" column in "Datasets_Table" table on "Datasets" wizard
12461246
Then check "iris_gen_iris_dataset" value not in "name" column in "Datasets_Table" table on "Datasets" wizard
12471247
Then check "data_clean_cleaned-data" value not in "name" column in "Datasets_Table" table on "Datasets" wizard
12481248
When scroll to the element with "test-regressor_cox-test-summary" value in "name" column in "Datasets_Table" table on "Datasets" wizard
12491249
And wait load page
1250-
Then verify that 17 row elements are displayed in "Datasets_Table" on "Datasets" wizard
1250+
Then verify that 18 row elements are displayed in "Datasets_Table" on "Datasets" wizard
12511251
Then check "test-regressor_cox-test-summary" value in "name" column in "Datasets_Table" table on "Datasets" wizard
12521252
Then check "iris_gen_iris_dataset" value in "name" column in "Datasets_Table" table on "Datasets" wizard
12531253
Then check "new_dataset_10" value not in "name" column in "Datasets_Table" table on "Datasets" wizard
@@ -1276,10 +1276,10 @@ Feature: Datasets Page
12761276
Then select "All" option in "Table_Tree_Filter_Dropdown" dropdown on "FilterBy_Popup" wizard
12771277
Then click on "Apply_Button" element on "FilterBy_Popup" wizard
12781278
And wait load page
1279-
Then verify that 16 row elements are displayed in "Datasets_Table" on "Datasets" wizard
1279+
Then verify that 17 row elements are displayed in "Datasets_Table" on "Datasets" wizard
12801280
Then check "new_dataset_24" value in "name" column in "Datasets_Table" table on "Datasets" wizard
12811281
Then check "test-regressor_cox-test-summary" value in "name" column in "Datasets_Table" table on "Datasets" wizard
1282-
Then check "survival-curves_coxhazard-summary" value not in "name" column in "Datasets_Table" table on "Datasets" wizard
1282+
Then check "survival-curves_coxhazard-summary" value in "name" column in "Datasets_Table" table on "Datasets" wizard
12831283
Then click on cell with value "test-regressor_cox-test-summary" in "name" column in "Datasets_Table" table on "Datasets" wizard
12841284
And wait load page
12851285
Then check "new_dataset_10" value not in "name" column in "Datasets_Table" table on "Datasets" wizard

tests/features/featureStore.feature

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ Feature: Feature Store Page
118118
Then select "All" option in "Table_Tag_Filter_Dropdown" dropdown on "Feature_Store_Feature_Sets_Tab" wizard
119119
And wait load page
120120
When click on cell with row index 2 in "name" column in "Feature_Sets_Table" table on "Feature_Store_Feature_Sets_Tab" wizard
121+
And wait load page
121122
Then verify "Header" element visibility on "Feature_Sets_Info_Pane" wizard
122123
Then verify "Updated" element visibility on "Feature_Sets_Info_Pane" wizard
123124
Then verify "Apply_Changes_Button" element not exists on "Feature_Sets_Info_Pane" wizard
@@ -145,6 +146,7 @@ Feature: Feature Store Page
145146
Then verify "Apply_Changes_Button" element not exists on "Feature_Sets_Info_Pane" wizard
146147
Then click on "Cross_Close_Button" element on "Feature_Sets_Info_Pane" wizard
147148
When click on cell with row index 1 in "name" column in "Feature_Sets_Table" table on "Feature_Store_Feature_Sets_Tab" wizard
149+
And wait load page
148150
When add rows to "Labels_Table" table on "Feature_Sets_Info_Pane" wizard
149151
| key_input | value_input |
150152
| key1 | value1 |
@@ -243,6 +245,7 @@ Feature: Feature Store Page
243245
And wait load page
244246
Then verify "Feature Sets" tab is active in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard
245247
When click on cell with row index 1 in "name" column in "Feature_Sets_Table" table on "Feature_Store_Feature_Sets_Tab" wizard
248+
And wait load page
246249
Then select "Features" tab in "Info_Pane_Tab_Selector" on "Feature_Sets_Info_Pane" wizard
247250
Then verify "Features" tab is active in "Info_Pane_Tab_Selector" on "Features_Info_Pane" wizard
248251
Then verify "Feature Sets" tab is active in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard
@@ -267,6 +270,7 @@ Feature: Feature Store Page
267270
And wait load page
268271
Then verify "Feature Sets" tab is active in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard
269272
When click on cell with row index 1 in "name" column in "Feature_Sets_Table" table on "Feature_Store_Feature_Sets_Tab" wizard
273+
And wait load page
270274
Then select "Transformations" tab in "Info_Pane_Tab_Selector" on "Feature_Sets_Info_Pane" wizard
271275
Then verify "Transformations" tab is active in "Info_Pane_Tab_Selector" on "Transformations_Info_Pane" wizard
272276
Then verify "Feature Sets" tab is active in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard
@@ -292,6 +296,7 @@ Feature: Feature Store Page
292296
And wait load page
293297
Then verify "Feature Sets" tab is active in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard
294298
When click on cell with row index 1 in "name" column in "Feature_Sets_Table" table on "Feature_Store_Feature_Sets_Tab" wizard
299+
And wait load page
295300
Then select "Preview" tab in "Info_Pane_Tab_Selector" on "Feature_Sets_Info_Pane" wizard
296301
Then verify "Preview" tab is active in "Info_Pane_Tab_Selector" on "Preview_Info_Pane" wizard
297302
Then verify "Feature Sets" tab is active in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard
@@ -316,6 +321,7 @@ Feature: Feature Store Page
316321
And wait load page
317322
Then verify "Feature Sets" tab is active in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard
318323
When click on cell with row index 1 in "name" column in "Feature_Sets_Table" table on "Feature_Store_Feature_Sets_Tab" wizard
324+
And wait load page
319325
Then select "Statistics" tab in "Info_Pane_Tab_Selector" on "Feature_Sets_Info_Pane" wizard
320326
Then verify "Statistics" tab is active in "Info_Pane_Tab_Selector" on "Analysis_Info_Pane" wizard
321327
Then verify cell with "Statistics" value in "key" column in "Info_Pane_Tab_Selector" table on "Feature_Sets_Info_Pane" wizard should display "Label_Hint"."Feature_Sets_Statistics"
@@ -340,6 +346,7 @@ Feature: Feature Store Page
340346
And wait load page
341347
Then verify "Feature Sets" tab is active in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard
342348
When click on cell with row index 1 in "name" column in "Feature_Sets_Table" table on "Feature_Store_Feature_Sets_Tab" wizard
349+
And wait load page
343350
Then select "Analysis" tab in "Info_Pane_Tab_Selector" on "Feature_Sets_Info_Pane" wizard
344351
Then verify "Analysis" tab is active in "Info_Pane_Tab_Selector" on "Analysis_Info_Pane" wizard
345352
Then verify "Feature Sets" tab is active in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard
@@ -1139,7 +1146,8 @@ Feature: Feature Store Page
11391146
Then verify "YAML_Modal_Container" element visibility on "View_YAML" wizard
11401147
Then click on "Cross_Cancel_Button" element on "View_YAML" wizard
11411148
Then select "All" option in "Table_Tag_Filter_Dropdown" dropdown on "Feature_Store_Features_Vectors_Tab" wizard
1142-
Then click on cell with row index 4 in "expand_btn" column in "Feature_Vectors_Table" table on "Feature_Store_Features_Vectors_Tab" wizard
1149+
Then click on cell with row index 1 in "expand_btn" column in "Feature_Vectors_Table" table on "Feature_Store_Features_Vectors_Tab" wizard
1150+
And wait load page
11431151
Then select "View YAML" option in action menu on "Feature_Store_Features_Vectors_Tab" wizard in "Feature_Vectors_Table" table at row with "my-tag" value in "name_expand_btn" column
11441152
Then verify if "View_YAML" popup dialog appears
11451153
Then verify "Cross_Cancel_Button" element visibility on "View_YAML" wizard
@@ -1158,6 +1166,7 @@ Feature: Feature Store Page
11581166
And wait load page
11591167
Then verify "Feature Sets" tab is active in "Feature_Store_Tab_Selector" on "Feature_Store_Feature_Sets_Tab" wizard
11601168
When click on cell with row index 1 in "name" column in "Feature_Sets_Table" table on "Feature_Store_Feature_Sets_Tab" wizard
1169+
And wait load page
11611170
Then verify "Action_Menu" element visibility on "Feature_Sets_Info_Pane" wizard
11621171
Then select "View YAML" option in action menu on "Feature_Sets_Info_Pane" wizard
11631172
Then verify if "View_YAML" popup dialog appears
@@ -1574,6 +1583,7 @@ Feature: Feature Store Page
15741583
* create "test_fs" Feature Set in "automation-test-name001" project with code 200
15751584
Then click on "Table_Refresh_Button" element on "Feature_Store_Feature_Sets_Tab" wizard
15761585
And click on cell with value "test_fs" in "name" column in "Feature_Sets_Table" table on "Feature_Store_Feature_Sets_Tab" wizard
1586+
And wait load page
15771587
Then select "Preview" tab in "Info_Pane_Tab_Selector" on "Feature_Sets_Info_Pane" wizard
15781588
And wait load page
15791589
Then "No_Data_Message" component on "commonPagesHeader" should contains "No_Data_Message"."No_Data"
@@ -1590,6 +1600,7 @@ Feature: Feature Store Page
15901600
* create "test_fv" Feature Vector in "automation-test-name001" project with code 200
15911601
Then click on "Table_Refresh_Button" element on "Feature_Store_Features_Vectors_Tab" wizard
15921602
And click on cell with value "test_fv" in "name" column in "Feature_Vectors_Table" table on "Feature_Store_Features_Vectors_Tab" wizard
1603+
And wait load page
15931604
Then select "Requested Features" tab in "Info_Pane_Tab_Selector" on "Feature_Vectors_Info_Pane" wizard
15941605
And wait load page
15951606
Then "No_Data_Message" component on "commonPagesHeader" should contains "No_Data_Message"."No_Data"

0 commit comments

Comments
 (0)