QA: refactor pageactions_steps for RSpec3

Change-Id: I8b5604353ae30fa6bf09edfc50cec1901a8f8d12