11import { useState } from 'react' ;
22
3- import { ModelSelector , SequenceSelector , PrecisionSelector } from '@/components/ui/chart-selectors' ;
3+ import {
4+ ModelSelector ,
5+ SequenceSelector ,
6+ PrecisionSelector ,
7+ } from '@/components/ui/chart-selectors' ;
48import { TooltipProvider } from '@/components/ui/tooltip' ;
59
610function ModelSelectorHarness ( ) {
@@ -51,10 +55,6 @@ describe('Chart Selectors', () => {
5155 cy . mount ( < ModelSelectorHarness /> ) ;
5256 } ) ;
5357
54- it ( 'renders with data-testid' , ( ) => {
55- cy . get ( '[data-testid="model-selector"]' ) . should ( 'be.visible' ) ;
56- } ) ;
57-
5858 it ( 'shows options when clicked' , ( ) => {
5959 cy . get ( '[data-testid="model-selector"]' ) . click ( ) ;
6060 cy . get ( '[role="option"]' ) . should ( 'have.length.greaterThan' , 0 ) ;
@@ -72,10 +72,6 @@ describe('Chart Selectors', () => {
7272 cy . mount ( < SequenceSelectorHarness /> ) ;
7373 } ) ;
7474
75- it ( 'renders with data-testid' , ( ) => {
76- cy . get ( '[data-testid="sequence-selector"]' ) . should ( 'be.visible' ) ;
77- } ) ;
78-
7975 it ( 'shows options when clicked' , ( ) => {
8076 cy . get ( '[data-testid="sequence-selector"]' ) . click ( ) ;
8177 cy . get ( '[role="option"]' ) . should ( 'have.length' , 3 ) ;
@@ -93,10 +89,6 @@ describe('Chart Selectors', () => {
9389 cy . mount ( < PrecisionSelectorHarness /> ) ;
9490 } ) ;
9591
96- it ( 'renders with data-testid' , ( ) => {
97- cy . get ( '[data-testid="precision-multiselect"]' ) . should ( 'be.visible' ) ;
98- } ) ;
99-
10092 it ( 'shows current selection' , ( ) => {
10193 cy . get ( '[data-testid="precision-multiselect"]' ) . should ( 'contain' , 'FP8' ) ;
10294 } ) ;
0 commit comments