Instead of relying on first, you may want to expose a container for each pitch based upon the id. i.e. `expect(page.find("#pitch-#{pitch.id} #score}).text).to eq "1"

Otherwise when you modify your DOM to randomly shuffle pitches so as to preclude bias you don't have to change your tests.