Additions to UI test steps

I copied this complex regexp from the previous rule, which was written by @breville.  I admit I'm having trouble figuring out why there'd be a difference between the two regexps.