Implement Authentication with email + password (#343)
* Implement Login screen ui and add RequireNotAuth guard * Perform login through auth/password-login flow
This commit is contained in:
22
front/src/pages/auth/__stories__/PasswordLogin.stories.tsx
Normal file
22
front/src/pages/auth/__stories__/PasswordLogin.stories.tsx
Normal file
@ -0,0 +1,22 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react';
|
||||
|
||||
import { graphqlMocks } from '~/testing/graphqlMocks';
|
||||
import { getRenderWrapperForPage } from '~/testing/renderWrappers';
|
||||
|
||||
import { PasswordLogin } from '../PasswordLogin';
|
||||
|
||||
const meta: Meta<typeof PasswordLogin> = {
|
||||
title: 'Pages/Auth/PasswordLogin',
|
||||
component: PasswordLogin,
|
||||
};
|
||||
|
||||
export default meta;
|
||||
|
||||
export type Story = StoryObj<typeof PasswordLogin>;
|
||||
|
||||
export const Default: Story = {
|
||||
render: getRenderWrapperForPage(<PasswordLogin />, '/auth/password-login'),
|
||||
parameters: {
|
||||
msw: graphqlMocks,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user