public void ProjectionResultsForAnEmployedPersonAreDisplayed() { Navigation.NavigateToKiwiSaverRetirementCalculator(_browser); KiwiSaverRetirementCalculator kiwiSaverRetirementCalculatorObject = new KiwiSaverRetirementCalculator(_browser); kiwiSaverRetirementCalculatorObject.InputCurrentAge("30"); kiwiSaverRetirementCalculatorObject.SelectEmploymentStatus("Employed"); kiwiSaverRetirementCalculatorObject.InputSalaryPerYear("82000"); kiwiSaverRetirementCalculatorObject.SelectKiwiSaverContribution("4%"); kiwiSaverRetirementCalculatorObject.SelectPIR("17.5%"); kiwiSaverRetirementCalculatorObject.SelectRiskProfile("High"); kiwiSaverRetirementCalculatorObject.ClickViewProjectionsButton(); kiwiSaverRetirementCalculatorObject.Validations().ProjectionResultIsVisible(); }
public void ProjectionResultsForSelfAndNonEmployedPersonsAreDisplayed(string age, string employmentStatus, string PIR, string currentBalance, string voluntaryContribution, string contributionFrequency, string riskProfile, string goalRequirement) { Navigation.NavigateToKiwiSaverRetirementCalculator(_browser); KiwiSaverRetirementCalculator kiwiSaverRetirementCalculatorObject = new KiwiSaverRetirementCalculator(_browser); kiwiSaverRetirementCalculatorObject.InputCurrentAge(age); kiwiSaverRetirementCalculatorObject.SelectEmploymentStatus(employmentStatus); kiwiSaverRetirementCalculatorObject.SelectPIR(PIR); kiwiSaverRetirementCalculatorObject.InputCurrentBalance(currentBalance); kiwiSaverRetirementCalculatorObject.InputVoluntaryContribution(voluntaryContribution); kiwiSaverRetirementCalculatorObject.SelectContributionFrequency(contributionFrequency); kiwiSaverRetirementCalculatorObject.SelectRiskProfile(riskProfile); kiwiSaverRetirementCalculatorObject.InputGoalRequirement(goalRequirement); kiwiSaverRetirementCalculatorObject.ClickViewProjectionsButton(); kiwiSaverRetirementCalculatorObject.Validations().ProjectionResultIsVisible(); }