18F / dol-whd-14c

The 14(c) system will become a modern, digital-first service. Applicants will be provided an intuitive online experience, guiding them through the information needed to complete their application correctly.
Other
16 stars 17 forks source link

Redirect a user to Employer Registration from Dashboard if no employer exists yet #631

Closed phirefly closed 6 years ago

phirefly commented 6 years ago

If an employer is not registered, do not allow the user to view the Dashboard. Rather, the user should be directed to the Employer Registration page. This was discovered when trying to click on the Start a New Application button on the Dashboard page when no registered employer employer existed.

Acceptance Criteria

binwang89 commented 6 years ago

@mmurthydol @EStriegel I have collected all URLs for 14c pages and we will follow the steps that instructed by Madhu for the QA today. Login Workflow https://dol-whd-section14c-qa.aisdemos.com/#!/ https://dol-whd-section14c-qa.aisdemos.com/#!/login https://dol-whd-section14c-qa.aisdemos.com/#!/dashboard https://dol-whd-section14c-qa.aisdemos.com/#!/changePassword https://dol-whd-section14c-qa.aisdemos.com/#!/help https://dol-whd-section14c-qa.aisdemos.com/#!/employerRegistration

Employer https://dol-whd-section14c-qa.aisdemos.com/#!/section/employer Wage Data https://dol-whd-section14c-qa.aisdemos.com/#!/section/wage-data Work Sites & Employees https://dol-whd-section14c-qa.aisdemos.com/#!/section/work-sites Review & Submit https://dol-whd-section14c-qa.aisdemos.com/#!/section/review Assurances https://dol-whd-section14c-qa.aisdemos.com/#!/section/assurances Application Info https://dol-whd-section14c-qa.aisdemos.com/#!/section/app-info WIOA https://dol-whd-section14c-qa.aisdemos.com/#!/section/wioa

binwang89 commented 6 years ago

@mmurthydol @EStriegel tested again at QA site today, The system will redirect a user to Employer Registration from Dashboard if no employer exists. Even i tried to put any web page link at the top and see if the user can go the page ( wage data, work sites & employee....), the system will still direct me back to employer registration page. If there is registered employer and the user is not log in, the system will always redirect the user to the login page.

EStriegel commented 6 years ago

Moving to Done per Michelle's above comment.