assertThat(dashboardAccountTab.getErrors())
.contains(DashboardAccountTab.PASSWORD_LENGTH_ERROR)
.as("Incorrect password length message displayed");
dashboardAccountTab = dashboardAccountTab
.typeNewPassword(tooLong)
.clickUpdatePasswordButton();
assertThat(dashboardAccountTab.getErrors())
.contains(DashboardAccountTab.PASSWORD_LENGTH_ERROR)