Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 1 addition & 3 deletions src/@next/utilities/colors/blue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ export const S08 = '#E6F4FA';
export const S20 = '#C3E8FF';
export const S54 = '#58BFFF';
export const S95 = '#059FFF';
export const S97 = '#1A73E8';
export const S98 = '#0073FF';
export const S99 = '##1A73E8';
export const S99 = '#1A73E8';
export const S100 = '#1765CC';
4 changes: 2 additions & 2 deletions src/@next/utilities/colors/neutral.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ export const B99 = '#F7F9FA';
export const B95 = '#F3F3F3';
export const B85 = '#DDDDDD';
export const B68 = '#B3B3B3';
export const B40 = '#808080';
export const B33 = '#666666';
export const B40 = '#666666';
export const B33 = '#545454';
export const B28 = '#4D4D4D';
export const B18 = '#2D2D2D';
export const B00 = '#000000';
Binary file modified test/e2e/alert/alert.spec.ts-snapshots/alert-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions test/e2e/bar/bar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,28 @@ const getPage = (page: Page) =>
test('Bar', async ({ page }) => {
const barPage = getPage(page);
await barPage.goto();
await page.waitForTimeout(1000);
await expect(barPage.canvas).toHaveScreenshot('bar.png');
});

test('Bar - without subheading', async ({ page }) => {
const barPage = getPage(page);
await barPage.goto('args=subheading:!null');
await page.waitForTimeout(1000);
await expect(barPage.canvas).toHaveScreenshot('bar-no-subheading.png');
});

test('Bar - position top', async ({ page }) => {
const barPage = getPage(page);
await barPage.goto('args=position:top');
await page.waitForTimeout(1000);
await expect(barPage.canvas).toHaveScreenshot('bar-actions-position-top.png');
});

test('Bar - position bottom', async ({ page }) => {
const barPage = getPage(page);
await barPage.goto('args=position:bottom');
await page.waitForTimeout(1000);
await expect(barPage.canvas).toHaveScreenshot(
'bar-actions-position-bottom.png'
);
Expand All @@ -36,6 +40,7 @@ test('Bar - primary action only', async ({ page }) => {
'?path=/story/next-bar--primary-action-only'
);
await barPage.goto();
await page.waitForTimeout(1000);
await expect(barPage.canvas).toHaveScreenshot('bar-primary-action-only.png');
});

Expand All @@ -45,12 +50,14 @@ test('Bar - Custom Heading and Sub Heading', async ({ page }) => {
'?path=/story/next-bar--custom-heading'
);
await barPage.goto();
await page.waitForTimeout(1000);
await expect(barPage.canvas).toHaveScreenshot('bar-custom-heading.png');
});

test('Bar - with back button', async ({ page }) => {
const barPage = new StoryBookPage(page, '?path=/story/next-bar--back-button');
await barPage.goto();
await page.waitForTimeout(1000);
await expect(barPage.canvas).toHaveScreenshot('bar-back-button.png');
});

Expand All @@ -60,6 +67,7 @@ test('Bar - with custom action group (menu)', async ({ page }) => {
'?path=/story/next-bar--custom-action-group'
);
await barPage.goto();
await page.waitForTimeout(1000);
await expect(barPage.canvas).toHaveScreenshot('bar-custom-action-group.png');
});

Expand All @@ -69,6 +77,7 @@ test('Bar - without primary action', async ({ page }) => {
'?path=/story/next-bar--without-primary-action'
);
await barPage.goto();
await page.waitForTimeout(1000);
await expect(barPage.canvas).toHaveScreenshot(
'bar-without-primary-action.png'
);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/e2e/bar/bar.spec.ts-snapshots/bar-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/e2e/card/card.spec.ts-snapshots/card-chromium-linux.png
Binary file modified test/e2e/link/link.spec.ts-snapshots/link-chromium-linux.png
Binary file modified test/e2e/modal/modal.spec.ts-snapshots/modal-chromium-linux.png
Binary file modified test/e2e/steps/steps.spec.ts-snapshots/steps-dot-chromium-linux.png
Binary file modified test/e2e/tabs/tabs.spec.ts-snapshots/tabs-chromium-linux.png
Binary file modified test/e2e/tabs/tabs.spec.ts-snapshots/tabs-fitted-chromium-linux.png
Binary file modified test/e2e/tabs/tabs.spec.ts-snapshots/tabs-hover-chromium-linux.png