Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: update checkout tests snapshots

Abdullah Attabcc14a785f04
diff --git a/apps/web/__e2e__/checkout.test.js b/apps/web/__e2e__/checkout.test.js
index 7621b91e0..29d8b40f5 100644
--- a/apps/web/__e2e__/checkout.test.js
+++ b/apps/web/__e2e__/checkout.test.js
@@ -57,7 +57,6 @@ async function getPrices() {
* @param {string} prices
*/
function roundOffPrices(prices) {
- console.log(prices);
return prices.replaceAll(/(\d+.\d+)/gm, (str, price) => {
price = parseFloat(price);
return isNaN(price) ? 0 : Math.ceil(Math.round(price) / 10) * 10;
diff --git a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-IN-discounted-prices-Chromium-linux.txt b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-IN-discounted-prices-Chromium-linux.txt
index 4df59a7ba..cfd203b6f 100644
--- a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-IN-discounted-prices-Chromium-linux.txt
+++ b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-IN-discounted-prices-Chromium-linux.txt
@@ -1,5 +1,4 @@
subtotal: ₹370
tax: ₹70
discount: -₹220
-total: ₹220
-then ₹430/mo
\ No newline at end of file
+total: ₹220then ₹440/mo
\ No newline at end of file
diff --git a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-IN-prices-Chromium-linux.txt b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-IN-prices-Chromium-linux.txt
index 70a969862..a2bd3e155 100644
--- a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-IN-prices-Chromium-linux.txt
+++ b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-IN-prices-Chromium-linux.txt
@@ -1,4 +1,4 @@
subtotal: ₹370
tax: ₹70
discount: ₹0
-total: ₹430/mo
\ No newline at end of file
+total: ₹440/mo
\ No newline at end of file
diff --git a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-discounted-prices-Chromium-linux.txt b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-discounted-prices-Chromium-linux.txt
index 3e6ce3205..3aa718c19 100644
--- a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-discounted-prices-Chromium-linux.txt
+++ b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-monthly-discounted-prices-Chromium-linux.txt
@@ -1,5 +1,4 @@
subtotal: $10
tax: $0
discount: -$10
-total: $10
-then $10/mo
\ No newline at end of file
+total: $10then $10/mo
\ No newline at end of file
diff --git a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-IN-discounted-prices-Chromium-linux.txt b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-IN-discounted-prices-Chromium-linux.txt
index 222d63398..00a087b2b 100644
--- a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-IN-discounted-prices-Chromium-linux.txt
+++ b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-IN-discounted-prices-Chromium-linux.txt
@@ -1,5 +1,4 @@
-subtotal: ₹3850
-tax: ₹700
-discount: -₹690
-total: ₹3860
-then ₹4540/yr
\ No newline at end of file
+subtotal: ₹4070
+tax: ₹740
+discount: -₹2400
+total: ₹2400then ₹4800/yr
\ No newline at end of file
diff --git a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-IN-prices-Chromium-linux.txt b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-IN-prices-Chromium-linux.txt
index 25b1f9a4f..57ef3c1bb 100644
--- a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-IN-prices-Chromium-linux.txt
+++ b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-IN-prices-Chromium-linux.txt
@@ -1,4 +1,4 @@
-subtotal: ₹770
-tax: ₹140
+subtotal: ₹4070
+tax: ₹740
discount: ₹0
-total: ₹910/yr
\ No newline at end of file
+total: ₹4800/yr
\ No newline at end of file
diff --git a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-discounted-prices-Chromium-linux.txt b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-discounted-prices-Chromium-linux.txt
index d8ca4d5cd..bde75a663 100644
--- a/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-discounted-prices-Chromium-linux.txt
+++ b/apps/web/__e2e__/checkout.test.js-snapshots/checkout-yearly-discounted-prices-Chromium-linux.txt
@@ -1,5 +1,4 @@
subtotal: $50
tax: $0
discount: -$10
-total: $50
-then $50/yr
\ No newline at end of file
+total: $50then $50/yr
\ No newline at end of file