feat: introduce Orven brand and task-focused workspace
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { openWorkbenchTool } from './ui-navigation.mjs';
|
||||
import assert from 'node:assert/strict';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
@@ -38,7 +39,7 @@ export async function desktopProjectQa({ store, provider, runtime, sample, kind
|
||||
await select(session); await closeInspector();
|
||||
const prepared = [...store.core.change_set.values()].find(value => value.sessionId === session.id && value.status === 'prepared' && JSON.stringify(value.files.map(file => file.changeId).sort()) === JSON.stringify(ids.slice().sort()));
|
||||
if (prepared) {
|
||||
await page.getByRole('button', { name: '隔离协作', exact: true }).click();
|
||||
await openWorkbenchTool(page, '隔离协作');
|
||||
await page.getByRole('button', { name: '打开父工程变更集审查', exact: true }).click();
|
||||
await page.getByRole('button', { name: '审查变更集', exact: true }).click();
|
||||
} else {
|
||||
@@ -96,7 +97,7 @@ export async function desktopProjectQa({ store, provider, runtime, sample, kind
|
||||
retainedEvents: retainedEvents.length, retainedEventsSha256: hash(Buffer.from(JSON.stringify(retainedEvents))), instanceId: identity.instanceId, completedToolSha256: prior, approvals });
|
||||
}
|
||||
async function capture(session, label) {
|
||||
await select(session); await closeInspector(); await page.getByRole('button', { name: '隔离协作', exact: true }).click();
|
||||
await select(session); await closeInspector(); await openWorkbenchTool(page, '隔离协作');
|
||||
for (const width of [1440, 390]) {
|
||||
const native = await application.browserWindow(page); await native.evaluate((value, width) => { value.showInactive(); value.setContentSize(width, 900); }, width);
|
||||
await expect.poll(() => page.evaluate(() => innerWidth)).toBe(width);
|
||||
|
||||
Reference in New Issue
Block a user