Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump postcss from 8.4.25 to 8.4.31 #907

Merged
merged 2 commits into from
Oct 9, 2023
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
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.
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.
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.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ test("Topbar page exist", async ({ page }) => {
})
.click();
await expect(page.getByRole("link", { name: "Topbar" })).toHaveCount(
page.viewportSize().width < 991 ? 1 : 2,
page.viewportSize().width < 991 ? 1 : 2
);
await page.getByText("call_to_actionTopbararrow_forward").click();
await expect(page).toHaveTitle(/Topbar/);
await expect(
page.getByRole("heading", { name: "Topbar", exact: true, level: 1 }),
page.getByRole("heading", { name: "Topbar", exact: true, level: 1 })
).toBeVisible();
});

Expand Down Expand Up @@ -44,7 +44,9 @@ let brand;
* @param {string} tabBtnText text of the doc preview container tab
*/
const clickDocPreviewTab = async (page, tabBtnText) => {
await page.getByRole("link", { name: tabBtnText, exact: true }).click();
await page
.getByRole("link", { name: tabBtnText, exact: true })
.click({ force: true });
};

test.describe("visual regressions topbar", () => {
Expand All @@ -56,14 +58,14 @@ test.describe("visual regressions topbar", () => {

test(`general UI closed`, async ({ page }) => {
await expect(
page.getByRole("heading", { name: "Topbar", exact: true }),
page.getByRole("heading", { name: "Topbar", exact: true })
).toBeVisible();

for (const topbarTab of topbarTabs) {
clickDocPreviewTab(page, topbarTab.btnText);

await expect(
page.locator(".component-preview-content > div"),
page.locator(".component-preview-content > div")
).toHaveScreenshot(`${brand}-topbar-${topbarTab.name}-closed.png`);
}
});
Expand All @@ -77,9 +79,9 @@ test.describe("visual regressions topbar", () => {

await page.locator("#demo-topbar").getByRole("link").nth(2).hover();
await expect(
page.locator("#demo-topbar").getByRole("navigation"),
page.locator("#demo-topbar").getByRole("navigation")
).toHaveScreenshot(
`${brand}-topbar-${topbarTab.name}-links-ui-feedbacks.png`,
`${brand}-topbar-${topbarTab.name}-links-ui-feedbacks.png`
);
}
});
Expand All @@ -96,7 +98,7 @@ test.describe("visual regressions topbar", () => {
: page.locator(".component-preview-content > div");

await expect(modalContainer).toHaveScreenshot(
`${brand}-topbar-${topbarTab.name}-opened.png`,
`${brand}-topbar-${topbarTab.name}-opened.png`
);
}
});
Expand All @@ -105,7 +107,7 @@ test.describe("visual regressions topbar", () => {
page,
}) => {
for (const topbarTab of topbarTabs.filter(
(tab) => tab.desktopTopbar && !tab.isLegacy,
(tab) => tab.desktopTopbar && !tab.isLegacy
)) {
clickDocPreviewTab(page, topbarTab.btnText);

Expand Down
Loading