Stepper motor does not turn

The motor wire colours are meaningless unless you have a datasheet for that specific motor. Even then I would check them with your multimeter. The wires from one motor coil go to 1A and 1B and the wires from the other coil go to 2A and 2B.

...R