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

[placeholder] Dev story for profile/password change #368

Closed suprenant closed 6 years ago

suprenant commented 6 years ago

https://app.zenhub.com/workspace/o/18f/dol-whd-14c/issues/69

As a [type of user] I would like [functionality, behavior, etc.] so that [a particular task or need that is satisfied by the functionality or behavior]

Acceptance Criteria

NOTE: Remove any accessibility criteria that don't apply to this user story. For the full list of accessibility requirements, see issue #198, Fully Accessible Experience.

Functionality

Accessibility

NOTE: Remove any accessibility criteria that don't apply to this user story. For the full list of accessibility requirements, see issue #198, Fully Accessible Experience.

Keyboard Accessibility
Web: Forms

Web forms include controls (checkboxes, radio buttons etc.), and editable content (text input, select options etc.).

Web: Links and User Controls

Links and/or user controls must have meaningful names that describe the unique destination, function, and/or purpose of the control for assistive technology.

Web: Images

Web images include interactive images (links, buttons etc.), static images, charts, diagrams, text rendered as an image, etc.

Web: Image Maps (if no image map, then DNA)

An image map is a single image that has designated regions or "hotspots" that contain links.Server-side image maps may not be used. Client-side image-maps must be used instead

Color and Contrast

Color dependence is using color as the sole means to convey information. There must be contrasting colors/shades at a ratio of 4.5:1 for discerning between background and foreground content.

Time Outs

Messages and/or instructions to the user requesting their response within a given time are typically associated with sites that require a secure login. This includes both server time outs and client side security time outs. If a time out is about to occur, an alert must be posted for at least 20 seconds and the user must have the option to request more time. The alert (often a pop up window) and option to request more time must be keyboard accessible.

Web: Language

A default language must be programmatically identified for each page and for passages that use a language other than the default.

Web: Section Headings

Headings must be programmatically identified and must match the visual outline level.

Web: Data Tables (If no table, then DNA)

Data tables are those tables where the information in a cell requires a row or column header to adequately describe the cell's contents.

Web: Style sheet Dependence

style sheets are a means to provide visual formatting information to complement a web page's content.

Web: Frames

Frames are a means of separating out sections of a web page into different navigable regions

Web: Repetitive Content and Links

A method must be provided to skip blocks of repeated content or links on Web pages allowing a user to move directly to page-specific content.

Web: Required Plug-ins (if no plug-In, then DNA)

QASP requirements

These requirements are taken from the Quality Assurance Surveillance Plan

EStriegel commented 6 years ago

@phirefly This can be converted into implementation story based on design in #206

PrabhakarThummala commented 6 years ago

Change Password: Email edit box accepts any email id. But application changes the logged in user's password correctly.

mmurthydol commented 6 years ago

@binwang89 Why is there an email edit text box in the first place?? Can you check the flow please &/or Prabhakar can repro the issue?

PrabhakarThummalaDOL commented 6 years ago

From the Dashboard, click on 'Account', which displays 'Change password' screen as below: image

Application allows the user to enter any email id in the 'Email' box: image

And user can enter old and new passwords and save. image

Password changed for the logged in user id.

mmurthydol commented 6 years ago

Opened defect #665 Email should not be editable when changing password. @PrabhakarThummala Could you please perform following tests?

Change email to a different email from the authenticated user: AND (a) different email exists in 14c (b) different email doesn't exist in 14c.

In both the above cases, password change must not be successful. If it is, we have a security defect.

PrabhakarThummalaDOL commented 6 years ago

@EStriegel @binwang89 @mmurthydol : Application updates the current user's password when the email id entered a) different email exists in 14c b) different email doesn't exists in 14c. (updates in both the cases).

mmurthydol commented 6 years ago

@EStriegel @binwang89 Please test and close the issue if all ok.

binwang89 commented 6 years ago

@mmurthydol what is the correct workflow for testing this user story, the email is still editable when i do the testing. The related bug user story #665 is still in backlog.

binwang89 commented 6 years ago

Move #665 to Ready to Start. Once it is completed, i will test this user story.

binwang89 commented 6 years ago

@mmurthydol @PrabhakarThummalaDOL I tested this issue and see the screenshot below: Application updates the current user's password when the email id entered correct email in 14c. if user enter wrong email address, the application won't update the password. it is also depends on another user story #665 image

image

mmurthydol commented 6 years ago

@PrabhakarThummala Prabhakar, I thought we shouldn't be able to change the email on this page?? @binwang89 FYI

PrabhakarThummalaDOL commented 6 years ago

@mmurthydol @binwang89 The fix for #665 in is code review section. Not yet moved to dev. site.

mmurthydol commented 6 years ago

Thanks Prabhakar @PrabhakarThummala