fix: update OpenAIKeyPrompt test to expect Alibaba Cloud API URL
- Update test expectation from OpenAI platform URL to Alibaba Cloud console URL - Fixes failing test in OpenAIKeyPrompt.test.tsx - Aligns test with actual implementation that uses Alibaba Cloud API
This commit is contained in:
parent
d2c8227c48
commit
b8184adba6
1 changed files with 3 additions and 1 deletions
|
|
@ -18,7 +18,9 @@ describe('OpenAIKeyPrompt', () => {
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(lastFrame()).toContain('OpenAI Configuration Required');
|
expect(lastFrame()).toContain('OpenAI Configuration Required');
|
||||||
expect(lastFrame()).toContain('https://platform.openai.com/api-keys');
|
expect(lastFrame()).toContain(
|
||||||
|
'https://bailian.console.aliyun.com/?tab=model#/api-key',
|
||||||
|
);
|
||||||
expect(lastFrame()).toContain(
|
expect(lastFrame()).toContain(
|
||||||
'Press Enter to continue, Tab/↑↓ to navigate, Esc to cancel',
|
'Press Enter to continue, Tab/↑↓ to navigate, Esc to cancel',
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue