Hi there, thanks for reaching out! How may I help?<\/p>",
+ "hasOutstandingIOU":false
+ },
+ "report_2576922422943214":{
+ "reportID":"2576922422943214",
+ "reportName":"Chat Report",
+ "chatType":"",
+ "ownerEmail":"__fake__",
+ "policyID":"_FAKE_",
+ "maxSequenceNumber":1,
+ "participants":[
+ "applausetester+42222abb@applause.expensifail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1671213666675,
+ "lastReadTimestamp":1671213666675,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":1,
+ "lastActionCreated":"2022-12-01 08:05:11.009",
+ "lastMessageTimestamp":1669881911009,
+ "lastMessageText":"Test",
+ "lastActorEmail":"applausetester+perf2@applause.expensifail.com",
+ "notificationPreference":"always",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":null,
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"Test",
+ "hasOutstandingIOU":false
+ },
+ "report_2752461403207161":{
+ "reportID":"2752461403207161",
+ "reportName":"Chat Report",
+ "chatType":"",
+ "ownerEmail":"__fake__",
+ "policyID":"_FAKE_",
+ "maxSequenceNumber":0,
+ "participants":[
+ "fake1@gmail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1669300587843,
+ "lastReadTimestamp":1669300587843,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":0,
+ "lastActionCreated":"",
+ "lastMessageTimestamp":0,
+ "lastMessageText":"",
+ "lastActorEmail":"",
+ "notificationPreference":"always",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":null,
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"",
+ "hasOutstandingIOU":false
+ },
+ "report_3785654888638968":{
+ "reportID":"3785654888638968",
+ "reportName":"#jack",
+ "chatType":"policyRoom",
+ "ownerEmail":"__fake__",
+ "policyID":"C28C2634DD7226B8",
+ "maxSequenceNumber":3,
+ "participants":[
+ "applausetester+pd1005@applause.expensifail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1669881965738,
+ "lastReadTimestamp":1669881965738,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":3,
+ "lastActionCreated":"2022-10-12 12:20:00.668",
+ "lastMessageTimestamp":1665577200668,
+ "lastMessageText":"Room renamed to #jack",
+ "lastActorEmail":"applausetester+pd1005@applause.expensifail.com",
+ "notificationPreference":"daily",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":"restricted",
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"Room renamed to #jack",
+ "hasOutstandingIOU":false
+ },
+ "report_4867098979334014":{
+ "reportID":"4867098979334014",
+ "reportName":"Chat Report",
+ "chatType":"",
+ "ownerEmail":"__fake__",
+ "policyID":"_FAKE_",
+ "maxSequenceNumber":2,
+ "participants":[
+ "christoph+hightraffic@margelo.io"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1671214566347,
+ "lastReadTimestamp":1671214566347,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":2,
+ "lastActionCreated":"2022-12-16 18:14:00.208",
+ "lastMessageTimestamp":1671214440208,
+ "lastMessageText":"Requested \u20ac200.00 from Christoph for Essen mit Kunden",
+ "lastActorEmail":"applausetester+perf2@applause.expensifail.com",
+ "notificationPreference":"always",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":null,
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"Requested \u20ac200.00 from Christoph for Essen mit Kunden",
+ "hasOutstandingIOU":true,
+ "iouReportID":4249286573496381
+ },
+ "report_5277760851229035":{
+ "reportID":"5277760851229035",
+ "reportName":"#kasper_tha_cat",
+ "chatType":"policyRoom",
+ "ownerEmail":"__fake__",
+ "policyID":"C28C2634DD7226B8",
+ "maxSequenceNumber":13,
+ "participants":[
+ "applausetester+pd1005@applause.expensifail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1670955487510,
+ "lastReadTimestamp":1670955487510,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":13,
+ "lastActionCreated":"2022-11-29 12:38:15.985",
+ "lastMessageTimestamp":1669725495985,
+ "lastMessageText":"fff",
+ "lastActorEmail":"fake6@gmail.com",
+ "notificationPreference":"daily",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":"restricted",
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"fff
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
ff",
+ "hasOutstandingIOU":false
+ },
+ "report_5324367938904284":{
+ "reportID":"5324367938904284",
+ "reportName":"#applause.expensifail.com",
+ "chatType":"domainAll",
+ "ownerEmail":"+@applause.expensifail.com",
+ "policyID":"_FAKE_",
+ "maxSequenceNumber":17,
+ "participants":[
+ "applausetester+bernardo@applause.expensifail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1669634659097,
+ "lastReadTimestamp":1669634659097,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":14,
+ "lastActionCreated":"2022-11-29 21:08:00.793",
+ "lastMessageTimestamp":1669756080793,
+ "lastMessageText":"Iviviviv8b",
+ "lastActorEmail":"applausetester+0901abb@applause.expensifail.com",
+ "notificationPreference":"daily",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":null,
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"Iviviviv8b",
+ "hasOutstandingIOU":false
+ },
+ "report_5654270288238256":{
+ "reportID":"5654270288238256",
+ "reportName":"Chat Report",
+ "chatType":"",
+ "ownerEmail":"__fake__",
+ "policyID":"_FAKE_",
+ "maxSequenceNumber":0,
+ "participants":[
+ "andreylazutkinutest@gmail.com",
+ "fake1@gmail.com",
+ "applausetester+0707abb@applause.expensifail.com",
+ "fake3@gmail.com",
+ "fake5@gmail.com",
+ "applausetester+0604lsn@applause.expensifail.com",
+ "andreylazutkinutest+0904@gmail.com",
+ "applausetester+1904lsn@applause.expensifail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1669129467258,
+ "lastReadTimestamp":1669129467258,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":0,
+ "lastActionCreated":"",
+ "lastMessageTimestamp":0,
+ "lastMessageText":"",
+ "lastActorEmail":"",
+ "notificationPreference":"always",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":null,
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"",
+ "hasOutstandingIOU":false
+ },
+ "report_6194900075541844":{
+ "reportID":"6194900075541844",
+ "reportName":"#admins",
+ "chatType":"policyAdmins",
+ "ownerEmail":"__fake__",
+ "policyID":"A6511FF8D2EE7661",
+ "maxSequenceNumber":0,
+ "participants":[
+ "applausetester+perf2@applause.expensifail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":0,
+ "lastReadTimestamp":0,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":0,
+ "lastActionCreated":"",
+ "lastMessageTimestamp":0,
+ "lastMessageText":"",
+ "lastActorEmail":"",
+ "notificationPreference":"always",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":null,
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"",
+ "hasOutstandingIOU":false
+ },
+ "report_6801643744224146":{
+ "reportID":"6801643744224146",
+ "reportName":"Chat Report",
+ "chatType":"",
+ "ownerEmail":"__fake__",
+ "policyID":"_FAKE_",
+ "maxSequenceNumber":1,
+ "participants":[
+ "concierge@expensify.com",
+ "andreylazutkinutest@gmail.com",
+ "fake1@gmail.com",
+ "svetlanalazutkinautest+0211@gmail.com",
+ "applausetester+0707abb@applause.expensifail.com",
+ "fake3@gmail.com",
+ "fake5@gmail.com",
+ "applausetester+0604lsn@applause.expensifail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1671211247254,
+ "lastReadTimestamp":1671211247254,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":1,
+ "lastActionCreated":"2022-09-15 12:57:59.526",
+ "lastMessageTimestamp":1663246679526,
+ "lastMessageText":"\ud83d\udc4b Welcome to Expensify! I'm Concierge. Is there anything I can help with? Click ",
+ "lastActorEmail":"concierge@expensify.com",
+ "notificationPreference":"always",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":null,
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"\ud83d\udc4b Welcome to Expensify! I'm Concierge. Is there anything I can help with? Click the + icon on the homescreen to explore the features you can use.",
+ "hasOutstandingIOU":false
+ },
+ "report_7658708888047100":{
+ "reportID":"7658708888047100",
+ "reportName":"Chat Report",
+ "chatType":"",
+ "ownerEmail":"__fake__",
+ "policyID":"_FAKE_",
+ "maxSequenceNumber":3,
+ "participants":[
+ "concierge@expensify.com",
+ "andreylazutkinutest@gmail.com",
+ "fake3@gmail.com",
+ "fake5@gmail.com",
+ "tayla.lay@team.expensify.com",
+ "andreylazutkinutest+160956@gmail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1669634649909,
+ "lastReadTimestamp":1669634649909,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":3,
+ "lastActionCreated":"2022-09-16 11:12:46.739",
+ "lastMessageTimestamp":1663326766739,
+ "lastMessageText":"Hi there! How can I help?\u00a0",
+ "lastActorEmail":"concierge@expensify.com",
+ "notificationPreference":"always",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":null,
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"Hi there! How can I help?\u00a0",
+ "hasOutstandingIOU":false
+ },
+ "report_7756405299640824":{
+ "reportID":"7756405299640824",
+ "reportName":"#jackd23",
+ "chatType":"policyRoom",
+ "ownerEmail":"__fake__",
+ "policyID":"C28C2634DD7226B8",
+ "maxSequenceNumber":1,
+ "participants":[
+ "applausetester+pd1005@applause.expensifail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1669197883208,
+ "lastReadTimestamp":1669197883208,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":1,
+ "lastActionCreated":"2022-10-12 12:46:43.577",
+ "lastMessageTimestamp":1665578803577,
+ "lastMessageText":"Room renamed to #jackd23",
+ "lastActorEmail":"applausetester+pd1005@applause.expensifail.com",
+ "notificationPreference":"daily",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":"restricted",
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"Room renamed to #jackd23",
+ "hasOutstandingIOU":false
+ },
+ "report_7819732651025410":{
+ "reportID":"7819732651025410",
+ "reportName":"Chat Report",
+ "chatType":"",
+ "ownerEmail":"__fake__",
+ "policyID":"_FAKE_",
+ "maxSequenceNumber":0,
+ "participants":[
+ "fake5@gmail.com"
+ ],
+ "isPinned":false,
+ "lastVisitedTimestamp":1671205430161,
+ "lastReadTimestamp":1671205430161,
+ "lastReadCreated":"1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber":0,
+ "lastActionCreated":"",
+ "lastMessageTimestamp":0,
+ "lastMessageText":"",
+ "lastActorEmail":"",
+ "notificationPreference":"always",
+ "stateNum":0,
+ "statusNum":0,
+ "oldPolicyName":"",
+ "visibility":null,
+ "isOwnPolicyExpenseChat":false,
+ "lastMessageHtml":"",
+ "hasOutstandingIOU":false
+ },
+ "report_2543745284790730":{
+ "reportID":"2543745284790730",
+ "ownerEmail":"applausetester+perf2@applause.expensifail.com",
+ "managerEmail":"fake6@gmail.com",
+ "currency":"USD",
+ "chatReportID":"98817646",
+ "state":"SUBMITTED",
+ "cachedTotal":"($1,473.11)",
+ "total":147311,
+ "stateNum":1,
+ "submitterPayPalMeAddress":"",
+ "hasOutstandingIOU":true
+ },
+ "report_4249286573496381":{
+ "reportID":"4249286573496381",
+ "ownerEmail":"applausetester+perf2@applause.expensifail.com",
+ "managerEmail":"christoph+hightraffic@margelo.io",
+ "currency":"USD",
+ "chatReportID":"4867098979334014",
+ "state":"SUBMITTED",
+ "cachedTotal":"($212.78)",
+ "total":21278,
+ "stateNum":1,
+ "submitterPayPalMeAddress":"",
+ "hasOutstandingIOU":true
+ }
+ }
+ }
+ ],
+ "jsonCode":200,
+ "requestID":"783ef7fac81f969a-SJC"
+}
diff --git a/src/libs/E2E/apiMocks/openReport.json b/src/libs/E2E/apiMocks/openReport.json
new file mode 100644
index 000000000000..37e9b8d04a58
--- /dev/null
+++ b/src/libs/E2E/apiMocks/openReport.json
@@ -0,0 +1,115 @@
+{
+ "onyxData": [
+ {
+ "onyxMethod": "merge",
+ "key": "report_98345625",
+ "value": {
+ "reportID": "98345625",
+ "reportName": "Chat Report",
+ "chatType": "",
+ "ownerEmail": "__fake__",
+ "policyID": "_FAKE_",
+ "maxSequenceNumber": 1,
+ "participants": [
+ "fake1@gmail.com",
+ "fake2@gmail.com",
+ "fake3@gmail.com",
+ "fake4@gmail.com",
+ "fake5@gmail.com",
+ "fake6@gmail.com",
+ "fake7@gmail.com",
+ "fake8@gmail.com"
+ ],
+ "isPinned": false,
+ "lastVisitedTimestamp": 1671470568415,
+ "lastReadTimestamp": 1671470568415,
+ "lastReadCreated": "1980-01-01 00:00:00.000",
+ "lastReadSequenceNumber": 1,
+ "lastActionCreated": "2022-08-01 20:49:11",
+ "lastMessageTimestamp": 1659386951000,
+ "lastMessageText": "Say hello\ud83d\ude10",
+ "lastActorEmail": "fake3@gmail.com",
+ "notificationPreference": "always",
+ "stateNum": 0,
+ "statusNum": 0,
+ "oldPolicyName": "",
+ "visibility": null,
+ "isOwnPolicyExpenseChat": false,
+ "lastMessageHtml": "Say hello\ud83d\ude10",
+ "hasOutstandingIOU": false
+ }
+ },
+ {
+ "onyxMethod": "merge",
+ "key": "reportActions_98345625",
+ "value": {
+ "0": {
+ "reportActionID": "226245034",
+ "actionName": "CREATED",
+ "created": "2022-08-01 20:48:58",
+ "timestamp": 1659386938,
+ "reportActionTimestamp": 0,
+ "avatar": "https:\/\/d2k5nsl2zxldvw.cloudfront.net\/images\/avatars\/avatar_3.png",
+ "message": [
+ {
+ "type": "TEXT",
+ "style": "strong",
+ "text": "__fake__"
+ },
+ {
+ "type": "TEXT",
+ "style": "normal",
+ "text": " created this report"
+ }
+ ],
+ "person": [
+ {
+ "type": "TEXT",
+ "style": "strong",
+ "text": "__fake__"
+ }
+ ],
+ "automatic": false,
+ "sequenceNumber": 0,
+ "clientID": "",
+ "shouldShow": true
+ },
+ "1": {
+ "person": [
+ {
+ "type": "TEXT",
+ "style": "strong",
+ "text": "123 Ios"
+ }
+ ],
+ "actorEmail": "fake3@gmail.com",
+ "actorAccountID": 10773236,
+ "message": [
+ {
+ "type": "COMMENT",
+ "html": "Say hello\ud83d\ude10",
+ "text": "Say hello\ud83d\ude10",
+ "isEdited": false
+ }
+ ],
+ "originalMessage": {
+ "clientID": "1659386951676734",
+ "html": "Say hello\ud83d\ude10"
+ },
+ "avatar": "https:\/\/d1wpcgnaa73g0y.cloudfront.net\/301e37631eca9e3127d6b668822e3a53771551f6_128.jpeg",
+ "created": "2022-08-01 20:49:11",
+ "timestamp": 1659386951,
+ "reportActionTimestamp": 1659386951000,
+ "automatic": false,
+ "sequenceNumber": 1,
+ "actionName": "ADDCOMMENT",
+ "shouldShow": true,
+ "clientID": "1659386951676734",
+ "reportActionID": "1082059149"
+ }
+ }
+ }
+ ],
+ "jsonCode": 200,
+ "requestID": "783ef80a3fc5969a-SJC"
+}
diff --git a/src/libs/E2E/apiMocks/signinUser.json b/src/libs/E2E/apiMocks/signinUser.json
new file mode 100644
index 000000000000..5a80b24b782c
--- /dev/null
+++ b/src/libs/E2E/apiMocks/signinUser.json
@@ -0,0 +1,123 @@
+{
+ "onyxData": [
+ {
+ "onyxMethod": "merge",
+ "key": "session",
+ "value": {
+ "authToken": "fakeAuthToken",
+ "accountID": 12313081,
+ "email": "thisemailwillgetreplaced@duringsign.com",
+ "encryptedAuthToken": "fakeEncryptedAuthToken"
+ }
+ },
+ {
+ "onyxMethod": "set",
+ "key": "shouldShowComposeInput",
+ "value": true
+ },
+ {
+ "onyxMethod": "merge",
+ "key": "credentials",
+ "value": {
+ "autoGeneratedLogin": "fake",
+ "autoGeneratedPassword": "fake"
+ }
+ },
+ {
+ "onyxMethod": "merge",
+ "key": "user",
+ "value": {
+ "isUsingExpensifyCard": false
+ }
+ },
+ {
+ "onyxMethod": "set",
+ "key": "betas",
+ "value": [
+ "all",
+ "pdfMetaStore",
+ "reportActionContextMenu",
+ "submitPolicy",
+ "attendees",
+ "autoExport",
+ "autoExportIntacct",
+ "autoExportQbo",
+ "autoExportXero",
+ "autoJoinPolicy",
+ "automatedTaxExemption",
+ "billPay",
+ "categoryDefaultTax",
+ "collectableDepositAccounts",
+ "conciergeTravel",
+ "connectedCards",
+ "discrepancy",
+ "domainContactBilling",
+ "domainTwoFactorAuth",
+ "duplicateDetection",
+ "emailSuppressionBeta",
+ "expensesV2",
+ "expensifyCard",
+ "expensifyCardIntacctReconciliation",
+ "expensifyCardNetSuiteReconciliation",
+ "expensifyCardQBOReconciliation",
+ "expensifyCardRapidIncreaseFraud",
+ "expensifyCardXeroReconciliation",
+ "expensifyOrg",
+ "fixViolationPushNotification",
+ "freePlan",
+ "freePlanFullLaunch",
+ "freePlanSoftLaunch",
+ "gusto",
+ "inboxCache",
+ "inboxHiddenTasks",
+ "indirectIntegrationSetup",
+ "IOU",
+ "joinPolicy",
+ "loadPolicyAsync",
+ "mapReceipt",
+ "mergeAPI",
+ "mobileRealtimeReportComments",
+ "mobileSecureReceipts",
+ "monthlySettlement",
+ "namesAndAvatars",
+ "nativeChat",
+ "newPricing",
+ "newsletterThree",
+ "nextSteps",
+ "openFaceHamburger",
+ "pdfMetaStore",
+ "perDiem",
+ "perDiemInternational",
+ "pricingCopyChanges",
+ "qboInvoices",
+ "quickbooksDesktopV2",
+ "realtimeReportComments",
+ "s2wAnnouncement",
+ "scheduledAutoReporting",
+ "secureReceipts",
+ "secureReceiptsReports",
+ "selfServiceHardLaunch",
+ "sendMoney",
+ "smartScanUserDisputes",
+ "smsSignUp",
+ "stripeConnect",
+ "submitPolicy",
+ "summaryEmail",
+ "swipeToWin",
+ "taxForMileage",
+ "twoFactorAuth",
+ "venmoIntegration",
+ "zenefitsIntegration"
+ ]
+ },
+ {
+ "onyxMethod": "merge",
+ "key": "account",
+ "value": {
+ "requiresTwoFactorAuth": false
+ }
+ }
+ ],
+ "jsonCode": 200,
+ "requestID": "783e5f3cadfbcfc0-SJC"
+}