Skip to content

Commit f958621

Browse files
authored
fix(progress-bar): rename example story to determinate (#20526)
* fix: rename example to determinate * fix(ci): update avt/vrt tests
1 parent ad99a86 commit f958621

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

e2e/components/ProgressBar/ProgressBar-test.avt.e2e.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright IBM Corp. 2016, 2023
2+
* Copyright IBM Corp. 2016, 2025
33
*
44
* This source code is licensed under the Apache-2.0 license found in the
55
* LICENSE file in the root directory of this source tree.
@@ -33,15 +33,15 @@ test.describe('@avt ProgressBar', () => {
3333
await expect(page).toHaveNoACViolations('ProgressBar indeterminate');
3434
});
3535

36-
test('@avt-advanced-states ProgressBar example', async ({ page }) => {
36+
test('@avt-advanced-states ProgressBar determinate', async ({ page }) => {
3737
await visitStory(page, {
3838
component: 'ProgressBar',
39-
id: 'components-progressbar--example',
39+
id: 'components-progressbar--determinate',
4040
globals: {
4141
theme: 'white',
4242
},
4343
});
44-
await expect(page).toHaveNoACViolations('ProgressBar example');
44+
await expect(page).toHaveNoACViolations('ProgressBar determinate');
4545
});
4646

4747
test('@avt-advanced-states ProgressBar layer', async ({ page }) => {

e2e/components/ProgressBar/ProgressBar-test.e2e.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright IBM Corp. 2016, 2023
2+
* Copyright IBM Corp. 2016, 2025
33
*
44
* This source code is licensed under the Apache-2.0 license found in the
55
* LICENSE file in the root directory of this source tree.
@@ -30,10 +30,10 @@ test.describe('ProgressBar', () => {
3030
});
3131
});
3232

33-
test('example @vrt', async ({ page }) => {
33+
test('determinate @vrt', async ({ page }) => {
3434
await snapshotStory(page, {
3535
component: 'ProgressBar',
36-
id: 'components-progressbar--example',
36+
id: 'components-progressbar--determinate',
3737
theme,
3838
});
3939
});

packages/react/src/components/ProgressBar/ProgressBar.stories.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright IBM Corp. 2021
2+
* Copyright IBM Corp. 2021, 2025
33
*
44
* This source code is licensed under the Apache-2.0 license found in the
55
* LICENSE file in the root directory of this source tree.
@@ -53,7 +53,7 @@ export const Indeterminate = () => (
5353
<ProgressBar label="Progress bar label" helperText="Optional helper text" />
5454
);
5555

56-
export const Example = () => {
56+
export const Determinate = () => {
5757
const size = 728;
5858
const [progress, setProgress] = useState(0);
5959

packages/web-components/src/components/progress-bar/progress-bar.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const Default = {
102102
},
103103
};
104104

105-
export const Example = {
105+
export const Determinate = {
106106
render: () => {
107107
const size = 728;
108108
let progress = 0;

0 commit comments

Comments
 (0)