Skip to content

Commit

Permalink
Fix failing address pattern tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaab committed Apr 4, 2024
1 parent 94e9ebf commit 5959d97
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const FormEditAddPattern: StoryObj<typeof FormEdit> = {
// Get the initial count of inputs
const initialCount = (await canvas.getAllByRole('textbox')).length;

const select = canvas.getByLabelText('Add a pattern:');
const select = canvas.getByLabelText('Add a pattern');
await userEvent.selectOptions(select, 'Text input');

const finalCount = (await canvas.getAllByRole('textbox')).length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
* @vitest-environment jsdom
*/
import { describeStories } from '../../../test-helper';
import meta, * as stories from './CreateNew.stories';
import meta, * as stories from './PDFFileSelect.stories';

describeStories(meta.title, stories);
Empty file.
Empty file.
Empty file.

0 comments on commit 5959d97

Please sign in to comment.