From bc4e5d000bdaa4f3acbd30ae7ca6994820476574 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 4 May 2023 08:53:06 -0400 Subject: [PATCH] update branding test for default WordPress branding update in https://github.com/newfold-labs/wp-module-onboarding/pull/209 --- .../z-newfold-labs/wp-module-onboarding/branding.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cypress/integration/z-newfold-labs/wp-module-onboarding/branding.cy.js b/tests/cypress/integration/z-newfold-labs/wp-module-onboarding/branding.cy.js index 371a2f60a..b08ad928e 100644 --- a/tests/cypress/integration/z-newfold-labs/wp-module-onboarding/branding.cy.js +++ b/tests/cypress/integration/z-newfold-labs/wp-module-onboarding/branding.cy.js @@ -17,13 +17,13 @@ describe( 'Branding', function () { cy.get( '.nfd-step-card-subheading' ).should( 'contain', 'Bluehost' ); } ); - it( 'Has Newfold CSS when mm_brand has an empty value', () => { + it( 'Has default WordPress styles when mm_brand has an empty value', () => { const emptyString = JSON.stringify( '' ); cy.exec( `npx wp-env run cli wp option set mm_brand '${ emptyString }'` ); cy.reload(); - cy.get( 'body' ).should( 'have.class', 'nfd-brand-newfold' ); + cy.get( 'body' ).should( 'have.class', 'nfd-brand-wordpress' ); cy.get( '.is-bg-primary' ) .should( 'have.css', 'background-color', 'rgb(221, 82, 40)' ) .should( 'have.css', 'color', 'rgb(242, 242, 242)' );