@@ -9,7 +9,8 @@ import { Meta } from '@storybook/react';
99import {
1010 Subject ,
1111 createMockSigninOAuthIntegration ,
12- createMockSigninOAuthNativeSyncIntegration , MOCK_CMS_INFO ,
12+ createMockSigninOAuthNativeSyncIntegration ,
13+ MOCK_CMS_INFO ,
1314} from './mocks' ;
1415import { withLocalization } from 'fxa-react/lib/storybooks' ;
1516import { SigninProps } from './interfaces' ;
@@ -78,25 +79,33 @@ export const NoLinkedAccountAndNoPassword = storyWithProps({
7879} ) ;
7980
8081export const SignInToSync = storyWithProps ( {
82+ serviceName : MozServices . FirefoxSync ,
8183 hasLinkedAccount : true ,
8284 hasPassword : true ,
8385 integration : createMockSigninOAuthNativeSyncIntegration ( ) ,
8486} ) ;
8587
88+ export const SignInToSyncNoPassword = storyWithProps ( {
89+ serviceName : MozServices . FirefoxSync ,
90+ hasLinkedAccount : true ,
91+ hasPassword : false ,
92+ integration : createMockSigninOAuthNativeSyncIntegration ( ) ,
93+ } ) ;
94+
8695export const SignInToOAuthDesktopRelay = storyWithProps ( {
8796 integration : createMockSigninOAuthNativeSyncIntegration ( { isSync : false } ) ,
8897} ) ;
8998
9099export const SignInWithCms = storyWithProps ( {
91100 integration : createMockSigninOAuthIntegration ( {
92- cmsInfo : MOCK_CMS_INFO
101+ cmsInfo : MOCK_CMS_INFO ,
93102 } ) ,
94103} ) ;
95104
96105export const SignInWithCmsCachedCredentials = storyWithProps ( {
97106 sessionToken : MOCK_SESSION_TOKEN ,
98107 integration : createMockSigninOAuthIntegration ( {
99108 wantsKeys : false ,
100- cmsInfo : MOCK_CMS_INFO
109+ cmsInfo : MOCK_CMS_INFO ,
101110 } ) ,
102- } ) ;
111+ } ) ;
0 commit comments