Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
8308ff7
Upgraded storybook version and refactored syntax
Jul 18, 2025
1382cf3
Improved configuration for stories accessibility testing
Jul 18, 2025
e8feb52
Updated node version in CI
Jul 21, 2025
2c38321
Added playwright
Jul 21, 2025
75ef166
Added playwright to CI
Jul 21, 2025
bd29d99
Modified stories interaction to improve test consistency
Jul 21, 2025
422e9f7
Fixed accessibility issues in certain components
Jul 21, 2025
6fae292
Fixed problem with CSS import
Jul 21, 2025
325b996
Solved problem for storybook build after removing addon-docs
Mil4n0r Jul 22, 2025
7d404f4
Solved interaction problem in Datagrid by adding delay
Mil4n0r Jul 22, 2025
0fc73fc
Temporally disabled datagrid test due to ResizeObserver problem
Mil4n0r Jul 22, 2025
7323374
Merge branch 'master' of github.com:dxc-technology/halstack-react int…
Mil4n0r Jul 28, 2025
6694005
Updated libraries and temporally disabled certain interactions
Mil4n0r Jul 28, 2025
7d7554d
Tested structure change to prevent state error inside sb
Mil4n0r Jul 28, 2025
e248a39
Restored previous state
Mil4n0r Jul 28, 2025
615d9ac
Changed modeResolution to prevent problem with storybookTest
Mil4n0r Aug 4, 2025
8df10f3
Merge branch 'master' of github.com:dxc-technology/halstack-react int…
Mil4n0r Aug 4, 2025
6907e82
Improved CI flow
Mil4n0r Aug 4, 2025
3308ca9
Changed env variable settings for vitest
Mil4n0r Aug 4, 2025
10b8388
Removed problematic interaction tests from button
Mil4n0r Aug 4, 2025
51fb34b
Added possible fix to prevent hooks problems in vitest
Mil4n0r Aug 5, 2025
69c3ccf
Minor refactoring in storybook
Mil4n0r Aug 5, 2025
7123a02
Merge branch 'master' of github.com:dxc-technology/halstack-react int…
Mil4n0r Aug 5, 2025
52a2c82
Added additional configuration for tsup and storybook
Mil4n0r Aug 6, 2025
316634a
Merge branch 'master' into Mil4n0r/upgrade-storybook
Mil4n0r Aug 6, 2025
08d9f2a
Updated package-lock
Mil4n0r Sep 10, 2025
d68ac70
Merge branch 'master' of github.com:dxc-technology/halstack-react int…
Mil4n0r Sep 10, 2025
ba0aed9
Removed comments and fixed problem in vitest.config
Mil4n0r Sep 10, 2025
68d99ca
Added fix to prevent first test run failing
Mil4n0r Sep 10, 2025
559969b
Merge branch 'master' of github.com:dxc-technology/halstack-react int…
Mil4n0r Sep 10, 2025
d679e27
Updated test-storybook script
Mil4n0r Sep 10, 2025
047fecd
Trying new approach for CI storybook testing
Mil4n0r Sep 10, 2025
5104325
Trying new approach for CI storybook testing
Mil4n0r Sep 10, 2025
da67c98
Fixed devDependencies in lib
Mil4n0r Sep 10, 2025
ec0c4b9
Applied dedupe and cleared cache before running test-storybook
Mil4n0r Sep 10, 2025
5e4ee07
Fixed lint and types
Mil4n0r Sep 30, 2025
a5777ae
Renamed eslint config as mjs
Mil4n0r Sep 30, 2025
9a64e60
Fixed typo
Mil4n0r Sep 30, 2025
02d35fc
Removed incorrect config
Mil4n0r Sep 30, 2025
1e4d7db
Replaced jest with vitest for accessibility testing
Mil4n0r Sep 30, 2025
68364a4
Removed no longer used file
Mil4n0r Sep 30, 2025
92427a8
Removed unwanted change in FileInput stories
Mil4n0r Sep 30, 2025
c066f18
Minor fix in select stories
Mil4n0r Sep 30, 2025
484d361
Fixed responsive paginator story viewport
Mil4n0r Sep 30, 2025
0ca540d
Added missing styles to datagrid
Mil4n0r Oct 1, 2025
6791bca
Merge branch 'master' of github.com:dxc-technology/halstack-react int…
Mil4n0r Oct 2, 2025
b1ee43f
Workaround to prevent ResizeObserver false positive
Mil4n0r Oct 2, 2025
da47623
Merge branch 'master' into Mil4n0r/upgrade-storybook
Mil4n0r Oct 3, 2025
509bdaf
Updated storybook and fixed emotion problem
Mil4n0r Oct 6, 2025
53dcb04
Merge branch 'Mil4n0r/upgrade-storybook' of github.com:dxc-technology…
Mil4n0r Oct 6, 2025
a195c63
Merge branch 'master' of github.com:dxc-technology/halstack-react int…
Mil4n0r Oct 6, 2025
a2e6cf7
Removed dead code
Mil4n0r Oct 6, 2025
517d725
Merge branch 'master' into Mil4n0r/upgrade-storybook
PelayoFelgueroso Oct 8, 2025
7a5c61b
Merge branch 'master' into Mil4n0r/upgrade-storybook
PelayoFelgueroso Oct 8, 2025
35a74db
Updated dependencies and removed dead code
Mil4n0r Oct 9, 2025
c4259e2
Merge branch 'Mil4n0r/upgrade-storybook' of github.com:dxc-technology…
Mil4n0r Oct 9, 2025
6b2e235
Removed cache clear from test-storybook
Mil4n0r Oct 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Chromatic"
name: "Chromatic & Storybook Tests"

on:
push:
Expand All @@ -19,17 +19,16 @@ jobs:
with:
fetch-depth: 0

- name: Install dependencies
run: npm install

- name: Install Node.js 18.x
- name: Install Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: 22.x
registry-url: https://registry.npmjs.org/

- name: Install dependencies
run: npm install

- name: Publish to Chromatic
id: chromatic_publish
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
Expand All @@ -38,10 +37,23 @@ jobs:
workingDir: packages/lib
forceRebuild: true

storybook-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 22.x
registry-url: https://registry.npmjs.org/

- name: Install dependencies
run: npm install

- name: Run Storybook Tests
run: |
cd packages/lib
npx playwright install --with-deps
npm run storybook:accessibility:ci
env:
TARGET_URL: "${{ steps.chromatic_publish.outputs.storybookUrl }}"
npm run test-storybook
4 changes: 2 additions & 2 deletions .github/workflows/create-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js 18.x
- name: Install Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: 22.x
registry-url: https://registry.npmjs.org/

- name: Install scripts dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js 18.x
- name: Install Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: 22.x
registry-url: https://registry.npmjs.org/

- name: Configure AWS Credentials
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js 18.x
- name: Install Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: 22.x
registry-url: https://registry.npmjs.org/

- name: Configure AWS Credentials
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js 18.x
- name: Install Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: 22.x
registry-url: https://registry.npmjs.org/

- name: Configure AWS Credentials
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js 18.x
- name: Install Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: 22.x
registry-url: https://registry.npmjs.org/

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-catalog-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js 18.x
- name: Install Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: 22.x
registry-url: https://registry.npmjs.org/

- name: Configure AWS Credentials
Expand Down
3 changes: 1 addition & 2 deletions LOCAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,9 @@ Here is a list of the most common commands you will use:
- `npm run format` - Run the Prettier formatter.
- `turbo lint` - Run the linter.
- `turbo storybook` - Start the Storybook server.
- `turbo storybook:accessibility` - Run the accessibility tests on Storybook.
- `turbo storybook:accessibility:ci` - Run the accessibility tests on Storybook in CI mode.
- `turbo storybook:build` - Build the Storybook.
- `turbo storybook:deploy` - Deploy the Storybook to GitHub Pages.
- `turbo test` - Run the tests.
- `turbo test:accessibility` - Run the accessibility tests.
- `turbo test:watch` - Run the tests in watch mode.
- `turbo test-storybook` - Run the Storybook tests.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

/** @type {import("eslint").Config[]} */
export default [{ ignores: ["out/**", ".next/**", "eslint.config.js"] }, ...nextConfig({ tsconfigRootDir: __dirname })];
export default [{ ignores: ["out/**", ".next/**", "eslint.config.mjs"] }, ...nextConfig({ tsconfigRootDir: __dirname })];
2 changes: 1 addition & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@emotion/cache": "^11.14.0",
"@emotion/react": "^11.14.0",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@radix-ui/react-popover": "^1.0.7",
"cross-env": "^7.0.3",
"next": "^15.4.5",
Expand Down
4 changes: 2 additions & 2 deletions lint-staged.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export default {
"apps/website/**/*.(ts|tsx|js|jsx)": [
"eslint --max-warnings 0 --config ./apps/website/eslint.config.js",
"eslint --max-warnings 0 --config ./apps/website/eslint.config.mjs",
"prettier --write",
],
"packages/lib/**/*.{js,jsx,ts,tsx}": [
"eslint --max-warnings 0 --config ./packages/lib/eslint.config.js",
"eslint --max-warnings 0 --config ./packages/lib/eslint.config.mjs",
"prettier --write",
],
};
Loading