同步执行过程测试定位
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
将旧的执行过程无障碍标签断言迁移到当前回合测试标识。
This commit is contained in:
@@ -7806,9 +7806,9 @@ export function registerProjectSupervisorSurfaceTests() {
|
||||
);
|
||||
await waitFor(() =>
|
||||
expect(
|
||||
within(
|
||||
within(supervisorSurface).getByLabelText('陶泥儿执行过程'),
|
||||
).getByText('需求已接收'),
|
||||
within(within(supervisorSurface).getByTestId('turn-process')).getByText(
|
||||
'需求已接收',
|
||||
),
|
||||
).not.toBeNull(),
|
||||
);
|
||||
const directMessageList =
|
||||
@@ -7819,7 +7819,7 @@ export function registerProjectSupervisorSurfaceTests() {
|
||||
scrollTop: { configurable: true, value: 0, writable: true },
|
||||
});
|
||||
const waitingProcessCard =
|
||||
within(directMessageList).getByLabelText('陶泥儿执行过程');
|
||||
within(directMessageList).getByTestId('turn-process');
|
||||
expect(waitingProcessCard.parentElement).toBe(directMessageList);
|
||||
expect(
|
||||
within(waitingProcessCard).getByText('正在等待陶泥儿开始'),
|
||||
@@ -7872,7 +7872,7 @@ export function registerProjectSupervisorSurfaceTests() {
|
||||
});
|
||||
});
|
||||
const thinkingProcessCard =
|
||||
within(directMessageList).getByLabelText('陶泥儿执行过程');
|
||||
within(directMessageList).getByTestId('turn-process');
|
||||
expect(within(thinkingProcessCard).getByText('任务执行中')).not.toBeNull();
|
||||
expect(
|
||||
within(thinkingProcessCard).getByLabelText('陶泥儿正在执行的内容')
|
||||
@@ -7892,7 +7892,7 @@ export function registerProjectSupervisorSurfaceTests() {
|
||||
});
|
||||
});
|
||||
const runningProcessCard =
|
||||
within(directMessageList).getByLabelText('陶泥儿执行过程');
|
||||
within(directMessageList).getByTestId('turn-process');
|
||||
expect(within(runningProcessCard).getByText('任务执行中')).not.toBeNull();
|
||||
expect(
|
||||
within(runningProcessCard).getByRole('button', { name: '展开' }),
|
||||
@@ -7948,7 +7948,7 @@ export function registerProjectSupervisorSurfaceTests() {
|
||||
supervisorHarness.emitProgress('direct', '旧 fallback 不能覆盖精确事件');
|
||||
});
|
||||
const streamingProcessCard =
|
||||
within(directMessageList).getByLabelText('陶泥儿执行过程');
|
||||
within(directMessageList).getByTestId('turn-process');
|
||||
expect(within(streamingProcessCard).getByText('回复生成中')).not.toBeNull();
|
||||
expect(
|
||||
within(streamingProcessCard).getByLabelText('陶泥儿正在执行的内容')
|
||||
@@ -8065,7 +8065,7 @@ export function registerProjectSupervisorSurfaceTests() {
|
||||
),
|
||||
).toBeNull();
|
||||
expect(
|
||||
within(directMessageList).queryByLabelText('陶泥儿执行过程'),
|
||||
within(directMessageList).queryByTestId('turn-process'),
|
||||
).toBeNull();
|
||||
});
|
||||
await waitFor(() => {
|
||||
@@ -8123,7 +8123,7 @@ export function registerProjectSupervisorSurfaceTests() {
|
||||
});
|
||||
});
|
||||
const failedTurnProcessCard =
|
||||
within(directMessageList).getByLabelText('陶泥儿执行过程');
|
||||
within(directMessageList).getByTestId('turn-process');
|
||||
expect(
|
||||
within(failedTurnProcessCard).getByText('回复生成中'),
|
||||
).not.toBeNull();
|
||||
@@ -8151,7 +8151,7 @@ export function registerProjectSupervisorSurfaceTests() {
|
||||
within(supervisorSurface).queryByLabelText('陶泥儿实时回复'),
|
||||
).toBeNull();
|
||||
const failedStatusProcessCard =
|
||||
within(directMessageList).getByLabelText('陶泥儿执行过程');
|
||||
within(directMessageList).getByTestId('turn-process');
|
||||
expect(
|
||||
within(failedStatusProcessCard).getByText('处理失败'),
|
||||
).not.toBeNull();
|
||||
@@ -8167,7 +8167,7 @@ export function registerProjectSupervisorSurfaceTests() {
|
||||
within(supervisorSurface).queryByLabelText('陶泥儿实时回复'),
|
||||
).toBeNull();
|
||||
expect(
|
||||
within(directMessageList).queryByLabelText('陶泥儿执行过程'),
|
||||
within(directMessageList).queryByTestId('turn-process'),
|
||||
).toBeNull();
|
||||
expect(
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user