IO-2327 payments test cases

This commit is contained in:
swtmply
2023-07-05 07:32:46 +08:00
parent fc09871a47
commit 0a8c2bf385
7 changed files with 115 additions and 13 deletions

View File

@@ -161,7 +161,11 @@ function PaymentModalContainer({
footer={
<span>
<Button onClick={handleCancel}>{t("general.actions.cancel")}</Button>
<Button loading={loading} onClick={() => form.submit()}>
<Button
data-cy="payment-form-save"
loading={loading}
onClick={() => form.submit()}
>
{t("general.actions.save")}
</Button>
{paymentModal.context && paymentModal.context.id ? null : (