-
Notifications
You must be signed in to change notification settings - Fork 12
UI tests
drkitty edited this page Feb 4, 2015
·
8 revisions
- for "global" container and at least one other container:
- for type in [container, address record, CNAME, domain, NS, MX, PTR, SOA, SRV, SSHFP, TXT, dynamic interface, static interface, network, range, site, VLAN, VRF, workgroup]:
- go to list page
- click "Create {type}" button -- form slides down
- fields have default values
- do CREATION FORM TESTS
- input data, click same "Create {type}" button, click again -- form slides up then back down, fields have default values
- click info button next to an object -- nav to detail page
- click edit button next to an object
- do EDIT FORM TESTS
- click "Create {type}" button -- form slides down
- go to list page
- for type in [container, address record, CNAME, domain, NS, MX, PTR, SOA, SRV, SSHFP, TXT, dynamic interface, static interface, network, range, site, VLAN, VRF, workgroup]:
CREATION FORM TESTS:
- do OBJECT FORM TESTS
- input valid data, click "Create {type}" button in form -- object is created
- input invalid data, click "Create {type}" button in form -- error message(s) are shown
- input invalid data, click "Create {type}" button in form, correct invalid data, click "Create {type}" in form -- object is created
EDIT FORM TESTS:
- do OBJECT FORM TESTS
- input valid data, click "Create {type}" button in form -- object should be created/updated
- input invalid data, click "Create {type}" button in form -- error message(s) are shown
- input invalid data, click "Create {type}" button in form, correct invalid data, click "Create {type}" button in form -- object should be created/updated
OBJECT FORM TESTS:
- click "Cancel" -- form slides back up
- every field is clickable and editable if not grayed out
- every field named "Domain", "Root domain", "Workgroup", "Network", "VLAN", or "Range" is filtered by the current container