```md
<!-- LoginForm.stories.mdx -->

import { Canvas, Meta, Story } from '@storybook/addon-docs';

import { userEvent, within } from '@storybook/testing-library';

import { expect } from '@storybook/jest';

import LoginForm from './LoginForm.vue';

<Meta title="Form" component={LoginForm} />

export const Template = (args) => ({
  components: { LoginForm },
  setup() {
    return { args };
  },
  template: '<LoginForm @onSubmit="onSubmit" v-bind="args" />',
});

<Canvas>
  <Story name="Empty Form">
    {Template.bind({})}
  </Story>

  <Story
    name="Filled Form"
    play={async ({ canvasElement }) => {
      // Starts querying the component from its root element
      const canvas = within(canvasElement);

      // 👇 Simulate interactions with the component
      await userEvent.type(canvas.getByTestId('email'), 'email@provider.com');

      await userEvent.type(canvas.getByTestId('password'), 'a-random-password');

      // See https://storybook.js.org/docs/vue/essentials/actions#automatically-matching-args to learn how to setup logging in the Actions panel
      await userEvent.click(canvas.getByRole('button'));

      // 👇 Assert DOM structure
      await expect(
        canvas.getByText(
          'Everything is perfect. Your account is ready and we should probably get you started!'
        )
      ).toBeInTheDocument();
    }}>
    {Template.bind({})}
  </Story>
</Canvas>
```