Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
edd6e2e
family invite added
Nikunjsharma0 Feb 4, 2026
76dff5d
updated test for family member flow
poojaustad Feb 5, 2026
63fcc2b
Merge branch 'main' into invite-family-person
Nikunjsharma0 Feb 6, 2026
f700227
child name added
Nikunjsharma0 Feb 6, 2026
ee225cb
commit
Nikunjsharma0 Feb 9, 2026
2344627
updated test - repeated teacher login removed
poojaustad Feb 10, 2026
51f4f64
updated test - clean up
poojaustad Feb 10, 2026
01fe7f1
As per comment test fix added
poojaustad Feb 23, 2026
1cd2632
Merge branch 'main' into invite-family-person
Nikunjsharma0 Mar 10, 2026
4e6e815
enter invite code button added
Nikunjsharma0 Apr 10, 2026
131a2b2
child dropp down added in acceptinvite viewmodel
Nikunjsharma0 Apr 23, 2026
e0f6678
feat: invites handled using links
Nikunjsharma0 Apr 27, 2026
9e90d22
changes in account list screen
Nikunjsharma0 Apr 30, 2026
cbee111
select account list screen added
Nikunjsharma0 May 4, 2026
4745da9
Add Maestro flows for inviting existing users via invite codes or lin…
poojaustad May 4, 2026
0d0fbc4
Merge remote-tracking branch 'origin/invite-existing-user' into invit…
poojaustad May 4, 2026
81c6eed
Add Maestro flows for inviting existing users via invite codes or lin…
poojaustad May 4, 2026
75e449f
commit
Nikunjsharma0 May 5, 2026
4ee7299
Merge remote-tracking branch 'origin/invite-family-person' into invit…
poojaustad May 5, 2026
1a94f70
Refactor Maestro flows and update the invite testing scenario to cove…
poojaustad May 5, 2026
825e4b3
Delete unused Maestro subflow `create_account_for_person.yaml`.
poojaustad May 5, 2026
0aba198
family invite added
Nikunjsharma0 May 5, 2026
c2a1f6c
family invite added
Nikunjsharma0 May 5, 2026
1809916
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 6, 2026
c47fe2b
Update variable names in `school_user_login_flow.yaml` to use `${USER…
poojaustad May 6, 2026
513824c
Update Maestro flow
poojaustad May 6, 2026
afbac4a
MessageScreen.kt removed
Nikunjsharma0 May 7, 2026
82ff455
select account bug fix
Nikunjsharma0 May 7, 2026
2a9e615
Merge branch 'main' into invite-existing-user
Nikunjsharma0 May 11, 2026
b02507f
Comment out account selection and login steps in Maestro flow `001_00…
poojaustad May 11, 2026
4727585
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 11, 2026
3fc7acd
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 11, 2026
160dece
text chnage
Nikunjsharma0 May 11, 2026
779d943
Update Maestro flow `001_001a_invite_new_users_using_qr_code_or_link_…
poojaustad May 12, 2026
2fd3d14
Update Maestro flow configurations to fix an incorrect environment va…
poojaustad May 12, 2026
50291fd
Update Maestro flows `001_001a` and `001_001b` to remove unnecessary …
poojaustad May 12, 2026
b8e4f0e
Update assertion in Maestro flow `001_001b_invite_existing_users_usin…
poojaustad May 13, 2026
1ad56e1
Update Maestro flow
poojaustad May 13, 2026
9a2db0e
Move Maestro flows for school login, direct user addition, lesson bro…
poojaustad May 13, 2026
e0b33fd
changes in family invite
Nikunjsharma0 May 13, 2026
c82694c
commit
Nikunjsharma0 May 13, 2026
42344e7
commit
Nikunjsharma0 May 13, 2026
426b59c
commit
Nikunjsharma0 May 13, 2026
eba5ee8
clear state added in test
Nikunjsharma0 May 14, 2026
e848e1d
Add a tap action on the "Get Started" button to the `openlink_flow.ya…
poojaustad May 14, 2026
59a0834
text name change
Nikunjsharma0 May 14, 2026
e6c4451
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 14, 2026
5921fb5
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 14, 2026
f402510
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 14, 2026
4b33c0d
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 14, 2026
580ef9c
To Speed-up e2e test
poojaustad May 14, 2026
c317c05
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 14, 2026
2abaf2e
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 14, 2026
26d8a59
Update Maestro flow
poojaustad May 14, 2026
d20cff3
coomit
Nikunjsharma0 May 14, 2026
f4b21db
Merge remote-tracking branch 'origin/invite-existing-user' into invit…
Nikunjsharma0 May 14, 2026
4b4b1b3
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 14, 2026
0b0861d
Merge remote-tracking branch 'origin/invite-existing-user' into invit…
poojaustad May 14, 2026
0af6085
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 14, 2026
2179b4f
destination change
Nikunjsharma0 May 14, 2026
5b05bce
Update Maestro flow `001_001b_invite_existing_users_using_invite_code…
poojaustad May 14, 2026
232908b
changes for test
Nikunjsharma0 May 15, 2026
310a51f
tests enabled
Nikunjsharma0 May 15, 2026
4da3ecd
Merge branch 'refs/heads/main' into invite-existing-user
Nikunjsharma0 May 15, 2026
7c49b7a
merged with main
Nikunjsharma0 May 15, 2026
78f3f36
class name saved in enrollment metadat
Nikunjsharma0 May 18, 2026
f693682
clean up
Nikunjsharma0 May 19, 2026
f8836f9
Merge branch 'main' into invite-existing-user
Nikunjsharma0 Jun 2, 2026
92635c9
merged with main
Nikunjsharma0 Jun 3, 2026
2c51aa2
Merge branch 'main' into invite-existing-user
Nikunjsharma0 Jun 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ onFlowComplete:
id: "schoolUrl"
- inputText: ${output.SCHOOL_URL}
- tapOn: "Next"
- tapOn: "Create new account"
- assertVisible:
id: "app_title"
text: "Invitation"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ onFlowStart:
SCHOOL_URL: ${SCHOOL_URL}
SCHOOL_NAME: ${SCHOOL_NAME}
URL_SUBSTITUTION: ${URL_SUBSTITUTION}
NAME: "001_001_invite_users_using_qr_code_or_link_test.yaml"
NAME: "001_001a_invite_new_users_using_qr_code_or_link_test"

onFlowComplete:
- runScript:
file: "scripts/teardown.js"

---
# Invite new user:
# Invite Teacher as new user:
- runFlow: "subflows/school_admin_login_flow.yaml"
- assertVisible:
id: "app_title"
Expand Down Expand Up @@ -62,6 +62,10 @@ onFlowComplete:
- tapOn: "Url"
- pasteText
- tapOn: "OK"
- assertVisible:
id: "app_title"
text: "Login"
- tapOn: "Create new account"
- assertVisible:
id: "app_title"
text: "Invitation"
Expand Down Expand Up @@ -96,19 +100,23 @@ onFlowComplete:
- tapOn: "Password*"
- inputText: "test123"
- tapOn: "Sign-up"
- runFlow:
when:
visible: "Save password for Respect?"
file: "subflows/save_password_prompt_cancel.yaml"
- assertVisible:
id: "app_title"
text: "Apps"
- assertVisible: "Apps"
- assertVisible: "Assignments"
- assertVisible: "People"
- runFlow:
file: "subflows/admin_add_class.yaml"
file: "subflows/user_add_class.yaml"
env:
CLASSNAME: "New Class"
CLASSNAME: "TestClass"
- assertVisible:
id: "app_title"
text: "New Class"
text: "TestClass"
- tapOn: "Add Student"
- tapOn: "Invite person"
- assertVisible:
Expand All @@ -118,7 +126,7 @@ onFlowComplete:
- copyTextFrom:
id: "invite_code"

# C) Student sign-up via invite code to the class
# Student sign-up via invite code to the class
- clearState: world.respect.app
- launchApp:
arguments:
Expand All @@ -140,7 +148,7 @@ onFlowComplete:
- assertVisible: "School name"
- assertVisible: ${output.SCHOOL_NAME}
- assertVisible: "Class name"
- assertVisible: "New Class"
- assertVisible: "TestClass"
- assertVisible: "School server URL"
- assertVisible: ${output.SCHOOL_URL}
- tapOn: "Next"
Expand Down Expand Up @@ -173,57 +181,60 @@ onFlowComplete:
text: "Waiting for approval"
- assertVisible: "Please wait"

# H) Teacher approve student's request to join the class
# Teacher approve student's request to join the class
- clearState: world.respect.app
- launchApp:
arguments:
respect_directory: ${output.SCHOOL_URL}
- tapOn: "Get Started"
- runFlow:
file: "subflows/get_started_select_school_by_name.yaml"
file: "subflows/school_user_login_flow.yaml"
env:
SCHOOL_NAME: ${SCHOOL_NAME}
- tapOn:
id: "username"
- inputText: "teacherauser"
- tapOn:
id : "password"
- inputText: "test123"
- tapOn: "Login"
USERNAME: "teacherauser"
PASSWORD: "test123"
- assertVisible: "Apps"
- tapOn: "Classes"
- assertVisible:
id: "app_title"
text: "Classes"
- tapOn: "New Class"
- tapOn: "TestClass"
- assertVisible: "Pending requests.*"
- assertVisible: "Student User.*"
- tapOn: "Accept Invite"
- assertNotVisible: "Pending requests.*"

# E) Teacher share invite link for parent device based signup
- tapOn: "Add student"
# Teacher send family member invite to Parent User
- tapOn: "Student User"
- assertVisible:
id: "app_title"
text: "Student User"
- tapOn:
id: "floating_action_button"
- assertVisible:
id: "app_title"
text: "Edit person"
- tapOn: "Family member"
- tapOn: "Invite person"
- tapOn: "Invite via parents"
- assertVisible: "Student User / Family member"
- tapOn: "Approval required" # turn the switch off
- assertVisible: "Approval not required until:.*"
- copyTextFrom:
id: "invite_url"
id: "invite_url"

# Parent sign-up to the app using invite link
- runFlow:
file: "subflows/openlink_flow.yaml"
env:
URL: ${maestro.copiedText}
- tapOn: "Get Started"
- assertVisible:
id: "app_title"
text: "Login"
- tapOn: "Create new account"
- assertVisible:
id: "app_title"
text: "Invitation"
- assertVisible: "Role"
- assertVisible: "Parent"
- assertVisible: "Child"
- assertVisible: "Student User"
- assertVisible: "School name"
- assertVisible: ${output.SCHOOL_NAME}
- assertVisible: "Class name"
- assertVisible: "New Class"
- assertVisible: "School server URL"
- assertVisible: ${output.SCHOOL_URL}
- tapOn: "Next"
Expand Down Expand Up @@ -254,13 +265,13 @@ onFlowComplete:
- tapOn: "Password*"
- inputText: "test123"
- tapOn: "Sign-up"
- tapOn: "Child's name*"
- inputText: "Student User2"
- tapOn: "Gender*"
- tapOn: "Female"
- tapOn: "Child's date of birth*"
- runScript:
file: "scripts/setDate.js"
- inputText: ${output.pastYearDateC}
- tapOn: "Done"
# 1/Feb/2026: MD: Maestro AGAIN does not actually deliver the tap. Thanks.
- runFlow:
when:
visible: "Save password for Respect?"
file: "subflows/save_password_prompt_cancel.yaml"
- assertVisible:
id: "app_title"
text: "Apps"
- tapOn: "People"
- tapOn: "Student User"
- assertVisible: "Parent User"
Loading