Skip to content

Commit d686212

Browse files
committed
style: fix remove extra css related test
1 parent ca30f16 commit d686212

1 file changed

Lines changed: 0 additions & 39 deletions

File tree

src/pages/sidepanel/sections/TagConfig.test.tsx

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,6 @@ describe('TagConfig', () => {
4040
expect(treeDisplay).toHaveTextContent(mockTagConfig.url);
4141
});
4242

43-
it('should render with dark background styling', () => {
44-
const { container } = renderWithTheme(<TagConfig tagConfig={mockTagConfig} />);
45-
46-
const panel = container.querySelector('.MuiBox-root');
47-
expect(panel).toBeInTheDocument();
48-
expect(panel).toHaveStyle({ backgroundColor: '#272728' });
49-
});
50-
51-
it('should render with rounded corners', () => {
52-
const { container } = renderWithTheme(<TagConfig tagConfig={mockTagConfig} />);
53-
54-
const panel = container.querySelector('.MuiBox-root');
55-
expect(panel).toBeInTheDocument();
56-
// All corners are rounded (8px)
57-
expect(panel).toHaveStyle({ borderRadius: '8px' });
58-
});
59-
6043
it('should handle empty tagConfig', () => {
6144
const emptyConfig = {} as TagConfigModel;
6245
renderWithTheme(<TagConfig tagConfig={emptyConfig} />);
@@ -65,21 +48,6 @@ describe('TagConfig', () => {
6548
expect(treeDisplay).toBeInTheDocument();
6649
});
6750

68-
it('should render with full width', () => {
69-
const { container } = renderWithTheme(<TagConfig tagConfig={mockTagConfig} />);
70-
71-
const panel = container.querySelector('.MuiBox-root');
72-
expect(panel).toHaveStyle({ width: '100%' });
73-
});
74-
75-
it('should have correct padding', () => {
76-
const { container } = renderWithTheme(<TagConfig tagConfig={mockTagConfig} />);
77-
78-
const panel = container.querySelector('.MuiBox-root');
79-
// Padding is 0.625rem which equals 10px
80-
expect(panel).toHaveStyle({ padding: '0.625rem' });
81-
});
82-
8351
it('should handle different tagConfig versions', () => {
8452
const legacyConfig: TagConfigModel = {
8553
...mockTagConfig,
@@ -105,13 +73,6 @@ describe('TagConfig', () => {
10573
expect(treeDisplay).toHaveTextContent('test-stream');
10674
});
10775

108-
it('should not have hover effects', () => {
109-
const { container } = renderWithTheme(<TagConfig tagConfig={mockTagConfig} />);
110-
111-
const panel = container.querySelector('.MuiBox-root');
112-
expect(panel).toHaveStyle({ cursor: 'default', transition: 'none' });
113-
});
114-
11576
it('should render TreeDisplay inside styled panel', () => {
11677
const { container } = renderWithTheme(<TagConfig tagConfig={mockTagConfig} />);
11778

0 commit comments

Comments
 (0)