QA/Mozmill Test Automation/Shared Modules Refactor/Q2 Achievements

From MozillaWiki
Jump to: navigation, search

Achievements for API Refactor/Rewrite during Q2

Project Structure

  • Reworked file/folder structure for easier comprehension
  • Created thin prototype inheritance framework to replace 3rd party classical inheritance framework
  • Moved all internal classes to thin prototype inheritance framework
  • Introduced ruby-style mixins for UI customization
  • Moved UI customization to class factories; mixins remain available for other uses

Harness Behavior

  • Added default behavior to setup from and teardown to a known state

Element Resolution

  • Added ability to access page content elements
  • Added ability to access anonymous elements
  • Added elasticity (implicit delay allowed on element resolution)

Shared Modules

  • Improved/finalized the assertion modules
  • Sold assertion modules to A-Team
  • Cleaned up driver module for sale to A-Team (sold in Q3)
  • Added module for centralizing DTD (l10n resource) handling
  • Ported Places shared module

Window Handling

  • Cleaned up/improved window handling
  • Added modal dialog handling