You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2023/08/03 23:03:43 UTC
[superset] 11/12: fix test
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch bump_esilnt
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 90fbc39ff0d87ecb4bcbfdb901ff70f04acafe5d
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Wed Aug 2 15:06:42 2023 -0700
fix test
---
superset-frontend/src/pages/SavedQueryList/SavedQueryList.test.jsx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/superset-frontend/src/pages/SavedQueryList/SavedQueryList.test.jsx b/superset-frontend/src/pages/SavedQueryList/SavedQueryList.test.jsx
index 078961466e..1e44fe8c0f 100644
--- a/superset-frontend/src/pages/SavedQueryList/SavedQueryList.test.jsx
+++ b/superset-frontend/src/pages/SavedQueryList/SavedQueryList.test.jsx
@@ -278,9 +278,7 @@ describe('RTL', () => {
userEvent.click(bulkSelectButton);
// Grab and click the "toggle all" checkbox to expose export button
- const selectAllCheckbox = screen.getByRole('checkbox', {
- name: /toggle all/i,
- });
+ const selectAllCheckbox = document.querySelector('#header-toggle-all');
userEvent.click(selectAllCheckbox);
// Grab and assert that export button is visible