This is an automated email from the ASF dual-hosted git repository.

enzomartellucci pushed a commit to branch 
enxdev/refactor/migrate-Breadcrumb-to-antd5
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to 
refs/heads/enxdev/refactor/migrate-Breadcrumb-to-antd5 by this push:
     new 7ad6f62f7c lint fix
7ad6f62f7c is described below

commit 7ad6f62f7c52385b68a1d24644501d2dc705416a
Author: Enzo Martellucci <[email protected]>
AuthorDate: Wed Apr 9 11:56:21 2025 +0200

    lint fix
---
 superset-frontend/src/components/Chart/DrillBy/DrillByModal.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/superset-frontend/src/components/Chart/DrillBy/DrillByModal.tsx 
b/superset-frontend/src/components/Chart/DrillBy/DrillByModal.tsx
index 46b759015c..92fc97dabd 100644
--- a/superset-frontend/src/components/Chart/DrillBy/DrillByModal.tsx
+++ b/superset-frontend/src/components/Chart/DrillBy/DrillByModal.tsx
@@ -479,9 +479,12 @@ export default function DrillByModal({
           itemRender={(route, _, routes, paths) => {
             const isLastElement = routes.indexOf(route) === routes.length - 1;
             return isLastElement ? (
-              <span>{route.title}</span>
+              <span data-test="drill-by-breadcrumb-item">{route.title}</span>
             ) : (
               <span
+                data-test="drill-by-breadcrumb-item"
+                role="button"
+                tabIndex={0}
                 onClick={route.onClick}
                 css={css`
                   cursor: pointer;

Reply via email to