Skip to content

Commit

Permalink
Merge branch 'main' into search-bar-prop-clean
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnacioBecerra authored May 13, 2024
2 parents 95c9577 + 5d31c3c commit ab3e0dd
Show file tree
Hide file tree
Showing 141 changed files with 3,574 additions and 2,822 deletions.
7 changes: 5 additions & 2 deletions CODEOWNERS → .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Default
* @carbon-design-system/carbon-for-ibm-products-development
# These owners will be the default owners for everything in the
# repo. Unless a later match takes precedence, this team will
# be requested for review when someone opens a pull request.

* @carbon-design-system/carbon-for-ibm-products-reviewers

# Security package
/packages/security/ @jlongshore @paul-balchin-ibm
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Contributes to #
Closes #

{{short description}}

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,24 @@ jobs:
- name: Install
run: yarn

- name:
Run @ibm/telemetry-js-config-generator to regenerate telemetry config
file
working-directory: ./packages/ibm-products
run: |
yarn telemetry-config
# This can be removed once @ibm/telemetry-js-config-generator has params to set the js scope
- name: Add js scope to telemetry config
working-directory: ./packages/ibm-products
run: |
echo " js:
functions: {}
tokens: null" >> telemetry.yml
git add telemetry.yml
git commit -m "chore(telemetry): update telemetry config"
git push origin
- name: Continuous integration check (includes build)
run: yarn ci-check

Expand Down
8 changes: 8 additions & 0 deletions config/jest-config-ibm-cloud-cognitive/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.1.7](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@[email protected]) (2024-05-07)

**Note:** Version bump only for package jest-config-ibm-cloud-cognitive





## [1.1.6](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@[email protected]) (2024-04-30)


Expand Down
2 changes: 1 addition & 1 deletion config/jest-config-ibm-cloud-cognitive/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jest-config-ibm-cloud-cognitive",
"private": true,
"version": "1.1.6",
"version": "1.1.7",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down
11 changes: 11 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"aboutmodal",
"actionbar",
"apikey",
"apikeymodal",
"autodocs",
"automerge",
"buildhome",
Expand All @@ -81,6 +82,8 @@
"colindex",
"columnheader",
"combobox",
"combobutton",
"createmodal",
"csstools",
"dasharray",
"data-testid",
Expand All @@ -95,17 +98,23 @@
"editinplace",
"editsidepanel",
"emptystate",
"erroremptystate",
"exportmodal",
"expressivecard",
"fullpageerror",
"gridcell",
"guidebanner",
"haspopup",
"headshot",
"homescreen",
"httperrorother",
"inlineedit",
"inlinetip",
"listbox",
"loglevel",
"namor",
"nodataemptystate",
"nonlinearreading",
"noreply",
"overridable",
"overscroll",
Expand Down Expand Up @@ -142,6 +151,7 @@
"svgid",
"tabbable",
"tablist",
"tagoverflow",
"tagset",
"tearsheet",
"tearsheets",
Expand All @@ -155,6 +165,7 @@
"treegrid",
"treeview",
"typeahead",
"unauthorizedemptystate",
"userprofileimage",
"uuidv",
"webfonts"
Expand Down
27 changes: 27 additions & 0 deletions e2e/components/APIKeyModal/APIKeyModal-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('APIKeyModal @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'APIKeyModal',
id: 'ibm-products-patterns-generating-an-api-key-apikeymodal--generate',
globals: {
carbonTheme: 'white',
},
});

await page.getByRole('button', { name: 'Generate API key' }).click();

await expect(page).toHaveNoACViolations('APIKeyModal @avt-default-state');
});
});
24 changes: 24 additions & 0 deletions e2e/components/Checklist/Checklist-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright IBM Corp. 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('Checklist @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'Checklist',
id: 'ibm-products-novice-to-pro-checklist--checklist',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('Checklist @avt-default-state');
});
});
24 changes: 24 additions & 0 deletions e2e/components/ComboButton/ComboButton-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('ComboButton @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'ComboButton',
id: 'ibm-products-internal-combobutton--default',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('ComboButton @avt-default-state');
});
});
28 changes: 28 additions & 0 deletions e2e/components/CreateFlows/CreateFullPage-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// cspell:words createfullpage

/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('CreateFullPage @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'CreateFullPage',
id: 'ibm-products-patterns-create-flows-createfullpage--create-full-page',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations(
'CreateFullPage @avt-default-state'
);
});
});
24 changes: 24 additions & 0 deletions e2e/components/CreateFlows/CreateModal-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('CreateModal @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'CreateModal',
id: 'ibm-products-patterns-create-flows-createmodal--default',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('CreateModal @avt-default-state');
});
});
24 changes: 24 additions & 0 deletions e2e/components/EditInPlace/EditInPlace-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright IBM Corp. 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('EditInPlace @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'EditInPlace',
id: 'ibm-products-patterns-edit-and-update-editinplace--default',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('EditInPlace @avt-default-state');
});
});
24 changes: 24 additions & 0 deletions e2e/components/EmptyState/EmptyState-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('EmptyState @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'EmptyState',
id: 'ibm-products-patterns-empty-state-emptystate--default',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('EmptyState @avt-default-state');
});
});
26 changes: 26 additions & 0 deletions e2e/components/ErrorEmptyState/ErrorEmptyState-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('ErrorEmptyState @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'ErrorEmptyState',
id: 'ibm-products-patterns-empty-state-erroremptystate--default',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations(
'ErrorEmptyState @avt-default-state'
);
});
});
24 changes: 24 additions & 0 deletions e2e/components/ExportModal/ExportModal-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('ExportModal @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'ExportModal',
id: 'ibm-products-patterns-export-exportmodal--standard',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('ExportModal @avt-default-state');
});
});
24 changes: 24 additions & 0 deletions e2e/components/FullPageError/FullPageError-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright IBM Corp. 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('FullPageError @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'FullPageError',
id: 'ibm-products-patterns-full-page-error-fullpageerror--full-page-error',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('FullPageError @avt-default-state');
});
});
Loading

0 comments on commit ab3e0dd

Please sign in to comment.