Add @web tag to new web-only tests for later CI use (#6784)
pierremtb/adhoc/add-web-tag-for-later
This commit is contained in:
@ -514,9 +514,13 @@ test.describe('Command bar tests', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
test(`Zoom to fit to shared model on web`, async ({ page, scene }) => {
|
test(
|
||||||
|
`Zoom to fit to shared model on web`,
|
||||||
|
{ tag: ['@web'] },
|
||||||
|
async ({ page, scene }) => {
|
||||||
if (process.env.PLATFORM !== 'web') {
|
if (process.env.PLATFORM !== 'web') {
|
||||||
// This test is web-only
|
// This test is web-only
|
||||||
|
// TODO: re-enable on CI as part of a new @web test suite
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
await test.step(`Prepare and navigate to home page with query params`, async () => {
|
await test.step(`Prepare and navigate to home page with query params`, async () => {
|
||||||
@ -548,7 +552,8 @@ profile001 = startProfile(sketch001, at = [-484.34, 484.95])
|
|||||||
await test.step(`Ensure we created the project and are in the modeling scene`, async () => {
|
await test.step(`Ensure we created the project and are in the modeling scene`, async () => {
|
||||||
await expectPixelColor(page, [252, 252, 252], { x: 600, y: 260 }, 8)
|
await expectPixelColor(page, [252, 252, 252], { x: 600, y: 260 }, 8)
|
||||||
})
|
})
|
||||||
})
|
}
|
||||||
|
)
|
||||||
|
|
||||||
test(`Can add and edit a named parameter or constant`, async ({
|
test(`Can add and edit a named parameter or constant`, async ({
|
||||||
page,
|
page,
|
||||||
|
|||||||
@ -13,12 +13,13 @@ test.describe('Share link tests', () => {
|
|||||||
showsErrorOnWindows: true,
|
showsErrorOnWindows: true,
|
||||||
},
|
},
|
||||||
].forEach(({ codeLength, showsErrorOnWindows }) => {
|
].forEach(({ codeLength, showsErrorOnWindows }) => {
|
||||||
test(`Open in desktop app with ${codeLength}-long code ${isWindows && showsErrorOnWindows ? 'shows error' : "doesn't show error"}`, async ({
|
test(
|
||||||
page,
|
`Open in desktop app with ${codeLength}-long code ${isWindows && showsErrorOnWindows ? 'shows error' : "doesn't show error"}`,
|
||||||
}) => {
|
{ tag: ['@web'] },
|
||||||
|
async ({ page }) => {
|
||||||
if (process.env.PLATFORM !== 'web') {
|
if (process.env.PLATFORM !== 'web') {
|
||||||
// This test is web-only
|
// This test is web-only
|
||||||
// TODO: re-enable on CI as part of a new web test suite
|
// TODO: re-enable on CI as part of a new @web test suite
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -38,6 +39,7 @@ test.describe('Share link tests', () => {
|
|||||||
await expect(toastError).not.toBeVisible()
|
await expect(toastError).not.toBeVisible()
|
||||||
// TODO: check if we could verify the deep link dialog shows up
|
// TODO: check if we could verify the deep link dialog shows up
|
||||||
}
|
}
|
||||||
})
|
}
|
||||||
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user