Skip to content

Commit ac21a2a

Browse files
committed
Remove broken test
1 parent d168ce0 commit ac21a2a

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

packages/smart-forms-renderer/src/stories/sdc/RenderingOther.stories.tsx

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -60,35 +60,6 @@ export const Required: Story = createStory({
6060
export const RepeatsAutocomplete: Story = createStory({
6161
args: {
6262
questionnaire: qRepeatsAutocomplete
63-
},
64-
play: async ({ canvasElement, step }) => {
65-
await step('Select first repeated value', async () => {
66-
await chooseSelectOption(canvasElement, 'medical-history-repeat', 'Asthma');
67-
});
68-
69-
await step('Add repeated item and select second value', async () => {
70-
await clickAddItem(canvasElement, 'medical-history-repeat');
71-
const questions = await findAllByLinkIdOrLabel(canvasElement, 'medical-history-repeat');
72-
await chooseSelectOption(questions[1], 'medical-history-repeat', 'Hypertension');
73-
});
74-
75-
const answers = await getAnswers('medical-history-repeat');
76-
expect(answers).toEqual([
77-
expect.objectContaining({
78-
valueCoding: expect.objectContaining({
79-
system: 'http://snomed.info/sct',
80-
code: '195967001',
81-
display: 'Asthma'
82-
})
83-
}),
84-
expect.objectContaining({
85-
valueCoding: expect.objectContaining({
86-
system: 'http://snomed.info/sct',
87-
code: '38341003',
88-
display: 'Hypertension'
89-
})
90-
})
91-
]);
9263
}
9364
}) as Story;
9465

0 commit comments

Comments
 (0)