bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 59 forks source link

[SBC Connect Envelope ] - Log out of STRR #20987

Closed mbertucci closed 3 months ago

mbertucci commented 6 months ago

πŸ“– User Story

As a user of the STRR application, I want to be able to log out from either my SBC Connect account or the BC Services Card session via the dropdown under my name, So that I can securely end my session whether I have completed my SBC Connect registration or not.

Context:

Users may have chosen to use an SBC Account, Create a New Account or not have an account when initially logging in to the system. This story provides them with the opportunity to log out. If they don't have an account and they have not gotten to the end of the application when we create an SBC Connect Account for them then they will only have to log our of BC Services Card - Keycloak. If they have an account then they will log out of their SBC Connect Account

Making the menu responsiveness is out of scope for this story. The responsiveness will be handled in #20872

Housing landing page draft (need IDIR to view)- https://www2.qa.gov.bc.ca/gov/content/housing-tenancy/short-term-rentals/registry

🎨 UX/UI Link:

πŸ”— Mural Links:

Story in Mural: [Insert link to the story or additional context here]

Roadmap and Storymap links Roadmap: https://app.mural.co/t/citzservicebcbcros0435/m/citzservicebcbcros0435/1708551828009/76eaa2c92258b0bde76157b3dd6e37220967e91a?wid=0-1708639933585 Story Board: https://app.mural.co/t/citzservicebcbcros0435/m/citzservicebcbcros0435/1706554024951/153dc4e4f3fbbd7cfc1352e0c804cb105960321e?sender=u919d7a4924c2e37e12b55343

πŸ“ Business Rules

🎭 Story Scenarios

Scenario 1: Logging Out with an SBC Connect Account Given I am logged into the STRR application and have an SBC Connect Account, When I click 'Log Out' from the SBC Connect Account dropdown under my name at the top right-hand side of the screen, Then I should be logged out of my SBC Connect Account, And I should receive confirmation of successful logout, And be redirected to the login page of the STRR application.

Scenario 2: Logging Out without an SBC Connect Account Given I am logged into the STRR application and do not have an SBC Connect Account (because I have not yet submitted my application), When I choose to log out from the dropdown under my name at the top right-hand side of the screen, Then I should be logged out of both the BC Services Card session and the H application, And I should receive confirmation of successful logout, And be redirected to the login page of the STRR application.

🌐 Accessibility Scenarios ### Keyboard Users Scenario: Comprehensive Keyboard Navigation Given I am a keyboard user on the website When I use the Tab key to navigate through the website Then all interactive elements should be accessible and highlighted And I should be able to activate these elements using the Enter or Space key Scenario: Full Content Accessibility via Keyboard Given I am a keyboard user navigating the website When I traverse through different pages and sections Then all content should be fully accessible using the keyboard alone And there should be no traps that prevent me from navigating away using the keyboard ### Screen Reader Users Scenario: Accessible Image Descriptions Given I am using a screen reader on the website When I encounter images Then each image should have descriptive alt text that conveys the same message as the image Scenario: Structured Navigation for Screen Readers Given I am navigating the website using a screen reader When I move through different page elements Then the content should be structured with proper headings And the reading order should be logical and sequential Scenario: Descriptive Form Fields Given I am filling out a form using a screen reader When I navigate through the form fields Then each field should be clearly labeled with descriptive text And instructions should be directly associated with their respective inputs ### Low Vision Users Scenario: Effective High Contrast Mode Given I am a user with low vision on the website When I enable high contrast mode Then all content should display with high color contrast suitable for low vision And the layout should remain coherent and unchanged Scenario: Text Resizing Accommodation Given I am a user with low vision on the website When I increase the text size Then the text should resize without loss of information or functionality And the page layout should adapt accordingly without disrupting the user experience Scenario: Personalized Styling Preferences Given I am a user with low vision adjusting settings on the website When I customize my styling preferences, including colors, fonts, and spacing Then these adjustments should be applied consistently across all pages And the changes should persist during my entire session or until altered by me
## 🌍 Global Scenarios ## Data Validation # Mikaela to confirm: Do we need to do these for MVP - data validation required for inputing data in the right format - as defined by business rules. ### Internet Connection #### Standard Internet Connection Given I am accessing the website from a standard internet connection When I navigate to any page on the site Then the page should load completely within 2 seconds, ensuring a fast and efficient user experience. #### Low-Speed Internet Given a user accesses "Application Details View" with a low-speed internet connection defined as under [specific speed] Mbps When the user attempts to load and interact with the dashboard page Then the "Application Details View" should prioritize critical content and functionality, loading essential elements first to ensure usability. #### Mobile Responsiveness Given I am accessing "Application Details View" on a mobile device When I click on the "any" link Then "_____ " should display correctly and be easily editable on my device, ensuring a responsive design.
jdyck-fw commented 6 months ago

Assigned to you @trevoratindustrio to break into subtasks