mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 09:22:14 +00:00
Fix cypress for tags (#10569)
This commit is contained in:
parent
8a5b54aebb
commit
202a6a2388
@ -160,6 +160,8 @@ describe('Tags page should work', () => {
|
|||||||
const entity = SEARCH_ENTITY_TABLE.table_2;
|
const entity = SEARCH_ENTITY_TABLE.table_2;
|
||||||
const term = `${NEW_TAG_CATEGORY.name}.${NEW_TAG.name}`;
|
const term = `${NEW_TAG_CATEGORY.name}.${NEW_TAG.name}`;
|
||||||
const term2 = 'PersonalData.Personal';
|
const term2 = 'PersonalData.Personal';
|
||||||
|
const assignee = 'admin';
|
||||||
|
|
||||||
visitEntityDetailsPage(entity.term, entity.serviceName, entity.entity);
|
visitEntityDetailsPage(entity.term, entity.serviceName, entity.entity);
|
||||||
|
|
||||||
cy.get('[data-testid="breadcrumb-link"]')
|
cy.get('[data-testid="breadcrumb-link"]')
|
||||||
@ -199,6 +201,15 @@ describe('Tags page should work', () => {
|
|||||||
.should('exist')
|
.should('exist')
|
||||||
.click();
|
.click();
|
||||||
|
|
||||||
|
// set assignees for task
|
||||||
|
cy.get(
|
||||||
|
'[data-testid="select-assignee"] > .ant-select-selector > .ant-select-selection-overflow'
|
||||||
|
)
|
||||||
|
.should('be.visible')
|
||||||
|
.click()
|
||||||
|
.type(assignee);
|
||||||
|
cy.get('.ant-select-item-option-content').contains(assignee).click();
|
||||||
|
|
||||||
cy.get(
|
cy.get(
|
||||||
'[data-testid="select-tags"] > .ant-select-selector > .ant-select-selection-overflow'
|
'[data-testid="select-tags"] > .ant-select-selector > .ant-select-selection-overflow'
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user