public void CorrectErrorMessagesAreDisplayed_When_RegisteringWithEmptyFields() { //----------Arrange---------- List <Enum> expectedErrors = new List <Enum> { SignUpPage.Errors.emptyFirstName, SignUpPage.Errors.emptyLastName, SignUpPage.Errors.emptyEmail, SignUpPage.Errors.emptyPassword, SignUpPage.Errors.emptyAddress, SignUpPage.Errors.emptyCity, SignUpPage.Errors.emptyCountry, SignUpPage.Errors.missingCountryID, SignUpPage.Errors.invalidCountry, SignUpPage.Errors.emptyPhone, SignUpPage.Errors.emptyAlias }; _expectedErrorMessages = _signUpPage.GetExpectedErrorMessages(expectedErrors); //----------Act---------- _signUpPage.EnterEmptyCountry(); _signUpPage.EnterEmptyEmail(); _signUpPage.EnterEmptyAlias(); _signUpPage.SubmitAccountData(); //----------Assert---------- _signUpPage.AssertListOfErrorMessagesIsDisplayed(_expectedErrorMessages); }