@@ -643,24 +643,23 @@ test.describe("AI Profiles View", () => {
643643 await waitForSuccessToast ( page , "Profile created" ) ;
644644 } ) ;
645645
646- test ( "should hide thinking level when model doesn't support it" , async ( {
646+ test ( "should show thinking level controls when model supports it" , async ( {
647647 page,
648648 } ) => {
649649 await clickNewProfileButton ( page ) ;
650650
651- // Select Haiku model (doesn't support thinking)
652- await selectModel ( page , "haiku" ) ;
651+ // Select a model that supports thinking (all current models do)
652+ await selectModel ( page , "opus" ) ;
653+
654+ // Verify that the thinking level section is visible
655+ const thinkingLevelLabel = page . locator ( 'text="Thinking Level"' ) ;
656+ await expect ( thinkingLevelLabel ) . toBeVisible ( ) ;
653657
654- // Thinking level selector should not be visible
658+ // Verify thinking level options are available
655659 const thinkingSelector = page . locator (
656660 '[data-testid^="thinking-select-"]'
657661 ) ;
658- const count = await thinkingSelector . count ( ) ;
659-
660- // Note: Haiku supports thinking levels too, so this test may need adjustment
661- // Based on the actual implementation. For now, we'll check if at least
662- // some thinking options are visible
663- expect ( count ) . toBeGreaterThanOrEqual ( 0 ) ;
662+ await expect ( thinkingSelector . first ( ) ) . toBeVisible ( ) ;
664663 } ) ;
665664 } ) ;
666665
0 commit comments