-
Notifications
You must be signed in to change notification settings - Fork 22
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
#9087 Skip tests for pre-release e2e workflow on msedge/msedge-beta #9126
Changes from 4 commits
f0feb42
7a199fe
f2ff7a6
ab23209
a1f0d97
cfa2747
a45fc8b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,11 @@ import { test, expect } from "../../fixtures/testBase"; | |
|
||
// @ts-expect-error -- https://youtrack.jetbrains.com/issue/AQUA-711/Provide-a-run-configuration-for-Playwright-tests-in-specs-with-fixture-imports-only | ||
import { type Page, test as base } from "@playwright/test"; | ||
import { getSidebarPage } from "../../utils"; | ||
import { | ||
getSidebarPage, | ||
isMsEdge, | ||
PRE_RELEASE_BROWSER_WORKFLOW_NAME, | ||
} from "../../utils"; | ||
import { SupportedChannels } from "playwright.config"; | ||
|
||
test("Add new starter brick", async ({ | ||
|
@@ -140,6 +144,7 @@ test("Add starter brick to mod", async ({ | |
newPageEditorPage, | ||
extensionId, | ||
verifyModDefinitionSnapshot, | ||
chromiumChannel, | ||
}) => { | ||
await page.goto("/"); | ||
const pageEditorPage = await newPageEditorPage(page.url()); | ||
|
@@ -258,6 +263,13 @@ test("Add starter brick to mod", async ({ | |
}); | ||
|
||
await test.step("Add Trigger starter brick to mod", async () => { | ||
// FIXME: https://github.com/pixiebrix/pixiebrix-extension/issues/9125 | ||
test.skip( | ||
process.env.GITHUB_WORKFLOW === PRE_RELEASE_BROWSER_WORKFLOW_NAME && | ||
isMsEdge(chromiumChannel), | ||
"Skipping test for MS Edge in pre-release workflow", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it only failing in the pre-release workflow, but not in PR CI? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, based off of inventory of the CI runs in the last week or so. I'm not sure what is going on yet. |
||
); | ||
|
||
const modActionMenu = await openModActionMenu(); | ||
await modActionMenu.addStarterBrick("Trigger"); | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we can use
test.fixme
instead which is functionally the same, but indicates we plan to fix it. Also the fixme comment is redundant - you can include the link in the additional description in the skip/fixme call.https://playwright.dev/docs/api/class-test#test-fixme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you!