VEXCode v5 Light Sensor program for TestBed

I’m trying to program the testbed to stop running the moter after the “Light Sensor” is activated.
I have the light Sensor in an Operators block, inside a “wait until block”

wait until Light brightness in % > 10

what am i doing wrong. the debuggers shows it passing the 10% threshold