diff --git a/cypress/integration/plugins/dashboards-assistant/conversation_chatbot_save_to_notebook_spec.js b/cypress/integration/plugins/dashboards-assistant/conversation_chatbot_save_to_notebook_spec.js index ef3342fea..de6e6fb32 100644 --- a/cypress/integration/plugins/dashboards-assistant/conversation_chatbot_save_to_notebook_spec.js +++ b/cypress/integration/plugins/dashboards-assistant/conversation_chatbot_save_to_notebook_spec.js @@ -12,7 +12,6 @@ const FINAL_ANSWER = if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { describe('Assistant conversation save to notebook spec', () => { let restoreShowHome; - let restoreNewThemeModal; let restoreTenantSwitchModal; beforeEach(() => { @@ -22,12 +21,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { 'home:welcome:show', 'false' ); - // Hide new theme modal - restoreNewThemeModal = setStorageItem( - localStorage, - 'home:newThemeModal:show', - 'false' - ); restoreTenantSwitchModal = setStorageItem( sessionStorage, 'opendistro::security::tenant::show_popup', @@ -57,9 +50,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { if (restoreShowHome) { restoreShowHome(); } - if (restoreNewThemeModal) { - restoreNewThemeModal(); - } if (restoreTenantSwitchModal) { restoreTenantSwitchModal(); } diff --git a/cypress/integration/plugins/dashboards-assistant/mds_chatbot_agent_framework_spec.js b/cypress/integration/plugins/dashboards-assistant/mds_chatbot_agent_framework_spec.js index a9e446dbb..467989fb2 100644 --- a/cypress/integration/plugins/dashboards-assistant/mds_chatbot_agent_framework_spec.js +++ b/cypress/integration/plugins/dashboards-assistant/mds_chatbot_agent_framework_spec.js @@ -10,8 +10,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { cy.setDefaultDataSourceForAssistant(); // Set welcome screen tracking to false localStorage.setItem('home:welcome:show', 'false'); - // Set new theme modal to false - localStorage.setItem('home:newThemeModal:show', 'false'); }); after(() => { diff --git a/cypress/integration/plugins/dashboards-assistant/mds_chatbot_conversation_history_spec.js b/cypress/integration/plugins/dashboards-assistant/mds_chatbot_conversation_history_spec.js index 15b3472b8..1501a9230 100644 --- a/cypress/integration/plugins/dashboards-assistant/mds_chatbot_conversation_history_spec.js +++ b/cypress/integration/plugins/dashboards-assistant/mds_chatbot_conversation_history_spec.js @@ -8,7 +8,6 @@ import { setStorageItem } from '../../../utils/plugins/dashboards-assistant/help if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { describe('Assistant conversation history spec', () => { let restoreShowHome; - let restoreNewThemeModal; let dataSourceId; before(() => { @@ -21,12 +20,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { 'home:welcome:show', 'false' ); - // Hide new theme modal - restoreNewThemeModal = setStorageItem( - localStorage, - 'home:newThemeModal:show', - 'false' - ); // Visit OSD cy.visit(`${BASE_PATH}/app/home`); @@ -38,9 +31,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { if (restoreShowHome) { restoreShowHome(); } - if (restoreNewThemeModal) { - restoreNewThemeModal(); - } // Close assistant flyout cy.get('button[aria-label="toggle chat flyout icon"]').click(); }); diff --git a/cypress/integration/plugins/dashboards-assistant/mds_chatbot_feedback_spec.js b/cypress/integration/plugins/dashboards-assistant/mds_chatbot_feedback_spec.js index 13daa1779..c4e9c67ab 100644 --- a/cypress/integration/plugins/dashboards-assistant/mds_chatbot_feedback_spec.js +++ b/cypress/integration/plugins/dashboards-assistant/mds_chatbot_feedback_spec.js @@ -10,8 +10,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { cy.setDefaultDataSourceForAssistant(); // Set welcome screen tracking to false localStorage.setItem('home:welcome:show', 'false'); - // Set new theme modal to false - localStorage.setItem('home:newThemeModal:show', 'false'); }); beforeEach(() => { @@ -27,7 +25,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { after(() => { cy.clearDataSourceForAssistant(); localStorage.removeItem('home:welcome:show'); - localStorage.removeItem('home:newThemeModal:show'); }); describe('conversation feedback', () => { diff --git a/cypress/integration/plugins/dashboards-assistant/mds_chatbot_interaction_trace_spec.js b/cypress/integration/plugins/dashboards-assistant/mds_chatbot_interaction_trace_spec.js index 3c828cac6..af74f3d1c 100644 --- a/cypress/integration/plugins/dashboards-assistant/mds_chatbot_interaction_trace_spec.js +++ b/cypress/integration/plugins/dashboards-assistant/mds_chatbot_interaction_trace_spec.js @@ -11,8 +11,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { cy.setDefaultDataSourceForAssistant(); // Set welcome screen tracking to false localStorage.setItem('home:welcome:show', 'false'); - // Set new theme modal to false - localStorage.setItem('home:newThemeModal:show', 'false'); cy.visit(`${BASE_PATH}/app/home`); // cy.waitForLoader(); @@ -34,7 +32,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { after(() => { cy.clearDataSourceForAssistant(); localStorage.removeItem('home:welcome:show'); - localStorage.removeItem('home:newThemeModal:show'); }); describe('Trace page', () => { diff --git a/cypress/integration/plugins/dashboards-assistant/mds_chatbot_sidecar_spec.js b/cypress/integration/plugins/dashboards-assistant/mds_chatbot_sidecar_spec.js index 3cd3342be..b1e203c0f 100644 --- a/cypress/integration/plugins/dashboards-assistant/mds_chatbot_sidecar_spec.js +++ b/cypress/integration/plugins/dashboards-assistant/mds_chatbot_sidecar_spec.js @@ -9,8 +9,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { beforeEach(() => { // Set welcome screen tracking to false localStorage.setItem('home:welcome:show', 'false'); - // Set new theme modal to false - localStorage.setItem('home:newThemeModal:show', 'false'); }); beforeEach(() => { diff --git a/cypress/integration/plugins/dashboards-assistant/mds_query_enhancements_chatbot_spec.js b/cypress/integration/plugins/dashboards-assistant/mds_query_enhancements_chatbot_spec.js index 4feba206a..d9cf2a6c2 100644 --- a/cypress/integration/plugins/dashboards-assistant/mds_query_enhancements_chatbot_spec.js +++ b/cypress/integration/plugins/dashboards-assistant/mds_query_enhancements_chatbot_spec.js @@ -67,8 +67,6 @@ function addChatbotTestCase(url) { beforeEach(() => { // Set welcome screen tracking to false localStorage.setItem('home:welcome:show', 'false'); - // Set new theme modal to false - localStorage.setItem('home:newThemeModal:show', 'false'); const workspacePrefix = workspaceId ? `/w/${workspaceId}` : ''; cy.intercept('POST', `${workspacePrefix}/api/assistant/send_message*`).as( 'sendMessage' diff --git a/cypress/integration/plugins/security-dashboards-plugin/change_tenant_successfully.js b/cypress/integration/plugins/security-dashboards-plugin/change_tenant_successfully.js index 00c972c0c..2eddd2bff 100644 --- a/cypress/integration/plugins/security-dashboards-plugin/change_tenant_successfully.js +++ b/cypress/integration/plugins/security-dashboards-plugin/change_tenant_successfully.js @@ -13,7 +13,6 @@ if (Cypress.env('SECURITY_ENABLED')) { before(() => { cy.server(); localStorage.setItem('home:welcome:show', false); - localStorage.setItem('home:newThemeModal:show', false); }); it('Checks that the tenant switcher can switch tenants despite a different tenant being present in the tenant query parameter.', function () { CURRENT_TENANT.newTenant = tenantName; diff --git a/cypress/integration/plugins/security-dashboards-plugin/readonly.js b/cypress/integration/plugins/security-dashboards-plugin/readonly.js index b840725f4..32567c264 100644 --- a/cypress/integration/plugins/security-dashboards-plugin/readonly.js +++ b/cypress/integration/plugins/security-dashboards-plugin/readonly.js @@ -61,7 +61,6 @@ if (Cypress.env('SECURITY_ENABLED')) { 'opendistro::security::tenant::saved', `"${TEST_CONFIG.tenant.name}"` ); - window.localStorage.setItem('home:newThemeModal:show', false); window.localStorage.setItem('home:welcome:show', false); }, });