Skip to content

Commit

Permalink
Merge pull request #597 from newfold-labs/PRESS0-1754
Browse files Browse the repository at this point in the history
PRESS0-1754: Remove Social Connect Step
  • Loading branch information
officiallygod authored Jul 24, 2024
2 parents 6354d9d + e3a7003 commit 08d977a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 11 deletions.
7 changes: 1 addition & 6 deletions src/OnboardingSPA/chapters/siteGen/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ import { CHAPTER_SITEGEN_CORE } from '../../../constants';
import { Chapter } from '../../data/models/Chapter';
import { stepSiteGenSiteDetails } from '../../steps/SiteGen/SiteDetails/step';
import { stepSiteGenSiteLogo } from '../../steps/SiteGen/SiteLogo/step';
import { stepSiteGenSocialMedia } from '../../steps/SiteGen/SocialMedia/step';

const steps = [
stepSiteGenSiteDetails,
stepSiteGenSocialMedia,
stepSiteGenSiteLogo,
];
const steps = [ stepSiteGenSiteDetails, stepSiteGenSiteLogo ];

export const siteGenCore = new Chapter( {
id: CHAPTER_SITEGEN_CORE,
Expand Down
2 changes: 0 additions & 2 deletions src/OnboardingSPA/chapters/sitegen.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ import { Chapter } from '../data/models/Chapter';
import { __ } from '@wordpress/i18n';
import { stepSiteGenSiteDetails } from '../steps/SiteGen/SiteDetails/step';
import { stepSiteGenSiteLogo } from '../steps/SiteGen/SiteLogo/step';
import { stepSiteGenSocialMedia } from '../steps/SiteGen/SocialMedia/step';
import { stepSiteGenExperience } from '../steps/SiteGen/Experience/step';
import { stepSiteGenPreview } from '../steps/SiteGen/Preview/step';
import { stepSiteGenEditor } from '../steps/SiteGen/Editor/step';

const steps = [
stepSiteGenSiteDetails,
stepSiteGenSocialMedia,
stepSiteGenSiteLogo,
stepSiteGenExperience,
stepSiteGenPreview,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe( 'SiteGen Site Logo Step', function () {
} );

it( 'Check the Progress Bar Value', () => {
ProgressBarCheck( '33.3333%' );
ProgressBarCheck( '20%' );
} );

it.skip( 'Check for back button and go back', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe( 'SiteGen Experience & Site Building Step', function () {
} );

it( 'Check the Progress Bar Value', () => {
ProgressBarCheck( '50%' );
ProgressBarCheck( '40%' );
} );

it( 'Check for the existence & the count of experience level cards', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe( 'SiteGen Site Preview Step', function () {
} );

it( 'Check the Progress Bar Value', () => {
ProgressBarCheck( '66.6667%' );
ProgressBarCheck( '60%' );
} );

it( 'Check for by default 3 versions should be there', () => {
Expand Down

0 comments on commit 08d977a

Please sign in to comment.