Add page selector directive in test arrangements