You are here: Mozilla MailNews Functional / UI Tests > LDAP Replication/Change log
Feature Test Spec: Mail and News Component
Mail and News Component: LDAP Replication/Change log
Written by Yulian ChangReferences
LDAP Replication and synchronization
- Directory Server Properties window
- verify offline panel is added to Directory Server Properties window
- verify the appropriate wording "you can download a local copy of this directory so that it is available for use when you are working offline."
- verify warning message provided if user tries to do replication
when offline
- "You must be online to replicate a directory"
- verify warning dialog shows for
- unreachable directory server, for example, remote server down
- unknow Hostname or Base DN
- Download
- verify a progress dialog shows to indicate the status of the
download
- verify "Replicated X entries...so far..." displayed
- verify total entries replicated displayed upon completion of replication
- verify the Progress dialog is non model
- verify other windows are not frozen and continue to operate
- read mail
- do address book search on other LDAP directory
- do address book search on the same LDAP directory as replication
- browse the web
- closing down Mozilla and verify replication continues with confirmation
- verify other windows are not frozen and continue to operate
- verify multiple replications are not allowed
- verify Download button is disabled while replication in progress or
- verify a confirmation dialog: "A replication of this directory is already in progress"
- verify replicating another directory is not allowd by exiting the current Directory properties dialog
- verify a confirmation dialog shows up and works as user
requests
- cancel replication and quit
- stop the quit and continue replication
- verify a progress dialog shows to indicate the status of the
download
- Update - changes to LDAP Directory Server and updates the locally
replicated AB for the directory with the changes since the last update.
Verify Search in AddressBook, Sidebar and Select Addresses and
autocomplete against the changes
- no change
- add new entries into LDAP Directory Server
- delete entries in LDAP Directory Server
- modify entries in LDAP Directory Server
- Combine adding, deleting and editing operation in Server
- Online search and aucomplete
- verify search and autocomplete through Directory Server not
local x.mab after replication while online and finds matching ones
- replicate subset of Directory server into local Address Book and search entries out of the range. Verify matchings are found
- change the Prefs (Directory server properties) against that
LDAP Address Book. Verify search and autocomplete finds
matchings
- Name
- Hostname
- Base DN
- verify search and autocomplete through Directory Server not
local x.mab after replication while online and finds matching ones
- Offline search and autocomplete
- verify there's a 'directoryname'.mab file for the LDAP server
- verify the size of .mab file increases or decreases after replication
- verify autocomplete against the replicated LDAP server
- verify quick search against the locally replicated Address Book
for the directory
- in Address Book window
- in Sidebar Address Book
- in Select Addresses dialog
- verify Advanced Address Book search works against the replicated LDAP Direcotry server
- verify search and autocomplete stop working if making changes (Properties) to that LDAP Address Book