An implementation of a contact-list.
Goals of this assignment:
- Become familiar with the usage of a template-engine.
- Write your first e2e-tests.
Implement the UI of the contact-list.
- Familiarize yourself with the code, in particular with the controller
- Implement the list of contacts
- The user should be able to click a contact to see the details
- Show the details of a selected contact
- Show the name, the first email and the first phone-number in a table
- Show a placeholder when no contact is selected
- Simplify the details using a user-defined macro
- Move the header section to a separate file, that can be reused
Add e2e-tests to validate your UI.
- Implement a page object for the index-page
- Write a test to validate that initially no contact details are visible
- Write another test to validate that contact details are visible after the user selects one
Improve the UI.
- Show the job-title and the company of a selected contact
- Show all emails and phone-numbers of a contact
- Hide the label, if no email/phone-number is present
- Mark the selected contact in the contact-list
Implement more complex e2e-tests.
- Write a test to validate that the displayed data of a selected contact is correct
- Write another test to validate that the right data is displayed if a second contact is clicked