```ts // form.component.spec.ts import { render, screen, fireEvent } from '@testing-library/angular'; import { FormComponent } from './LoginForm.component'; import { InvalidForm } from './Form.stories'; //👈 Our stories imported here. test('Checks if the form is valid ', async () => { await render(FormComponent, { componentProperties: InvalidForm.args, }); fireEvent.click(screen.getByText('Submit')); const isFormValid = screen.getByTestId('invalid-form'); expect(isFormValid).toBeInTheDocument(); }); ```