Skip to content

Conversation

@avandeursen
Copy link
Owner

Re-implementation of the Angular Phonecat Protractor test scenarios.

This reimplementation has two 'state objects', which are page-objects derived from a state machine. The actual statechart used is shown below.

As a result, the scenarios themselves are more robust and easier to follow, since the protractor details are hidden in the state objects. Furthermore, the diagram guides the design of the actual scenarios.

Note that the state object methods return promises.

image

See also:

@avandeursen
Copy link
Owner Author

Note: This pull request thankfully uses @felthat's fix to the original protractor test suite available from angular#267.

That fix is unrelated to the use of page/state objects, but just need to get the tests working in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants