Ironed out the bug, .val() is for form elements and thus wouldn't work on the div being injected into the dom. Swapping to .text() ironed out the bug. All play page specs are now green.