mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 18:36:08 +00:00
fix(cypress): domain & glossary spec (#17162)
This commit is contained in:
parent
8ae4fc83a5
commit
539e676e29
@ -226,6 +226,8 @@ const fillForm = (formObj, type) => {
|
||||
|
||||
cy.get('[data-testid="add-experts"]').scrollIntoView().click();
|
||||
verifyResponseStatusCode('@getUsers', 200);
|
||||
cy.get('[data-testid="loader"]').should('not.exist');
|
||||
|
||||
interceptURL(
|
||||
'GET',
|
||||
`api/v1/search/query?q=*${encodeURI(formObj.experts)}*`,
|
||||
|
@ -113,11 +113,12 @@ export const addOwner = (
|
||||
};
|
||||
|
||||
export const updateOwner = (ownerName: string, dataTestId?: string) => {
|
||||
interceptURL('GET', '/api/v1/users?*isBot=false*', 'getUsers');
|
||||
cy.get('[data-testid="edit-owner"]').click();
|
||||
cy.get("[data-testid='select-owner-tabs']").should('be.visible');
|
||||
cy.log('/api/v1/users?limit=*&isBot=false*');
|
||||
cy.get('.ant-tabs [id*=tab-users]').click();
|
||||
|
||||
|
||||
verifyResponseStatusCode('@getUsers', 200);
|
||||
interceptURL(
|
||||
'GET',
|
||||
`api/v1/search/query?q=*${encodeURI(ownerName)}*&index=user_search_index`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user