Note that the automatic test running on SB builds build server continuosly tests this functionality. The following tests are run:
DomainsPageTest#usedConfigurationFilteringTest
Create a new domain:
The edit domain page should be loaded with only the default config show. The configurations filter state should be that unused configurations are hidden, eg. the filter link text should 'Show unused configurations.
Create a new configuration:
The configuration should not be listed initially as the configuration is hidden by the unused filter.
Click the 'Show unused configurations' link:
The new configuration should appear in the configuration list as the second element.
Click the 'Hide unused configurations' link:
The new configuration should disappear from the configuration list.
Click the 'Show unused configurations' link again, set the second configuration as default configuration and click save:
Only the second configuration should be, as the 'Hide unused configuration filter has been reset after the save.
Click the 'Show unused configurations' link again:
Both configurations should now be listed again.
DomainsPageTest#usedSeedListsFilteringTest
Create a new domain:
The edit domain page should be loaded with only the default seed list show. The seed list filter state should be that unused seed lists are hidden, eg. the filter link text should 'Show unused seed lists.
Create a new seed list:
The seed list should not be listed initially as the seed list is hidden by the unused filter.
Click the 'Show unused seed list' link:
The new seed list should appear in the seed list list as the second element.
Click the 'Hide unused seed lists' link:
The new seed list should disappear from the seed list list.
Add the new seed list to the default config (which is a used config):
The seed list should now be listed.
Remove the default seed list from the default configuration:
Only the new seed list should now be listed.
SelectiveHarvestTest#selectiveHarvestListingTest
Create a selective harvest:
The harvest should be created successfully a be listed in the HD list.
Create a second harvest and active it:
The second harvest also be listed in the HD list.
Hide inactive harvests:
The harvest first harvest should disappear from the HD list the second should remain.
Show inactive harvests:
The harvest first harvest should reappear from the HD list the second should remain.
Note that the automatic test running on SB builds build server continuosly tests this functionality. The following tests are run:
DomainsPageTest#usedConfigurationFilteringTest
Create a new domain:
The edit domain page should be loaded with only the default config show. The configurations filter state should be that unused configurations are hidden, eg. the filter link text should 'Show unused configurations.
Create a new configuration:
The configuration should not be listed initially as the configuration is hidden by the unused filter.
Click the 'Show unused configurations' link:
The new configuration should appear in the configuration list as the second element.
Click the 'Hide unused configurations' link:
The new configuration should disappear from the configuration list.
Click the 'Show unused configurations' link again, set the second configuration as default configuration and click save:
Only the second configuration should be, as the 'Hide unused configuration filter has been reset after the save.
Click the 'Show unused configurations' link again:
Both configurations should now be listed again.
DomainsPageTest#usedSeedListsFilteringTest
Create a new domain:
The edit domain page should be loaded with only the default seed list show. The seed list filter state should be that unused seed lists are hidden, eg. the filter link text should 'Show unused seed lists.
Create a new seed list:
The seed list should not be listed initially as the seed list is hidden by the unused filter.
Click the 'Show unused seed list' link:
The new seed list should appear in the seed list list as the second element.
Click the 'Hide unused seed lists' link:
The new seed list should disappear from the seed list list.
Add the new seed list to the default config (which is a used config):
The seed list should now be listed.
Remove the default seed list from the default configuration:
Only the new seed list should now be listed.
SelectiveHarvestTest#selectiveHarvestListingTest
Create a selective harvest:
The harvest should be created successfully a be listed in the HD list.
Create a second harvest and active it:
The second harvest also be listed in the HD list.
Hide inactive harvests:
The harvest first harvest should disappear from the HD list the second should remain.
Show inactive harvests:
The harvest first harvest should reappear from the HD list the second should remain.