mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-05 12:07:10 +00:00
update color input data testid for cypress tests (#15863)
* update color input data testid for cypress tests * Update color input selector in Tags.spec.ts
This commit is contained in:
parent
8fc4319f64
commit
8e25ce817e
@ -236,7 +236,7 @@ const fillGlossaryTermDetails = (term, glossary, isMutually = false) => {
|
||||
cy.get('[data-testid="icon-url"]').scrollIntoView().type(term.icon);
|
||||
}
|
||||
if (term.color) {
|
||||
cy.get('[data-testid="root/color-color-input"]')
|
||||
cy.get('[data-testid="color-color-input"]')
|
||||
.scrollIntoView()
|
||||
.type(term.color);
|
||||
}
|
||||
|
||||
@ -258,7 +258,7 @@ const fillGlossaryTermDetails = (term, glossary, isMutually = false) => {
|
||||
cy.get('[data-testid="icon-url"]').scrollIntoView().type(term.icon);
|
||||
}
|
||||
if (term.color) {
|
||||
cy.get('[data-testid="root/color-color-input"]')
|
||||
cy.get('[data-testid="color-color-input"]')
|
||||
.scrollIntoView()
|
||||
.type(term.color);
|
||||
}
|
||||
|
||||
@ -171,7 +171,7 @@ describe('Classification Page', { tags: 'Governance' }, () => {
|
||||
cy.get(descriptionBox).should('be.visible').type(NEW_TAG.description);
|
||||
|
||||
cy.get('[data-testid="icon-url"]').scrollIntoView().type(NEW_TAG.icon);
|
||||
cy.get('[data-testid="root/color-color-input"]')
|
||||
cy.get('[data-testid="tags_color-color-input"]')
|
||||
.scrollIntoView()
|
||||
.type(NEW_TAG.color);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user