BO - Customers - Addresses - CRUD

Details

Steps

Step Description Expected result
Go to customers > addresses page Page title contains ‘Addresses’
reset all filters Number of addresses > 0
go to add new address page page title contains ‘Add new’
Create address
email : faker.internet.email
dni : ‘’
alias : faker.address.streetAddress
firstname : faker.name.firstName
lastName : faker.name.lastName
company : faker.company.companyName
vatNumber : ‘’
address : faker.address.streetAddress
secondAddress : faker.address.secondaryAddress
postal code : faker.address.zipCode(’#####’)
country : ‘France’, ‘Netherlands’, ‘United Kingdom’, ‘Germany’
phone : faker.phone.phoneNumber(‘01########’)
other : '’
Successful message is displayed
number of addresses = total of addresses + 1
go to customers > addresses page Page title contains ‘Addresses’
reset all filters Number of addresses = total of addresses + 1
filter by firstname and lastname At least one address in displaed
Go to edit address page page title contains ‘Edit’
Update address Successful message is displayed
go to customers > addresses page Page title contains ‘Addresses’
reset all filters Number of addresses = total of addresses + 1
filter by firstname and lastname At least one address in displaed
delete address Successful message is displayed