From cc67f63785ab9b058e10bc9533323fb6085d1124 Mon Sep 17 00:00:00 2001 From: Katsiaryna Pustakhod Date: Wed, 9 Nov 2022 02:42:10 +0100 Subject: [PATCH] fix: Adds role progressbar to Progress component (#38447) * Add role to progress component * Update snapshots --- .../__snapshots__/components.test.tsx.snap | 7 ++++ .../__snapshots__/demo-extend.test.ts.snap | 35 +++++++++++++++++++ .../__tests__/__snapshots__/demo.test.ts.snap | 35 +++++++++++++++++++ .../__snapshots__/index.test.tsx.snap | 18 ++++++++++ components/progress/progress.tsx | 1 + .../__snapshots__/demo-extend.test.ts.snap | 6 ++++ .../__tests__/__snapshots__/demo.test.ts.snap | 6 ++++ 7 files changed, 108 insertions(+) diff --git a/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap b/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap index 240198aa7e..a3563950ac 100644 --- a/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap +++ b/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap @@ -22170,6 +22170,7 @@ exports[`ConfigProvider components Popover prefixCls 1`] = ` exports[`ConfigProvider components Progress configProvider 1`] = `
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
= (props: ProgressProps) => { 'successPercent', ])} className={classString} + role="progressbar" > {progress}
diff --git a/components/steps/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/steps/__tests__/__snapshots__/demo-extend.test.ts.snap index 73345d4236..82d4bb46a0 100644 --- a/components/steps/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/steps/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -1200,6 +1200,7 @@ Array [ >