Led to run Loop in Switch Case

Good Day Every one

I’am making a cable tester
Any Help would be appreciated
The Led must loop in the case until the button have been pushed again to go to the next case to run the next Led loop.
Button press is once to go to the next case.

Thank you

led_button_press_9.ino (3.86 KB)

Please read section 7 in the instructions for posting to choose to modify - not re-post - your first post there, in order to show the code.