Suppose two people are working the same cyber-dojo practice session (with the same kata id) in two different browsers.
Sarah gets "ahead" of Fred and she has three traffic-lights, red, amber, green (say).
Meanwhile, Fred is behind, and only sees one red traffic-light.
In this case, after Fred has made some edits, when he presses [test] he will get a dialog box popping telling him that he has got an "out-of-sync" mobbing error.
A new traffic-light will also appear, but that new traffic-light has not been saved.
Rework the necessary code so that the "out-of-sync" mobbing error is shown, but the traffic-light does NOT appear.
Also tweak the mobbing error text (from source/app/kata/run_tests.js.rb) so that it says "Failed to save the COLOUR traffic-light".
Suppose two people are working the same cyber-dojo practice session (with the same kata id) in two different browsers.
Sarah gets "ahead" of Fred and she has three traffic-lights, red, amber, green (say).
Meanwhile, Fred is behind, and only sees one red traffic-light.
In this case, after Fred has made some edits, when he presses [test] he will get a dialog box popping telling him that he has got an "out-of-sync" mobbing error.
A new traffic-light will also appear, but that new traffic-light has not been saved.
Rework the necessary code so that the "out-of-sync" mobbing error is shown, but the traffic-light does NOT appear.
Also tweak the mobbing error text (from source/app/kata/run_tests.js.rb) so that it says "Failed to save the COLOUR traffic-light".