mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 18:36:08 +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 = {
|
||||
name: 'TestCategory',
|
||||
description: 'This is the TestCategory',
|
||||
name: 'CypressClassification',
|
||||
description: 'This is the CypressClassification',
|
||||
};
|
||||
export const NEW_TAG = {
|
||||
name: 'test',
|
||||
description: 'This is the Test tag',
|
||||
name: 'CypressTag',
|
||||
description: 'This is the CypressTag',
|
||||
};
|
||||
|
||||
export const NEW_GLOSSARY = {
|
||||
|
@ -297,7 +297,7 @@ describe('Policy page should work properly', () => {
|
||||
.click();
|
||||
|
||||
verifyResponseStatusCode('@updateRule', 200);
|
||||
cy.reload();
|
||||
verifyResponseStatusCode('@getSelectedPolicy', 200);
|
||||
|
||||
cy.url().should('include', policyName);
|
||||
|
||||
|
@ -351,7 +351,9 @@ describe('Tags page should work', () => {
|
||||
.contains(`#${NEW_TAG_CATEGORY.name}.${NEW_TAG.name}`)
|
||||
.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')
|
||||
.find('[data-testid="checkbox"]')
|
||||
.should('be.visible')
|
||||
|
Loading…
x
Reference in New Issue
Block a user