This application contains three distinct exercises, each with multiple sub tasks. Each sub task has a corresponding unit test that will pass upon successful implementation.
While a unit test will confirm the correct result, there are multiple ways to complete almost every task. It is recommended to follow Ember.js conventions where appropriate, and avoid using any additional libraries such as jquery, underscore.js, etc.
Each task makes heavy use of ember components, so you are encouraged to review ember component documentation to better understand the component lifecycle and the many methods, properties, and events that the ember framework provides.
You will need the following things properly installed on your computer:
- Git
- Node.js (with NPM)
- Ember CLI (npm install -g ember-cli@2.12.0)
- PhantomJS (npm install -g phantomjs@2.1)
You will need to set up and install the project dependencies:
npm install -g ember-cli@2.12.0
to install the ember command line toolsnpm install -g phantomjs@2.1
to install the phantomjs, for running unit testscd frontend_platform_interview
npm install
cd rs-fed-interview
ember serve
- Visit the app at http://localhost:4200 to begin the exercises.
- View unit and integration test results at http://localhost:4200/tests
- If you are unable to get all tests passing, but think your solution is correct, or are unsure how to proceed, you can still submit your solution, but please include a description of the problems you are facing with your submission.
Send your changed files to your hiring contact at RedShelf in .zip
file containing the following two directories:
frontend_platform_interview/app
frontend_platform_interview/tests
You do not need to include any of the other directories in your submission.
- ember guides
- ember.js
- ember-cli
- Development Browser Extensions
Almost all tests passed beside 'it returns to full size after clicking the small box'. It won't pass because of the transition, the assertion happens right after the click, so we would either have to timeout or - what I personally think would be a better solution - disable transitions in the test environment.