You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix the path in test 1
Signed-off-by: Jialiang Liang <[email protected]>
* fix the action
Signed-off-by: Jialiang Liang <[email protected]>
* correct all the link for opensearch conneciton creation
Signed-off-by: Jialiang Liang <[email protected]>
* fix 2_datasource_table.spec.js
Signed-off-by: Jialiang Liang <[email protected]>
* fix the test 1 again for some url mismatch
Signed-off-by: Jialiang Liang <[email protected]>
* fix the test 3
Signed-off-by: Jialiang Liang <[email protected]>
---------
Signed-off-by: Jialiang Liang <[email protected]>
Copy file name to clipboardExpand all lines: cypress/integration/core-opensearch-dashboards/opensearch-dashboards/datasource-management-plugin/1_create_datasource.spec.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
Copy file name to clipboardExpand all lines: cypress/integration/core-opensearch-dashboards/opensearch-dashboards/datasource-management-plugin/2_datasource_table.spec.js
+24-32Lines changed: 24 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,7 @@ if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
33
33
});
34
34
35
35
it('should successfully load the page',()=>{
36
-
cy.contains(
37
-
'Create and manage data source connections to help you retrieve data from multiple OpenSearch compatible sources.',
38
-
TIMEOUT_OPTS
39
-
);
36
+
cy.contains('Create and manage data source connections.',TIMEOUT_OPTS);
40
37
});
41
38
42
39
describe('Empty State',()=>{
@@ -120,7 +117,7 @@ if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
120
117
// Get the datasource table header and click it to sort sscending first
121
118
cy.getColumnHeaderByNameAndClickForSorting(
122
119
tableHeadIdentifier,
123
-
'Title'
120
+
'Data source'
124
121
);
125
122
126
123
// Confirm we have ds_a in view and not ds_z
@@ -133,7 +130,7 @@ if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
133
130
// Get the datasource table header and click it to sort descending first
134
131
cy.getColumnHeaderByNameAndClickForSorting(
135
132
tableHeadIdentifier,
136
-
'Title'
133
+
'Data source'
137
134
);
138
135
139
136
// Confirm we have ds_z in view and not ds_a
@@ -143,7 +140,7 @@ if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
143
140
// sort to ascending order for next steps
144
141
cy.getColumnHeaderByNameAndClickForSorting(
145
142
tableHeadIdentifier,
146
-
'Title'
143
+
'Data source'
147
144
);
148
145
});
149
146
});
@@ -294,20 +291,16 @@ if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
294
291
});
295
292
});
296
293
describe('Selection & Deletion',()=>{
297
-
it('should not select any rows by default & delete button should be disabled',()=>{
294
+
it('should not select any rows by default & delete button should not exist',()=>{
Copy file name to clipboardExpand all lines: cypress/integration/core-opensearch-dashboards/opensearch-dashboards/datasource-management-plugin/3_update_datasource.spec.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -58,9 +58,7 @@ if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
58
58
});
59
59
60
60
it('should successfully load the listing page & have 2 records in table',()=>{
61
-
cy.contains(
62
-
'Create and manage data source connections to help you retrieve data from multiple OpenSearch compatible sources.'
63
-
);
61
+
cy.contains('Create and manage data source connections.');
0 commit comments