refactor(capacities): pull capacity type assert out from page objects