mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 09:22:14 +00:00
cypress: fixed cypress AUT failure for custom metric & data quality (#15025)
This commit is contained in:
parent
3055b8bf46
commit
c76c82637a
@ -204,8 +204,8 @@ const deleteCustomMetric = ({
|
|||||||
interceptURL(
|
interceptURL(
|
||||||
'DELETE',
|
'DELETE',
|
||||||
isColumnMetric
|
isColumnMetric
|
||||||
? `/api/v1/tables/*/customMetric/${metric.column}/${metric.name}`
|
? `/api/v1/tables/*/customMetric/${metric.column}/${metric.name}*`
|
||||||
: `/api/v1/tables/*/customMetric/${metric.name}`,
|
: `/api/v1/tables/*/customMetric/${metric.name}*`,
|
||||||
'deleteCustomMetric'
|
'deleteCustomMetric'
|
||||||
);
|
);
|
||||||
visitEntityDetailsPage({
|
visitEntityDetailsPage({
|
||||||
|
@ -714,7 +714,7 @@ describe('Data Quality and Profiler should work properly', () => {
|
|||||||
.contains('Data Quality')
|
.contains('Data Quality')
|
||||||
.click();
|
.click();
|
||||||
|
|
||||||
cy.get(`[data-testid="${testCaseName}"]`).click();
|
cy.get(`[data-testid="${testCaseName}"]`).contains(testCaseName).click();
|
||||||
verifyResponseStatusCode('@getTestCaseDetails', 200);
|
verifyResponseStatusCode('@getTestCaseDetails', 200);
|
||||||
cy.wait('@getTestResult').then(() => {
|
cy.wait('@getTestResult').then(() => {
|
||||||
cy.get(`[id="${testCaseName}_graph"]`)
|
cy.get(`[id="${testCaseName}_graph"]`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user