mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 15:31:27 +00:00
test: update OAuth progress and header tests for UI changes
- Update Header.test.tsx to expect single border (┌┐) instead of round (╭╯) - Update QwenOAuthProgress.test.tsx: - Change cancel text expectation from '(Press ESC or CTRL+C to cancel)' to 'Esc to cancel' - Update loading state test to expect 'Qwen OAuth Authentication' title - Simplify animated dots test to avoid timing sensitivity - Rename 'gray border' test to 'single border' test Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
928701d688
commit
67089ed532
2 changed files with 20 additions and 28 deletions
|
|
@ -78,7 +78,7 @@ describe('<Header />', () => {
|
|||
|
||||
it('renders with border around info panel', () => {
|
||||
const { lastFrame } = render(<Header {...defaultProps} />);
|
||||
expect(lastFrame()).toContain('╭');
|
||||
expect(lastFrame()).toContain('╯');
|
||||
expect(lastFrame()).toContain('┌');
|
||||
expect(lastFrame()).toContain('┐');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue