test(e2e-viewState): update to new view title attribute pattern