Skip to content

Commit

Permalink
delete un-used mock and its reference
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeetha-nayak committed Apr 3, 2024
1 parent 16c998a commit eac04bb
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import { AdminBarCheck, DarkBGCheck, LightBGCheck, ProgressBarCheck } from "../wp-module-support/siteGen.cy";
import { apiList } from "../wp-module-support/MockApi.cy";
const homepage_regenerate_mock = require('../../fixtures/homepage-regenerate.json')

describe( 'SiteGen Site Preview Step', function () {
before( () => {
Expand Down Expand Up @@ -56,13 +55,6 @@ describe( 'SiteGen Site Preview Step', function () {
} );

it.skip( 'Check for regenerating the new theme versions', () => {
cy.intercept(apiList.homepagesRegenerate, {
statusCode: 200,
body: homepage_regenerate_mock,
headers: {
'content-type': 'application/json',
},
}).as('regenerate')
cy.get('[aria-label="Regenerate Content"]', {timeout:20000})
.eq(1)
.wait(1000)
Expand Down

0 comments on commit eac04bb

Please sign in to comment.