Skip to content
The Chat Archive
gpt-3.5-turbo-0125· OpenAI WildChat-4.8M (AI2)

Write BDD cases for the following requirement General Rules: Children accounts can only…

  1. User

    Write BDD cases for the following requirement General Rules: Children accounts can only be linked to their guardian. Children accounts should get de-linked if the account status gets changed to legal, deceased, blacklisted. Children accounts should automatically get de-linked if the child reaches 21 years. Children can only be linked to a single user. Linked Accounts section on Dashboard: Users should see a section for linked accounts on the dashboard. Section Name: En: Family Accounts Ar: Only eligible users who have accounts that can be linked should see the section. if they don’t, then the section should not be visible. The family Accounts section should show linked children accounts. If no children accounts were linked, a message should appear that the user has not linked any accounts yet. Users should see a button that takes them ‘Manage My Family’ page. Manage Linked Accounts: Users should see a section to manage accounts that can be linked/unlinked. Manage my Family section should display children’s accounts that can be linked or unlinked. Children Accounts should show: Child name Users should be able to select the children accounts that they would like to link or unlink to their MOB account. Linking Account Flow: Once users select the children, they should click on a button to proceed. Button Name: En: Link Accounts Ar: Users should see the OTP screen with ability to either select to receive OTP via SMS or email. Once users select their preferred option, they should click on continue. Users should receive an OTP using their preferred choice. Users should see a page to input their OTP code. Users should be able to confirm to proceed. Users should see a success page confirming that their children accounts are now linked. Unlinking Account Flow: Once users select the children, they should click on a button to proceed. Button Name: En: Unlink Accounts Ar: Users should see a message informing them that they’re about to unlink the selected accounts and that they will no longer see it visible and that they have to link it later if they want. Users should see a success page confirming that their children accounts are now unlinked. Children Account Access: Users who have children accounts linked should be able to see their children account on the dashboard within 'Family Accounts' section.

    Data Requirements:

    of users who have linked accounts using the new section.

    of users who have unlinked accounts using the new section.

    of clicks through the journey.

    of time spent on each page of the journey.

    Duration of time it took users to complete a journey (linking/unlinking)

  2. Assistant

    Feature: Account Linking for Children

    Scenario: Linking Children Account to Guardian Account Given a user is logged in with a guardian account When the user navigates to the Manage My Family section And selects a child account to link And clicks on the "Link Accounts" button Then the user should receive an OTP via SMS or email And after entering the OTP code, the children account should be successfully linked And the user should see a success message confirming the link

    Scenario: Unlinking Children Account from Guardian Account Given a user is logged in with a guardian account When the user navigates to the Manage My Family section And selects a child account to unlink And clicks on the "Unlink Accounts" button Then the user should see a confirmation message about unlinking the account And after confirming, the children account should be successfully unlinked And the user should see a success message confirming the unlink

    Scenario: Children Account De-linking Conditions Given a children account is linked to a guardian account When the children account status changes to legal, deceased, or blacklisted Then the children account should be automatically de-linked from the guardian account

    Scenario: Children Account De-linking at Age 21 Given a children account is linked to a guardian account When the child reaches 21 years old Then the children account should be automatically de-linked from the guardian account

    Feature: Dashboard Sections for Linked Accounts

    Scenario: Viewing Linked Accounts Section Given a user is logged in with an eligible account And has linked children accounts When the user views the dashboard Then they should see the "Family Accounts" section And the linked children accounts should be displayed

    Scenario: Managing Linked Accounts Given a user is logged in with an eligible account And has linked children accounts When the user navigates to the Manage My Family section Then they should see the children accounts that can be linked or unlinked And be able to select children accounts to manage

    Feature: Data Collection

    Scenario: Tracking User Actions Given users interact with the Account Linking feature When users navigate through the journey Then the system should track the number of users linking and unlinking accounts And track the number of clicks and time spent on each page in the journey And calculate the duration of time taken for users to complete the journey

    Feature: Children Account Access

    Scenario: Viewing Children Account on Dashboard Given a user has linked children accounts When the user views the dashboard Then they should see their children account within the "Family Accounts" section.