Skip to content

Commit

Permalink
fix e2e test issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlin-bbpos committed Nov 21, 2023
1 parent 3c12b0b commit 2852529
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class RNOfflineListener(
putMap("result", mapFromPaymentIntent(paymentIntent, ""))
putMap("error", nativeMapOf {
putString("code", e?.errorCode.toString())
putString("message", "hahahaha")
putString("message", e?.errorMessage)
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion e2e/app.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ describe('Basic funtionalities', () => {
await checkIfLogExist('removeCard');
await checkIfLogExist('Collected');
await checkIfLogExist('Process');
await checkIfLogExist('Processed');
await checkIfLogExist('Confirmed');
await checkIfLogExist('Capture');
await checkIfLogExist('Captured');
});
Expand Down
2 changes: 1 addition & 1 deletion e2e/internet-reader.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('Internet reader', () => {
await checkIfLogExist('Collect');
await checkIfLogExist('Collected');
await checkIfLogExist('Process');
await checkIfLogExist('Processed');
await checkIfLogExist('Confirmed');
await checkIfLogExist('Capture');
await checkIfLogExist('Captured');
});
Expand Down
2 changes: 1 addition & 1 deletion e2e/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const createInteracPayment = async (reader = 'wisePad3') => {
await checkIfLogExist('Collect');
await checkIfLogExist('Collected');
await checkIfLogExist('Process');
await checkIfLogExist('Processed');
await checkIfLogExist('Confirmed');
};

export const collectInteracRefund = async () => {
Expand Down

0 comments on commit 2852529

Please sign in to comment.