Skip to content

Commit

Permalink
fix hooks
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Silva <[email protected]>
  • Loading branch information
silvaf-dev committed Jan 31, 2025
1 parent 7b6961f commit c90d707
Showing 1 changed file with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const workspace = getRandomizedWorkspaceName();
const datasource = getRandomizedDatasourceName();

describe('histogram interaction', { testIsolation: true }, () => {
before(() => {
beforeEach(() => {
// Load test data
cy.setupTestData(
SECONDARY_ENGINE.url,
Expand Down Expand Up @@ -60,17 +60,7 @@ describe('histogram interaction', { testIsolation: true }, () => {
cy.getElementByTestId(NEW_SEARCH_BUTTON).click();
});

beforeEach(() => {
cy.navigateToWorkSpaceSpecificPage({
url: BASE_PATH,
workspaceName: workspace,
page: 'discover',
isEnhancement: true,
});
cy.getElementByTestId(NEW_SEARCH_BUTTON).click();
});

after(() => {
afterEach(() => {
cy.deleteWorkspaceByName(workspace);
cy.deleteDataSourceByName(datasource);
// TODO: Modify deleteIndex to handle an array of index and remove hard code
Expand Down

0 comments on commit c90d707

Please sign in to comment.