Skip to content

Commit 6fcb208

Browse files
committed
minor changes
1 parent 2c4efae commit 6fcb208

32 files changed

+78
-15
lines changed

packages/docs/docs/contribute/playwright-tests.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ test.describe('Your Example Name', async () => {
100100
// Your test code here to add a measurement
101101
const locator = page.locator('.cornerstone-canvas');
102102
await checkForScreenshot(
103+
page,
103104
locator,
104105
screenshotPath.your_example_name.measurementAdded
105106
);
@@ -133,6 +134,7 @@ test.describe('Basic Stack Manipulation', async () => {
133134
const locator = page.locator('.cornerstone-canvas');
134135
await simulateDrag(page, locator);
135136
await checkForScreenshot(
137+
page,
136138
locator,
137139
screenShotPaths.stackManipulationTools.windowLevel
138140
);

playwright.config.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ export default defineConfig({
2525
name: 'firefox',
2626
use: { ...devices['Desktop Firefox'], deviceScaleFactor: 1 },
2727
},
28-
{
29-
name: 'webkit',
30-
use: { ...devices['Desktop Safari'], deviceScaleFactor: 1 },
31-
},
28+
// This is commented out until SharedArrayBuffer is enabled in WebKit
29+
// See: https://github.com/microsoft/playwright/issues/14043
30+
//{
31+
// name: 'webkit',
32+
// use: { ...devices['Desktop Safari'], deviceScaleFactor: 1 },
33+
//},
3234
],
3335
webServer: {
3436
command: 'yarn build-and-serve-static-examples',
112 KB
Loading
126 KB
Loading
-115 KB
Binary file not shown.
-75.7 KB
Binary file not shown.
-75.5 KB
Binary file not shown.
-76.1 KB
Binary file not shown.
-76.9 KB
Binary file not shown.
-76.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)