-
- Downloads
Fix - Flaky QueryBuilder tests (#38860)
* Use fetchMock.flush() to prevent tests from interfering with each other * Revert "Use fetchMock.flush() to prevent tests from interfering with each other" This reverts commit 03f1277cf2bf481ac36db212e15b4f29511a386b. * Add typing for requests in the redux store * Fix QueryBuilder flakes by introducing waitForLoadingRequests * Simplify interface * Add mocks for requests in redux store, update types * Simplify code * Increase timeout
Showing
- enterprise/frontend/src/metabase-enterprise/advanced_permissions/types.ts 2 additions, 2 deletions...end/src/metabase-enterprise/advanced_permissions/types.ts
- enterprise/frontend/src/metabase-enterprise/sandboxes/types.ts 2 additions, 2 deletions...prise/frontend/src/metabase-enterprise/sandboxes/types.ts
- frontend/src/metabase-types/store/index.ts 2 additions, 1 deletionfrontend/src/metabase-types/store/index.ts
- frontend/src/metabase-types/store/mocks/requests.ts 8 additions, 0 deletionsfrontend/src/metabase-types/store/mocks/requests.ts
- frontend/src/metabase-types/store/mocks/state.ts 2 additions, 0 deletionsfrontend/src/metabase-types/store/mocks/state.ts
- frontend/src/metabase-types/store/requests.ts 18 additions, 1 deletionfrontend/src/metabase-types/store/requests.ts
- frontend/src/metabase-types/store/state.ts 2 additions, 0 deletionsfrontend/src/metabase-types/store/state.ts
- frontend/src/metabase/dashboard/actions/cards.unit.spec.ts 0 additions, 1 deletionfrontend/src/metabase/dashboard/actions/cards.unit.spec.ts
- frontend/src/metabase/query_builder/containers/test-utils.tsx 26 additions, 2 deletions...tend/src/metabase/query_builder/containers/test-utils.tsx
Loading
Please register or sign in to comment