Project

General

Profile

Actions

Bug #30336

closed

Fix timeout issue in React content view test

Added by John Mitsch over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

[2020-07-06T21:18:16.731Z] 240 | fireEvent.change(getByLabelText(/text input for search/i), { target: { value: query } });
[2020-07-06T21:18:16.731Z] 241 |
[2020-07-06T21:18:16.731Z] > 242 | await waitFor(() => expect(getByText(/No matching Content Views found/i)).toBeInTheDocument());
[2020-07-06T21:18:16.731Z] | ^
[2020-07-06T21:18:16.731Z] 243 |
[2020-07-06T21:18:16.731Z] 244 | assertNockRequest(autocompleteScope);
[2020-07-06T21:18:16.731Z] 245 | assertNockRequest(initialScope);
[2020-07-06T21:18:16.731Z]
[2020-07-06T21:18:16.731Z] at waitForWrapper (foreman/node_modules/@testing-library/dom/dist/wait-for.js:134:27)
[2020-07-06T21:18:16.731Z] at callee8$ (webpack/scenes/ContentViews/_tests__/contentViewPage.test.js:242:9)
[2020-07-06T21:18:16.731Z] at tryCatch (foreman/node_modules/regenerator-runtime/runtime.js:45:40)
[2020-07-06T21:18:16.731Z] at Generator.invoke [as invoke] (foreman/node_modules/regenerator-runtime/runtime.js:274:22)
[2020-07-06T21:18:16.731Z] at Generator.prototype.<computed> [as next] (foreman/node_modules/regenerator-runtime/runtime.js:97:21)
[2020-07-06T21:18:16.731Z] at asyncGeneratorStep (webpack/scenes/ContentViews/
_tests__/contentViewPage.tes

Actions

Also available in: Atom PDF