feat(journey-editor): JourneyEditor frontend — issue #753 #792
@@ -386,8 +386,9 @@ describe('JourneyEditor — duplicate document aria-disabled', () => {
|
||||
await userEvent.fill(page.getByRole('combobox'), 'Karl');
|
||||
await new Promise((r) => setTimeout(r, 350));
|
||||
|
||||
// The dropdown item includes the date ("Brief von Karl · …"), the list item does not
|
||||
const option = page
|
||||
.getByText(/Brief von Karl/)
|
||||
.getByText(/Brief von Karl ·/)
|
||||
.element()
|
||||
.closest('li')!;
|
||||
expect(option.getAttribute('aria-disabled')).toBe('true');
|
||||
|
||||
Reference in New Issue
Block a user