@@ -18,8 +18,6 @@ import Meta, {
1818 LandingRedesignUs ,
1919 LandingRedesignUsDisableOneRepScans ,
2020 LandingRedesignUsScanLimit ,
21- LandingRedesignUsScanLimitWithPrivacyProductBundle ,
22- LandingRedesignUsWithPrivacyProductBundle ,
2321} from "./LandingViewRedesign.stories" ;
2422import { useTelemetry as useTelemetryImported } from "../../../../hooks/useTelemetry" ;
2523import { deleteAllCookies } from "../../../../functions/client/deleteAllCookies" ;
@@ -260,21 +258,15 @@ describe("FAQ", () => {
260258
261259describe ( "Pricing plan" , ( ) => {
262260 it ( "passes the axe accessibility test suite" , async ( ) => {
263- const ComposedLanding = composeStory (
264- LandingRedesignUsWithPrivacyProductBundle ,
265- Meta ,
266- ) ;
261+ const ComposedLanding = composeStory ( LandingRedesignUs , Meta ) ;
267262 const { container } = render ( < ComposedLanding /> ) ;
268263 expect ( await axe ( container ) ) . toHaveNoViolations ( ) ;
269264 } , 10_000 ) ;
270265
271266 it ( "can initiate sign in from the Monitor (free) pricing card" , async ( ) => {
272267 const user = userEvent . setup ( ) ;
273268
274- const ComposedDashboard = composeStory (
275- LandingRedesignUsWithPrivacyProductBundle ,
276- Meta ,
277- ) ;
269+ const ComposedDashboard = composeStory ( LandingRedesignUs , Meta ) ;
278270 render ( < ComposedDashboard /> ) ;
279271 const freeCard = screen . getByLabelText ( "Monitor" ) ;
280272
@@ -290,10 +282,7 @@ describe("Pricing plan", () => {
290282
291283 it ( "counts the number of clicks on the pricing plan free tier button" , async ( ) => {
292284 const mockedRecord = useTelemetry ( ) ;
293- const ComposedDashboard = composeStory (
294- LandingRedesignUsWithPrivacyProductBundle ,
295- Meta ,
296- ) ;
285+ const ComposedDashboard = composeStory ( LandingRedesignUs , Meta ) ;
297286 render ( < ComposedDashboard /> ) ;
298287
299288 const user = userEvent . setup ( ) ;
@@ -314,10 +303,7 @@ describe("Pricing plan", () => {
314303
315304 it ( "counts the number of clicks on the pricing plan upsell button" , async ( ) => {
316305 const mockedRecord = useTelemetry ( ) ;
317- const ComposedDashboard = composeStory (
318- LandingRedesignUsWithPrivacyProductBundle ,
319- Meta ,
320- ) ;
306+ const ComposedDashboard = composeStory ( LandingRedesignUs , Meta ) ;
321307 render ( < ComposedDashboard /> ) ;
322308
323309 const user = userEvent . setup ( ) ;
@@ -342,10 +328,7 @@ describe("Pricing plan", () => {
342328
343329 it ( "counts the number of clicks on the pricing card Plus upsell button" , async ( ) => {
344330 const mockedRecord = useTelemetry ( ) ;
345- const ComposedDashboard = composeStory (
346- LandingRedesignUsWithPrivacyProductBundle ,
347- Meta ,
348- ) ;
331+ const ComposedDashboard = composeStory ( LandingRedesignUs , Meta ) ;
349332 render ( < ComposedDashboard /> ) ;
350333
351334 const user = userEvent . setup ( ) ;
@@ -370,10 +353,7 @@ describe("Pricing plan", () => {
370353
371354 it ( "counts the number of clicks on the pricing card free button" , async ( ) => {
372355 const mockedRecord = useTelemetry ( ) ;
373- const ComposedDashboard = composeStory (
374- LandingRedesignUsWithPrivacyProductBundle ,
375- Meta ,
376- ) ;
356+ const ComposedDashboard = composeStory ( LandingRedesignUs , Meta ) ;
377357 render ( < ComposedDashboard /> ) ;
378358
379359 const user = userEvent . setup ( ) ;
@@ -393,10 +373,7 @@ describe("Pricing plan", () => {
393373 } ) ;
394374
395375 it ( "confirms that the pricing card monthly upsell has the correct link for SubPlat2" , async ( ) => {
396- const ComposedStory = composeStory (
397- LandingRedesignUsWithPrivacyProductBundle ,
398- Meta ,
399- ) ;
376+ const ComposedStory = composeStory ( LandingRedesignUs , Meta ) ;
400377 render ( < ComposedStory /> ) ;
401378
402379 const plusCard = screen . getByLabelText ( "Monitor Plus" ) ;
@@ -415,17 +392,10 @@ describe("Pricing plan", () => {
415392 } ) ;
416393
417394 it ( "confirms that the pricing card monthly upsell has the correct link for SubPlat3" , async ( ) => {
418- const ComposedStory = composeStory (
419- LandingRedesignUsWithPrivacyProductBundle ,
420- Meta ,
421- ) ;
395+ const ComposedStory = composeStory ( LandingRedesignUs , Meta ) ;
422396 render (
423397 < ComposedStory
424- enabledFeatureFlags = { [
425- "LandingPageRedesign" ,
426- "PrivacyProductsBundle" ,
427- "SubPlat3" ,
428- ] }
398+ enabledFeatureFlags = { [ "LandingPageRedesign" , "SubPlat3" ] }
429399 /> ,
430400 ) ;
431401
@@ -492,10 +462,7 @@ describe("Scan limit reached", () => {
492462 } ) ) ,
493463 } ) ,
494464 ) ;
495- const ComposedDashboard = composeStory (
496- LandingRedesignUsScanLimitWithPrivacyProductBundle ,
497- Meta ,
498- ) ;
465+ const ComposedDashboard = composeStory ( LandingRedesignUsScanLimit , Meta ) ;
499466 render ( < ComposedDashboard /> ) ;
500467
501468 await waitFor ( ( ) => {
0 commit comments