Release Healer Man 0.1.49
This commit is contained in:
1 parent
39425f2494
commit
612170afd0
91 files changed
+2278
-263
No files matched your search
@@ -100,6 +100,12 @@ fs.rmSync(databaseDirectory, { recursive: true, force: true });
|
||||
assert.equal(await memberButtons.nth(2).getAttribute('aria-pressed'), 'true');
|
||||
await page.waitForTimeout(300);
|
||||
await capture('03-follow-selected-member');
|
||||
const beforeFollowArrowLook = await page.evaluate(() => window.readSpectatorCameraState());
|
||||
await page.keyboard.down('ArrowLeft');
|
||||
await page.waitForTimeout(300);
|
||||
await page.keyboard.up('ArrowLeft');
|
||||
const afterFollowArrowLook = await page.evaluate(() => window.readSpectatorCameraState());
|
||||
assert.notEqual(afterFollowArrowLook.yaw, beforeFollowArrowLook.yaw, 'ArrowLeft orbits the follow camera');
|
||||
|
||||
await page.getByRole('button', { name: 'Free camera' }).click();
|
||||
assert.equal(await page.getByRole('button', { name: 'Free camera' }).getAttribute('aria-pressed'), 'true');
|
||||
@@ -110,6 +116,12 @@ fs.rmSync(databaseDirectory, { recursive: true, force: true });
|
||||
await page.waitForTimeout(150);
|
||||
const afterFlight = await captureCanvas();
|
||||
assert.notEqual(afterFlight, beforeFlight, 'free-camera movement redraws the 3D dungeon without relying on nameplate overlays');
|
||||
const beforeArrowLook = await page.evaluate(() => window.readSpectatorCameraState());
|
||||
await page.keyboard.down('ArrowRight');
|
||||
await page.waitForTimeout(300);
|
||||
await page.keyboard.up('ArrowRight');
|
||||
const afterArrowLook = await page.evaluate(() => window.readSpectatorCameraState());
|
||||
assert.notEqual(afterArrowLook.yaw, beforeArrowLook.yaw, 'ArrowRight turns the free camera');
|
||||
const canvasBounds = await page.locator('canvas').boundingBox();
|
||||
assert(canvasBounds, 'simulation canvas is visible');
|
||||
const lookStart = { x: canvasBounds.x + canvasBounds.width * 0.5, y: canvasBounds.y + canvasBounds.height * 0.55 };
|
||||
|
||||
Reference in new issue
Block a user