Button: new variants #17790
Annotations
10 errors and 2 warnings
Tests:
packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx#L26
Error: expect(received).toMatchSnapshot()
Snapshot name: `ColorSchemeProvider renders styling for light mode when no color scheme specified 1`
- Snapshot - 0
+ Received + 6
@@ -243,10 +243,16 @@
--color-background-button-shopping-active: #4a85c9;
--color-background-button-white-default: #ffffff;
--color-background-button-white-hover: #f0f0f0;
--color-background-button-white-active: #e0e0e0;
--color-background-button-white-disabled: #e9e9e9;
+ --color-background-button-dark-default: #111111;
+ --color-background-button-dark-hover: #000000;
+ --color-background-button-dark-active: #000000;
+ --color-background-button-light-default: #ffffff;
+ --color-background-button-light-hover: #f8f7f2;
+ --color-background-button-light-active: #f8f7f2;
--color-background-button-gray-default: #767676;
--color-background-button-gray-hover: #878787;
--color-background-button-gray-active: #828282;
--color-background-button-gray-disabled: #e9e9e9;
--color-background-button-semitransparentdefault-default: rgba(255, 255, 255, 0.8);
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx:26:46)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx#L34
Error: expect(received).toMatchSnapshot()
Snapshot name: `ColorSchemeProvider renders styling for light mode when specified 1`
- Snapshot - 0
+ Received + 6
@@ -243,10 +243,16 @@
--color-background-button-shopping-active: #4a85c9;
--color-background-button-white-default: #ffffff;
--color-background-button-white-hover: #f0f0f0;
--color-background-button-white-active: #e0e0e0;
--color-background-button-white-disabled: #e9e9e9;
+ --color-background-button-dark-default: #111111;
+ --color-background-button-dark-hover: #000000;
+ --color-background-button-dark-active: #000000;
+ --color-background-button-light-default: #ffffff;
+ --color-background-button-light-hover: #f8f7f2;
+ --color-background-button-light-active: #f8f7f2;
--color-background-button-gray-default: #767676;
--color-background-button-gray-hover: #878787;
--color-background-button-gray-active: #828282;
--color-background-button-gray-disabled: #e9e9e9;
--color-background-button-semitransparentdefault-default: rgba(255, 255, 255, 0.8);
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx:34:46)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx#L42
Error: expect(received).toMatchSnapshot()
Snapshot name: `ColorSchemeProvider renders styling for dark mode when specified 1`
- Snapshot - 0
+ Received + 6
@@ -238,10 +238,16 @@
--color-background-button-shopping-hover: #4a8ad4;
--color-background-button-shopping-active: #4a85c9;
--color-background-button-white-default: #030303;
--color-background-button-white-hover: #121212;
--color-background-button-white-active: #1f1f1f;
+ --color-background-button-dark-default: #111111;
+ --color-background-button-dark-hover: #000000;
+ --color-background-button-dark-active: #000000;
+ --color-background-button-light-default: #ffffff;
+ --color-background-button-light-hover: #f8f7f2;
+ --color-background-button-light-active: #f8f7f2;
--color-background-button-gray-default: #cdcdcd;
--color-background-button-gray-hover: #919191;
--color-background-button-gray-active: #9b9b9b;
--color-background-button-semitransparentdefault-default: rgba(51, 51, 51, 0.8);
--color-background-button-semitransparentdefault-hover: #121212;
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx:42:46)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx#L50
Error: expect(received).toMatchSnapshot()
Snapshot name: `ColorSchemeProvider renders styling with media query when userPreference 1`
- Snapshot - 0
+ Received + 6
@@ -239,10 +239,16 @@
--color-background-button-shopping-hover: #4a8ad4;
--color-background-button-shopping-active: #4a85c9;
--color-background-button-white-default: #030303;
--color-background-button-white-hover: #121212;
--color-background-button-white-active: #1f1f1f;
+ --color-background-button-dark-default: #111111;
+ --color-background-button-dark-hover: #000000;
+ --color-background-button-dark-active: #000000;
+ --color-background-button-light-default: #ffffff;
+ --color-background-button-light-hover: #f8f7f2;
+ --color-background-button-light-active: #f8f7f2;
--color-background-button-gray-default: #cdcdcd;
--color-background-button-gray-hover: #919191;
--color-background-button-gray-active: #9b9b9b;
--color-background-button-semitransparentdefault-default: rgba(51, 51, 51, 0.8);
--color-background-button-semitransparentdefault-hover: #121212;
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx:50:46)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx#L58
Error: expect(received).toMatchSnapshot()
Snapshot name: `ColorSchemeProvider renders styling with a custom class if has an id 1`
- Snapshot - 0
+ Received + 6
@@ -243,10 +243,16 @@
--color-background-button-shopping-active: #4a85c9;
--color-background-button-white-default: #ffffff;
--color-background-button-white-hover: #f0f0f0;
--color-background-button-white-active: #e0e0e0;
--color-background-button-white-disabled: #e9e9e9;
+ --color-background-button-dark-default: #111111;
+ --color-background-button-dark-hover: #000000;
+ --color-background-button-dark-active: #000000;
+ --color-background-button-light-default: #ffffff;
+ --color-background-button-light-hover: #f8f7f2;
+ --color-background-button-light-active: #f8f7f2;
--color-background-button-gray-default: #767676;
--color-background-button-gray-hover: #878787;
--color-background-button-gray-active: #828282;
--color-background-button-gray-disabled: #e9e9e9;
--color-background-button-semitransparentdefault-default: rgba(255, 255, 255, 0.8);
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx:58:46)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx#L127
Error: expect(received).toMatchSnapshot()
Snapshot name: `visual refresh tokens uses visual refresh light mode theme when specified 1`
- Snapshot - 0
+ Received + 6
@@ -798,10 +798,16 @@
--color-background-button-tertiary-disabled: rgba(255, 255, 255, 0);
--color-background-button-elevation-default: #ffffff;
--color-background-button-elevation-hover: #f8f7f2;
--color-background-button-elevation-active: #ebebe5;
--color-background-button-elevation-disabled: #e8e7e1;
+ --color-background-button-dark-default: #000000;
+ --color-background-button-dark-hover: #242423;
+ --color-background-button-dark-active: #393937;
+ --color-background-button-light-default: #ffffff;
+ --color-background-button-light-hover: #f8f7f2;
+ --color-background-button-light-active: #ebebe5;
--color-background-button-gray-default: #757570;
--color-background-button-gray-hover: #626260;
--color-background-button-gray-active: #585856;
--color-background-button-gray-disabled: #e8e7e1;
--color-background-button-shopping-default: #e60023;
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx:127:46)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx#L142
Error: expect(received).toMatchSnapshot()
Snapshot name: `visual refresh tokens uses visual refresh dark mode theme when specified 1`
- Snapshot - 0
+ Received + 6
@@ -795,10 +795,16 @@
--color-background-button-tertiary-default: rgba(255, 255, 255, 0);
--color-background-button-tertiary-hover: rgba(36, 36, 35, 0.85);
--color-background-button-tertiary-active: rgba(57, 57, 55, 0.9);
--color-background-button-tertiary-disabled-default: rgba(255, 255, 255, 0);
--color-background-button-tertiary-disabled-selected: #2e2e2d;
+ --color-background-button-dark-default: #000000;
+ --color-background-button-dark-hover: #242423;
+ --color-background-button-dark-active: #393937;
+ --color-background-button-light-default: #ffffff;
+ --color-background-button-light-hover: #f8f7f2;
+ --color-background-button-light-active: #ebebe5;
--color-background-button-elevation-default: #2e2e2d;
--color-background-button-elevation-hover: #242423;
--color-background-button-elevation-active: #393937;
--color-background-button-elevation-disabled: #2e2e2d;
--color-background-button-gray-default: #c7c6c1;
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx:142:46)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx#L157
Error: expect(received).toMatchSnapshot()
Snapshot name: `visual refresh tokens uses visual refresh with tall line height 1`
- Snapshot - 0
+ Received + 6
@@ -798,10 +798,16 @@
--color-background-button-tertiary-disabled: rgba(255, 255, 255, 0);
--color-background-button-elevation-default: #ffffff;
--color-background-button-elevation-hover: #f8f7f2;
--color-background-button-elevation-active: #ebebe5;
--color-background-button-elevation-disabled: #e8e7e1;
+ --color-background-button-dark-default: #000000;
+ --color-background-button-dark-hover: #242423;
+ --color-background-button-dark-active: #393937;
+ --color-background-button-light-default: #ffffff;
+ --color-background-button-light-hover: #f8f7f2;
+ --color-background-button-light-active: #ebebe5;
--color-background-button-gray-default: #757570;
--color-background-button-gray-hover: #626260;
--color-background-button-gray-active: #585856;
--color-background-button-gray-disabled: #e8e7e1;
--color-background-button-shopping-default: #e60023;
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx:157:46)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx#L172
Error: expect(received).toMatchSnapshot()
Snapshot name: `visual refresh tokens uses visual refresh with ck line height 1`
- Snapshot - 0
+ Received + 6
@@ -798,10 +798,16 @@
--color-background-button-tertiary-disabled: rgba(255, 255, 255, 0);
--color-background-button-elevation-default: #ffffff;
--color-background-button-elevation-hover: #f8f7f2;
--color-background-button-elevation-active: #ebebe5;
--color-background-button-elevation-disabled: #e8e7e1;
+ --color-background-button-dark-default: #000000;
+ --color-background-button-dark-hover: #242423;
+ --color-background-button-dark-active: #393937;
+ --color-background-button-light-default: #ffffff;
+ --color-background-button-light-hover: #f8f7f2;
+ --color-background-button-light-active: #ebebe5;
--color-background-button-gray-default: #757570;
--color-background-button-gray-hover: #626260;
--color-background-button-gray-active: #585856;
--color-background-button-gray-disabled: #e8e7e1;
--color-background-button-shopping-default: #e60023;
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx:172:46)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests:
packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx#L187
Error: expect(received).toMatchSnapshot()
Snapshot name: `visual refresh tokens uses visual refresh with ja line height 1`
- Snapshot - 0
+ Received + 6
@@ -798,10 +798,16 @@
--color-background-button-tertiary-disabled: rgba(255, 255, 255, 0);
--color-background-button-elevation-default: #ffffff;
--color-background-button-elevation-hover: #f8f7f2;
--color-background-button-elevation-active: #ebebe5;
--color-background-button-elevation-disabled: #e8e7e1;
+ --color-background-button-dark-default: #000000;
+ --color-background-button-dark-hover: #242423;
+ --color-background-button-dark-active: #393937;
+ --color-background-button-light-default: #ffffff;
+ --color-background-button-light-hover: #f8f7f2;
+ --color-background-button-light-active: #ebebe5;
--color-background-button-gray-default: #757570;
--color-background-button-gray-hover: #626260;
--color-background-button-gray-active: #585856;
--color-background-button-gray-disabled: #e8e7e1;
--color-background-button-shopping-default: #e60023;
at Object.toMatchSnapshot (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/ColorSchemeProvider.jsdom.test.tsx:187:46)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
|
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|