createNewMember: function()

in Pages/Customers.js [71:86]


    createNewMember: function (customerAccount, firstName, lastName, dayOfBirth, street, city, country ) {
        this.clickButtonOrLinkCreateNewMember();
        Common.verifyCardHasTitle("Create new member");
        this.enterTextIntoAccountInputField(customerAccount);
        this.enterTextIntoFirstNameInputField(firstName);
        this.enterTextIntoLastNameInputField(lastName);
        this.enterTextIntoDayOfBirthInputField(dayOfBirth);
        this.clickEnabledContinueButtonForMemberDetails();
        this.enterTextIntoStreetInputField(street);
        this.enterTextIntoCityInputField(city);
        this.selectCountryByName(country);
        this.clickEnabledContinueButtonForMemberAddress();
        this.clickEnabledCreateMemberButton();
        Common.verifyMessagePopupIsDisplayed("Member is going to be saved");
        Common.verifyCardHasTitle("Manage members");
    },