mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 17:04:54 +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(
|
||||
'DELETE',
|
||||
isColumnMetric
|
||||
? `/api/v1/tables/*/customMetric/${metric.column}/${metric.name}`
|
||||
: `/api/v1/tables/*/customMetric/${metric.name}`,
|
||||
? `/api/v1/tables/*/customMetric/${metric.column}/${metric.name}*`
|
||||
: `/api/v1/tables/*/customMetric/${metric.name}*`,
|
||||
'deleteCustomMetric'
|
||||
);
|
||||
visitEntityDetailsPage({
|
||||
|
@ -714,7 +714,7 @@ describe('Data Quality and Profiler should work properly', () => {
|
||||
.contains('Data Quality')
|
||||
.click();
|
||||
|
||||
cy.get(`[data-testid="${testCaseName}"]`).click();
|
||||
cy.get(`[data-testid="${testCaseName}"]`).contains(testCaseName).click();
|
||||
verifyResponseStatusCode('@getTestCaseDetails', 200);
|
||||
cy.wait('@getTestResult').then(() => {
|
||||
cy.get(`[id="${testCaseName}_graph"]`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user