File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -885,35 +885,6 @@ describe("profile - shared", () => {
885885 useMockRouter ( { isReady : true , query : { } } ) ;
886886 } ) ;
887887
888- it ( "updates the tab query param when navigating between tabs" , async ( ) => {
889- const business = generateBusinessForProfile ( { } ) ;
890- renderPage ( { business } ) ;
891-
892- await act ( async ( ) => {
893- chooseTab ( "numbers" ) ;
894- } ) ;
895-
896- await screen . findByRole ( "tabpanel" , {
897- name : Config . profileDefaults . default . profileTabNumbersTitle ,
898- } ) ;
899-
900- await waitFor ( ( ) => {
901- expect ( window . location . search ) . toContain (
902- `?${ QUERIES . tab } =${ Config . profileDefaults . default . profileTabSlugs . numbers } ` ,
903- ) ;
904- } ) ;
905-
906- await act ( async ( ) => {
907- chooseTab ( "contact" ) ;
908- } ) ;
909-
910- await waitFor ( ( ) => {
911- expect ( window . location . search ) . toContain (
912- `?${ QUERIES . tab } =${ Config . profileDefaults . default . profileTabSlugs . contact } ` ,
913- ) ;
914- } ) ;
915- } ) ;
916-
917888 it ( "navigates to the correct slug for all tabs defined in Config" , async ( ) => {
918889 const business = generateBusinessForProfile ( {
919890 profileData : generateProfileData ( {
You can’t perform that action at this time.
0 commit comments