feat(chat): simplify teacher pane and color follow-up cards
This commit is contained in:
@@ -297,7 +297,8 @@ describe('CodingChatPanel first Conversation', () => {
|
||||
expect(operationInput).toHaveValue('我想先自己试一试');
|
||||
|
||||
fireEvent.click(screen.getByRole('button', { name: '智能体', exact: true }));
|
||||
const teacherInput = await screen.findByRole('textbox', { name: '向智能体提问' });
|
||||
const teacherPanel = await screen.findByRole('complementary', { name: '智能体咨询' });
|
||||
const teacherInput = within(teacherPanel).getByRole('textbox', { name: '向智能体提问' });
|
||||
expect(workTab).toHaveAttribute('aria-selected', 'true');
|
||||
expect(operationInput).not.toBeVisible();
|
||||
expect(operationInput).toHaveValue('我想先自己试一试');
|
||||
|
||||
Reference in New Issue
Block a user