edx/edx-platform — pull request #1270 by wedaly (2013-10-09 13:17:23+00:00)
Title: Fix for failures in component.feature

The previous implementation would (1) use `css_find` to identify all components, then (2) verify that the components matched what we expected. If the last component hadn't finished initializing when we called `css_find`, the test would fail.

This fix mitigates the problem in two ways:
1) Adds an explicit wait for the number of components to appear
2) Retrieves components sequentially, instead of all at once in the beginning.

@jzoldak