mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 03:57:09 +00:00
feat(replay-ui): add data-testid hooks the dogfood spec drives
This commit is contained in:
1 parent
f1974e9f88
commit
c5b221fe3b
5 files changed
+30
-3
No files matched your search
@@ -65,6 +65,7 @@ export default function Tabs({ tabs, defaultTabId, ariaLabel }: TabsProps) {
|
||||
<div className="tabs">
|
||||
<div
|
||||
className="tabs-header"
|
||||
data-testid="tab-strip"
|
||||
role="tablist"
|
||||
aria-label={ariaLabel}
|
||||
onKeyDown={handleKeyDown}
|
||||
@@ -82,6 +83,8 @@ export default function Tabs({ tabs, defaultTabId, ariaLabel }: TabsProps) {
|
||||
}
|
||||
}}
|
||||
type="button"
|
||||
data-testid="tab"
|
||||
data-tab-id={tab.id}
|
||||
role="tab"
|
||||
id={`${panelId}-tab-${tab.id}`}
|
||||
className="tabs-tab"
|
||||
|
||||
Reference in new issue
Block a user