Add WebGL availability check in e2e test
This commit is contained in:
@@ -28,6 +28,8 @@ test("whitebox component selection modes keep object picking intentional across
|
|||||||
}, "webeditor3d.scene-document-draft");
|
}, "webeditor3d.scene-document-draft");
|
||||||
await page.reload();
|
await page.reload();
|
||||||
|
|
||||||
|
test.skip((await page.getByText("Viewport Unavailable").count()) > 0, "WebGL is unavailable in this Playwright environment.");
|
||||||
|
|
||||||
const brush = createBoxBrush({
|
const brush = createBoxBrush({
|
||||||
id: "brush-selection-modes-main",
|
id: "brush-selection-modes-main",
|
||||||
name: "Selection Fixture",
|
name: "Selection Fixture",
|
||||||
|
|||||||
Reference in New Issue
Block a user