Skip to content

Commit

Permalink
simplify notes accordion test (apache#27757)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbovenzi authored Nov 17, 2022
1 parent 5004dac commit edf3ce6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions airflow/www/static/js/dag/details/NotesAccordion.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ describe('Test DagRun / Task Instance Notes', () => {
);

await waitFor(() => expect(getByText('Add Note')).toBeVisible());

const accordion = getByText('DAG Run Notes:');

fireEvent.click(accordion);
await waitFor(() => expect(getByText('Add Note')).not.toBeVisible());
});

test('With initial value, accordion is open. And update button changed', () => {
Expand Down

0 comments on commit edf3ce6

Please sign in to comment.