From aa3d20619b81905ca91534ba300087bdf3d4596f Mon Sep 17 00:00:00 2001 From: Michael Lee Date: Thu, 28 Nov 2024 07:22:17 +0100 Subject: [PATCH] Removed genesis theme and support for it --- backstop_data/engine_scripts/mobileMenuThemeSwitch.js | 3 --- src/features/delay-js.feature | 3 +-- src/support/steps/general.ts | 3 --- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/backstop_data/engine_scripts/mobileMenuThemeSwitch.js b/backstop_data/engine_scripts/mobileMenuThemeSwitch.js index 7744b4d..8ede474 100644 --- a/backstop_data/engine_scripts/mobileMenuThemeSwitch.js +++ b/backstop_data/engine_scripts/mobileMenuThemeSwitch.js @@ -8,9 +8,6 @@ module.exports = async (page) => { } switch (theme) { - case 'genesis-sample-develop': - target = '#genesis-mobile-nav-primary'; - break; case 'flatsome': target = '[data-open="#main-menu"]'; break; diff --git a/src/features/delay-js.feature b/src/features/delay-js.feature index b03455d..5647766 100644 --- a/src/features/delay-js.feature +++ b/src/features/delay-js.feature @@ -34,5 +34,4 @@ Feature: No Regression with delayjs script udpate | theme | | astra | | Divi | - | flatsome | - | genesis-sample-develop | \ No newline at end of file + | flatsome | \ No newline at end of file diff --git a/src/support/steps/general.ts b/src/support/steps/general.ts index 08fd834..329ce79 100644 --- a/src/support/steps/general.ts +++ b/src/support/steps/general.ts @@ -239,9 +239,6 @@ When('expand mobile menu', async function (this:ICustomWorld) { } switch (theme) { - case 'genesis-sample-develop': - target = '#genesis-mobile-nav-primary'; - break; case 'flatsome': target = '[data-open="#main-menu"]'; break;