mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-28 02:46:09 +00:00
cypress: fix failing cypress test (#10953)
This commit is contained in:
parent
059f53b0da
commit
c45d889d5f
@ -215,12 +215,12 @@ export const NEW_ADMIN = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const NEW_TAG_CATEGORY = {
|
export const NEW_TAG_CATEGORY = {
|
||||||
name: 'TestCategory',
|
name: 'CypressClassification',
|
||||||
description: 'This is the TestCategory',
|
description: 'This is the CypressClassification',
|
||||||
};
|
};
|
||||||
export const NEW_TAG = {
|
export const NEW_TAG = {
|
||||||
name: 'test',
|
name: 'CypressTag',
|
||||||
description: 'This is the Test tag',
|
description: 'This is the CypressTag',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const NEW_GLOSSARY = {
|
export const NEW_GLOSSARY = {
|
||||||
|
@ -297,7 +297,7 @@ describe('Policy page should work properly', () => {
|
|||||||
.click();
|
.click();
|
||||||
|
|
||||||
verifyResponseStatusCode('@updateRule', 200);
|
verifyResponseStatusCode('@updateRule', 200);
|
||||||
cy.reload();
|
verifyResponseStatusCode('@getSelectedPolicy', 200);
|
||||||
|
|
||||||
cy.url().should('include', policyName);
|
cy.url().should('include', policyName);
|
||||||
|
|
||||||
|
@ -351,7 +351,9 @@ describe('Tags page should work', () => {
|
|||||||
.contains(`#${NEW_TAG_CATEGORY.name}.${NEW_TAG.name}`)
|
.contains(`#${NEW_TAG_CATEGORY.name}.${NEW_TAG.name}`)
|
||||||
.should('be.visible');
|
.should('be.visible');
|
||||||
|
|
||||||
cy.get('[data-testid="filter-container-TestCategory.test"]')
|
cy.get(
|
||||||
|
`[data-testid="filter-container-${NEW_TAG_CATEGORY.name}.${NEW_TAG.name}"]`
|
||||||
|
)
|
||||||
.should('be.visible')
|
.should('be.visible')
|
||||||
.find('[data-testid="checkbox"]')
|
.find('[data-testid="checkbox"]')
|
||||||
.should('be.visible')
|
.should('be.visible')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user