We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1934f75 commit 914c375Copy full SHA for 914c375
src/course-home/progress-tab/grades/grade-summary/GradeSummaryHeader.test.jsx
@@ -38,7 +38,7 @@ describe('GradeSummaryHeader', () => {
38
);
39
};
40
41
- it('opens and closes the tooltip when Escape is pressed', async () => {
+ it('visible the tooltip when Escape is pressed', async () => {
42
renderComponent();
43
44
const iconButton = screen.getByRole('button', {
@@ -50,11 +50,5 @@ describe('GradeSummaryHeader', () => {
50
await waitFor(() => {
51
expect(screen.getByText(messages.gradeSummaryTooltipBody.defaultMessage)).toBeVisible();
52
});
53
-
54
- userEvent.keyboard('{Escape}');
55
56
- await waitFor(() => {
57
- expect(screen.queryByText(messages.gradeSummaryTooltipBody.defaultMessage)).not.toBeInTheDocument();
58
- });
59
60
0 commit comments