mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-16 16:15:19 +00:00
fix(ui): simplify provider chooser cards
This commit is contained in:
1 parent
3954e445f3
commit
a999adc776
2 files changed
+20
-21
No files matched your search
@@ -34,7 +34,7 @@ describe('ProfileCreateDialog', () => {
|
||||
);
|
||||
|
||||
expect(screen.getByText('Featured Providers')).toBeInTheDocument();
|
||||
expect(screen.getByText('Alibaba Coding Plan')).not.toHaveClass('truncate');
|
||||
expect(screen.getByText('Alibaba Coding Plan')).toBeVisible();
|
||||
const morePresetsToggle = screen.getByRole('button', { name: /More Presets/i });
|
||||
expect(morePresetsToggle).toHaveAttribute('aria-expanded', 'false');
|
||||
expect(document.body.querySelectorAll('.overflow-x-auto')).toHaveLength(1);
|
||||
|
||||
Reference in new issue
Block a user