mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 10:26:09 +00:00
Cypress: Fixed failing cypress test in main and glossary search localization (#9730)
This commit is contained in:
parent
3785ea8515
commit
9d08cf7eb9
@ -173,7 +173,6 @@ export const goToAdvanceSearch = () => {
|
||||
.should('exist')
|
||||
.and('be.visible')
|
||||
.click();
|
||||
verifyResponseStatusCode('@explorePage', 200);
|
||||
|
||||
cy.get('[data-testid="tables-tab"]')
|
||||
.scrollIntoView()
|
||||
|
@ -40,7 +40,6 @@ const service_name = MYSQL.serviceName;
|
||||
describe('Advance search should work properly for all fields', () => {
|
||||
beforeEach(() => {
|
||||
cy.login();
|
||||
cy.get('[data-testid="appbar-item-explore"]').and('be.visible').click();
|
||||
});
|
||||
|
||||
it('Pre-requisite for advance search', () => {
|
||||
@ -115,12 +114,15 @@ describe('Advance search should work properly for all fields', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
after(() => {
|
||||
Cypress.session.clearAllSavedSessions();
|
||||
});
|
||||
});
|
||||
|
||||
describe('Advance search should work properly for Add Group functionality', () => {
|
||||
beforeEach(() => {
|
||||
cy.login();
|
||||
cy.get('[data-testid="appbar-item-explore"]').and('be.visible').click();
|
||||
});
|
||||
|
||||
Object.values(OPERATOR).forEach((operator) => {
|
||||
@ -194,12 +196,14 @@ describe('Advance search should work properly for Add Group functionality', () =
|
||||
});
|
||||
});
|
||||
});
|
||||
after(() => {
|
||||
Cypress.session.clearAllSavedSessions();
|
||||
});
|
||||
});
|
||||
|
||||
describe('Advance search should work properly for Add Rule functionality', () => {
|
||||
beforeEach(() => {
|
||||
cy.login();
|
||||
cy.get('[data-testid="appbar-item-explore"]').and('be.visible').click();
|
||||
});
|
||||
|
||||
Object.values(OPERATOR).forEach((operator) => {
|
||||
@ -280,4 +284,8 @@ describe('Advance search should work properly for Add Rule functionality', () =>
|
||||
API_SERVICE.databaseServices
|
||||
);
|
||||
});
|
||||
|
||||
after(() => {
|
||||
Cypress.session.clearAllSavedSessions();
|
||||
});
|
||||
});
|
||||
|
@ -101,11 +101,13 @@ describe('Data Quality and Profiler should work properly', () => {
|
||||
.should('be.visible')
|
||||
.click();
|
||||
cy.intercept('/api/v1/services/ingestionPipelines?*').as('ingestionData');
|
||||
interceptURL('GET', '/api/v1/config/airflow', 'airflow');
|
||||
cy.get(`[data-testid="service-name-${serviceName}"]`)
|
||||
.should('exist')
|
||||
.click();
|
||||
cy.get('[data-testid="tabs"]').should('exist');
|
||||
cy.wait('@ingestionData');
|
||||
verifyResponseStatusCode('@airflow', 200);
|
||||
cy.get('[data-testid="Ingestions"]')
|
||||
.scrollIntoView()
|
||||
.should('be.visible')
|
||||
|
@ -332,8 +332,9 @@ const GlossaryV1 = ({
|
||||
<p className="tw-text-grey-muted tw-text-center">
|
||||
{searchText ? (
|
||||
<span>
|
||||
{t('label.no-glossary-found-for-searchText', {
|
||||
searchText,
|
||||
{t('message.no-entity-found-for-name', {
|
||||
entity: t('label.glossary-term'),
|
||||
name: searchText,
|
||||
})}
|
||||
</span>
|
||||
) : (
|
||||
|
Loading…
x
Reference in New Issue
Block a user