Hi!
(I didn’t notice your reply above. Skip to workaround below)
The Wait command only makes things in the first condition wait. E.g., the second Set Text command will wait to execute. However, the Wait in the first condition does not make the second condition wait: it is evaluated right away. (The same thing would happen in Javascript, etc.)
You can verify this (but not fix it) by changing the condition in Case 2 to:
IF (value) 1 equals (value) 1
…which will execute no matter what. You’ll see that the second widget gets the “Success” message immediately.
Not the answer you are looking for, I’m sure! If you describe what you are hoping to achieve, I’m sure there’s a workaround.
[Edit]
Actually, here’s a workaround. You can call a “function” to test for the result after the wait, and the put the second condition in the function. The reason function is in quotes is that Axure doesn’t really have functions, but you can simulate one by creating a widget (I use a hotspot) that handles the Moved event, and move that hotspot by 0,0 when you want to “call the function” example:
On Click or Tap (of button)
Set Text on label 1 to "A"
Wait 1000
Set Text on label1 to "B"
Move hotspot "test label1" by 0,0
On Moved (of hotspot "test label1")
If text on label1 equals B
Set text on label2 to Success!
You can make as many of these hotspots as you want, so you can test for multiple different things. Or you can of course put multiple conditions in a single hotspot.