From bbd2d498236fb5ef06330886f083cc0948f371ee Mon Sep 17 00:00:00 2001 From: iamgabrielma Date: Wed, 26 Nov 2025 16:42:08 +0700 Subject: [PATCH 01/10] add all app_store_screenshots to default --- .../default/app_store_screenshot_1.txt | 2 ++ .../default/app_store_screenshot_2.txt | 2 ++ .../default/app_store_screenshot_3.txt | 2 ++ .../default/app_store_screenshot_4.txt | 2 ++ .../default/app_store_screenshot_5.txt | 2 ++ .../default/app_store_screenshot_6.txt | 1 + .../default/app_store_screenshot_7.txt | 1 + .../default/app_store_screenshot_8.txt | 1 + fastlane/screenshots.json | 24 +++++++++++++++++++ 9 files changed, 37 insertions(+) create mode 100644 fastlane/metadata/default/app_store_screenshot_1.txt create mode 100644 fastlane/metadata/default/app_store_screenshot_2.txt create mode 100644 fastlane/metadata/default/app_store_screenshot_3.txt create mode 100644 fastlane/metadata/default/app_store_screenshot_4.txt create mode 100644 fastlane/metadata/default/app_store_screenshot_5.txt create mode 100644 fastlane/metadata/default/app_store_screenshot_6.txt create mode 100644 fastlane/metadata/default/app_store_screenshot_7.txt create mode 100644 fastlane/metadata/default/app_store_screenshot_8.txt diff --git a/fastlane/metadata/default/app_store_screenshot_1.txt b/fastlane/metadata/default/app_store_screenshot_1.txt new file mode 100644 index 00000000000..934799e221b --- /dev/null +++ b/fastlane/metadata/default/app_store_screenshot_1.txt @@ -0,0 +1,2 @@ +Track sales and +bestselling products \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_2.txt b/fastlane/metadata/default/app_store_screenshot_2.txt new file mode 100644 index 00000000000..23e9c67d7c4 --- /dev/null +++ b/fastlane/metadata/default/app_store_screenshot_2.txt @@ -0,0 +1,2 @@ +Create orders +on the fly \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_3.txt b/fastlane/metadata/default/app_store_screenshot_3.txt new file mode 100644 index 00000000000..e9af8c48041 --- /dev/null +++ b/fastlane/metadata/default/app_store_screenshot_3.txt @@ -0,0 +1,2 @@ +Take payments +in person \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_4.txt b/fastlane/metadata/default/app_store_screenshot_4.txt new file mode 100644 index 00000000000..c5a817c0626 --- /dev/null +++ b/fastlane/metadata/default/app_store_screenshot_4.txt @@ -0,0 +1,2 @@ +Add and edit products +with a touch diff --git a/fastlane/metadata/default/app_store_screenshot_5.txt b/fastlane/metadata/default/app_store_screenshot_5.txt new file mode 100644 index 00000000000..f1d3dcbf79b --- /dev/null +++ b/fastlane/metadata/default/app_store_screenshot_5.txt @@ -0,0 +1,2 @@ +Get notified of +every sale \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_6.txt b/fastlane/metadata/default/app_store_screenshot_6.txt new file mode 100644 index 00000000000..8eac971071d --- /dev/null +++ b/fastlane/metadata/default/app_store_screenshot_6.txt @@ -0,0 +1 @@ +Sell online and in person \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_7.txt b/fastlane/metadata/default/app_store_screenshot_7.txt new file mode 100644 index 00000000000..d9066b261f6 --- /dev/null +++ b/fastlane/metadata/default/app_store_screenshot_7.txt @@ -0,0 +1 @@ +Track orders and view totals in real time \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_8.txt b/fastlane/metadata/default/app_store_screenshot_8.txt new file mode 100644 index 00000000000..2267c51b4a2 --- /dev/null +++ b/fastlane/metadata/default/app_store_screenshot_8.txt @@ -0,0 +1 @@ +Complete payments quickly and efficiently \ No newline at end of file diff --git a/fastlane/screenshots.json b/fastlane/screenshots.json index 6a88d38d027..8e3fa0f4786 100644 --- a/fastlane/screenshots.json +++ b/fastlane/screenshots.json @@ -114,6 +114,30 @@ "background": "appstoreres/assets/ipad-background-1.png", "screenshot": "iPad Pro 13-inch (M4)-5-dark-order-notification.png", "text": "metadata/{locale}/app_store_screenshot_5.txt" + }, + // Sell online and in person + { + "device": "iPad Pro 13-inch (M4)", + "filename": "iPad Pro 13-inch (M4)-06.png", + "background": "appstoreres/assets/ipad-background-2.png", + "screenshot": "iPad Pro 13-inch (M4)-6-light-pos-dashboard.png", + "text": "metadata/{locale}/app_store_screenshot_6.txt" + }, + // Track orders and view totals in real time + { + "device": "iPad Pro 13-inch (M4)", + "filename": "iPad Pro 13-inch (M4)-07.png", + "background": "appstoreres/assets/ipad-background-1.png", + "screenshot": "iPad Pro 13-inch (M4)-7-dark-pos-payment.png", + "text": "metadata/{locale}/app_store_screenshot_7.txt" + }, + // Complete payments quickly and efficiently + { + "device": "iPad Pro 13-inch (M4)", + "filename": "iPad Pro 13-inch (M4)-08.png", + "background": "appstoreres/assets/ipad-background-2.png", + "screenshot": "iPad Pro 13-inch (M4)-8-light-pos-success.png", + "text": "metadata/{locale}/app_store_screenshot_8.txt" } ] } From e03bd88bc72b52103272cecdac2767c45d468c42 Mon Sep 17 00:00:00 2001 From: iamgabrielma Date: Fri, 28 Nov 2025 10:04:49 +0700 Subject: [PATCH 02/10] runs UI POS screenhot tests on iPads only --- .../WooCommerceScreenshots.swift | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/WooCommerce/WooCommerceScreenshots/WooCommerceScreenshots.swift b/WooCommerce/WooCommerceScreenshots/WooCommerceScreenshots.swift index a10f482f3bf..672bd86ea02 100644 --- a/WooCommerce/WooCommerceScreenshots/WooCommerceScreenshots.swift +++ b/WooCommerce/WooCommerceScreenshots/WooCommerceScreenshots.swift @@ -74,25 +74,27 @@ class WooCommerceScreenshots: XCTestCase { .goBackToOrderScreen() .goBackToOrdersScreen() - // POS - try TabNavComponent() - .goToPOSScreen() - .tapAddProduct(productID: 1) - .tapAddProduct(productID: 2) - .thenTakeScreenshot(named: "pos-dashboard", orientation: .landscapeLeft) - .tapConnectReader() - .waitForReaderConnected() - .tapCheckout() - .waitForTotalsLoaded() - .waitForCardPaymentReady() - .thenTakeScreenshot(named: "pos-payment", orientation: .landscapeLeft) - .tapCashPayment() - .tapMarkPaymentComplete() - .waitForPaymentSuccess() - .thenTakeScreenshot(named: "pos-success", orientation: .landscapeLeft) - .tapMenuButton() - .tapExitMenuItem() - .confirmExitPOS() + // POS - iPad only + if UIDevice.current.userInterfaceIdiom == .pad { + try TabNavComponent() + .goToPOSScreen() + .tapAddProduct(productID: 1) + .tapAddProduct(productID: 2) + .thenTakeScreenshot(named: "pos-dashboard", orientation: .landscapeLeft) + .tapConnectReader() + .waitForReaderConnected() + .tapCheckout() + .waitForTotalsLoaded() + .waitForCardPaymentReady() + .thenTakeScreenshot(named: "pos-payment", orientation: .landscapeLeft) + .tapCashPayment() + .tapMarkPaymentComplete() + .waitForPaymentSuccess() + .thenTakeScreenshot(named: "pos-success", orientation: .landscapeLeft) + .tapMenuButton() + .tapExitMenuItem() + .confirmExitPOS() + } // Products try TabNavComponent() From 89ad43df9063d7139f87fc441de29af8669924a5 Mon Sep 17 00:00:00 2001 From: iamgabrielma Date: Fri, 28 Nov 2025 11:39:11 +0700 Subject: [PATCH 03/10] use-mocked-card-present-payment for UI tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Despite tests passing, the contents of the pos-payment screenshot was incorrect, as lands on the failure case for `checkOrderIsStillEligibleForPayment` when attempting to retrieve the order details, hence showing a “Error: unable to process payment. we could not fetch the latest order details” rather than the payment view. Despite passing the CPP mock in the POSTabCoordinator, we were never setting it in the test as a launch argument. --- WooCommerce/WooCommerceScreenshots/WooCommerceScreenshots.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/WooCommerce/WooCommerceScreenshots/WooCommerceScreenshots.swift b/WooCommerce/WooCommerceScreenshots/WooCommerceScreenshots.swift index 672bd86ea02..6723cd8b915 100644 --- a/WooCommerce/WooCommerceScreenshots/WooCommerceScreenshots.swift +++ b/WooCommerce/WooCommerceScreenshots/WooCommerceScreenshots.swift @@ -24,6 +24,7 @@ class WooCommerceScreenshots: XCTestCase { let app = XCUIApplication() setupSnapshot(app) app.launchArguments.append("mocked-network-layer") + app.launchArguments.append("use-mocked-card-present-payment") app.launchArguments.append("-simulate-stripe-card-reader") app.launchArguments.append("disable-animations") app.launchArguments.append("-mocks-push-notification") From 03cc4b2ba4c7371df06796f69e350c0134e4cdd8 Mon Sep 17 00:00:00 2001 From: iamgabrielma Date: Fri, 28 Nov 2025 14:30:08 +0700 Subject: [PATCH 04/10] reorder screenshots to pass create_promo lane Since we run the notification screenshot the last one due to the UI test flow, when we run the create_promo lane then screenshot descriptions are miss-aligned with what they show which fails the job. --- .../metadata/default/app_store_screenshot_5.txt | 3 +-- .../metadata/default/app_store_screenshot_6.txt | 2 +- .../metadata/default/app_store_screenshot_7.txt | 2 +- .../metadata/default/app_store_screenshot_8.txt | 3 ++- fastlane/screenshots.json | 16 ++++++++-------- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/fastlane/metadata/default/app_store_screenshot_5.txt b/fastlane/metadata/default/app_store_screenshot_5.txt index f1d3dcbf79b..8eac971071d 100644 --- a/fastlane/metadata/default/app_store_screenshot_5.txt +++ b/fastlane/metadata/default/app_store_screenshot_5.txt @@ -1,2 +1 @@ -Get notified of -every sale \ No newline at end of file +Sell online and in person \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_6.txt b/fastlane/metadata/default/app_store_screenshot_6.txt index 8eac971071d..d9066b261f6 100644 --- a/fastlane/metadata/default/app_store_screenshot_6.txt +++ b/fastlane/metadata/default/app_store_screenshot_6.txt @@ -1 +1 @@ -Sell online and in person \ No newline at end of file +Track orders and view totals in real time \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_7.txt b/fastlane/metadata/default/app_store_screenshot_7.txt index d9066b261f6..2267c51b4a2 100644 --- a/fastlane/metadata/default/app_store_screenshot_7.txt +++ b/fastlane/metadata/default/app_store_screenshot_7.txt @@ -1 +1 @@ -Track orders and view totals in real time \ No newline at end of file +Complete payments quickly and efficiently \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_8.txt b/fastlane/metadata/default/app_store_screenshot_8.txt index 2267c51b4a2..f1d3dcbf79b 100644 --- a/fastlane/metadata/default/app_store_screenshot_8.txt +++ b/fastlane/metadata/default/app_store_screenshot_8.txt @@ -1 +1,2 @@ -Complete payments quickly and efficiently \ No newline at end of file +Get notified of +every sale \ No newline at end of file diff --git a/fastlane/screenshots.json b/fastlane/screenshots.json index 8e3fa0f4786..a892515bd18 100644 --- a/fastlane/screenshots.json +++ b/fastlane/screenshots.json @@ -107,36 +107,36 @@ "screenshot": "iPad Pro 13-inch (M4)-4-light-product-add.png", "text": "metadata/{locale}/app_store_screenshot_4.txt" }, - // Get notified of every sale + // Sell online and in person { "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-05.png", "background": "appstoreres/assets/ipad-background-1.png", - "screenshot": "iPad Pro 13-inch (M4)-5-dark-order-notification.png", + "screenshot": "iPad Pro 13-inch (M4)-5-dark-pos-dashboard.png", "text": "metadata/{locale}/app_store_screenshot_5.txt" }, - // Sell online and in person + // Track orders and view totals in real time { "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-06.png", "background": "appstoreres/assets/ipad-background-2.png", - "screenshot": "iPad Pro 13-inch (M4)-6-light-pos-dashboard.png", + "screenshot": "iPad Pro 13-inch (M4)-6-light-pos-payment.png", "text": "metadata/{locale}/app_store_screenshot_6.txt" }, - // Track orders and view totals in real time + // Complete payments quickly and efficiently { "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-07.png", "background": "appstoreres/assets/ipad-background-1.png", - "screenshot": "iPad Pro 13-inch (M4)-7-dark-pos-payment.png", + "screenshot": "iPad Pro 13-inch (M4)-7-light-pos-success.png", "text": "metadata/{locale}/app_store_screenshot_7.txt" }, - // Complete payments quickly and efficiently + // Get notified of every sale { "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-08.png", "background": "appstoreres/assets/ipad-background-2.png", - "screenshot": "iPad Pro 13-inch (M4)-8-light-pos-success.png", + "screenshot": "iPad Pro 13-inch (M4)-8-dark-order-notification.png", "text": "metadata/{locale}/app_store_screenshot_8.txt" } ] From 89d735d109a9a71d9a11db0860572dc80942f41c Mon Sep 17 00:00:00 2001 From: iamgabrielma Date: Fri, 28 Nov 2025 14:33:27 +0700 Subject: [PATCH 05/10] update screenshot variant --- fastlane/screenshots.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fastlane/screenshots.json b/fastlane/screenshots.json index a892515bd18..dee766f1bdd 100644 --- a/fastlane/screenshots.json +++ b/fastlane/screenshots.json @@ -107,7 +107,7 @@ "screenshot": "iPad Pro 13-inch (M4)-4-light-product-add.png", "text": "metadata/{locale}/app_store_screenshot_4.txt" }, - // Sell online and in person + // Sell online and in person { "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-05.png", @@ -128,7 +128,7 @@ "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-07.png", "background": "appstoreres/assets/ipad-background-1.png", - "screenshot": "iPad Pro 13-inch (M4)-7-light-pos-success.png", + "screenshot": "iPad Pro 13-inch (M4)-7-dark-pos-success.png", "text": "metadata/{locale}/app_store_screenshot_7.txt" }, // Get notified of every sale @@ -136,7 +136,7 @@ "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-08.png", "background": "appstoreres/assets/ipad-background-2.png", - "screenshot": "iPad Pro 13-inch (M4)-8-dark-order-notification.png", + "screenshot": "iPad Pro 13-inch (M4)-8-light-order-notification.png", "text": "metadata/{locale}/app_store_screenshot_8.txt" } ] From 25f21997b8bc1586f3d6746d604a64ebd57d1bae Mon Sep 17 00:00:00 2001 From: iamgabrielma Date: Thu, 4 Dec 2025 15:28:19 +0700 Subject: [PATCH 06/10] reorder screenshots following UI test order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At the moment we intersect POS screenshots, but “product-add” screenshot happens as the 7th, while in screenshots.js is set to be the 4rth. This fails the create_promo job as cannot find the correct index along the screenshot name --- .../metadata/default/app_store_screenshot_4.txt | 3 +-- .../metadata/default/app_store_screenshot_5.txt | 2 +- .../metadata/default/app_store_screenshot_6.txt | 2 +- .../metadata/default/app_store_screenshot_7.txt | 3 ++- .../metadata/en-US/app_store_screenshot_4.txt | 2 -- .../metadata/en-US/app_store_screenshot_5.txt | 2 -- fastlane/screenshots.json | 16 ++++++++-------- 7 files changed, 13 insertions(+), 17 deletions(-) delete mode 100644 fastlane/metadata/en-US/app_store_screenshot_4.txt delete mode 100644 fastlane/metadata/en-US/app_store_screenshot_5.txt diff --git a/fastlane/metadata/default/app_store_screenshot_4.txt b/fastlane/metadata/default/app_store_screenshot_4.txt index c5a817c0626..8eac971071d 100644 --- a/fastlane/metadata/default/app_store_screenshot_4.txt +++ b/fastlane/metadata/default/app_store_screenshot_4.txt @@ -1,2 +1 @@ -Add and edit products -with a touch +Sell online and in person \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_5.txt b/fastlane/metadata/default/app_store_screenshot_5.txt index 8eac971071d..d9066b261f6 100644 --- a/fastlane/metadata/default/app_store_screenshot_5.txt +++ b/fastlane/metadata/default/app_store_screenshot_5.txt @@ -1 +1 @@ -Sell online and in person \ No newline at end of file +Track orders and view totals in real time \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_6.txt b/fastlane/metadata/default/app_store_screenshot_6.txt index d9066b261f6..2267c51b4a2 100644 --- a/fastlane/metadata/default/app_store_screenshot_6.txt +++ b/fastlane/metadata/default/app_store_screenshot_6.txt @@ -1 +1 @@ -Track orders and view totals in real time \ No newline at end of file +Complete payments quickly and efficiently \ No newline at end of file diff --git a/fastlane/metadata/default/app_store_screenshot_7.txt b/fastlane/metadata/default/app_store_screenshot_7.txt index 2267c51b4a2..2545cb607f9 100644 --- a/fastlane/metadata/default/app_store_screenshot_7.txt +++ b/fastlane/metadata/default/app_store_screenshot_7.txt @@ -1 +1,2 @@ -Complete payments quickly and efficiently \ No newline at end of file +Add and edit products +with a touch \ No newline at end of file diff --git a/fastlane/metadata/en-US/app_store_screenshot_4.txt b/fastlane/metadata/en-US/app_store_screenshot_4.txt deleted file mode 100644 index c5a817c0626..00000000000 --- a/fastlane/metadata/en-US/app_store_screenshot_4.txt +++ /dev/null @@ -1,2 +0,0 @@ -Add and edit products -with a touch diff --git a/fastlane/metadata/en-US/app_store_screenshot_5.txt b/fastlane/metadata/en-US/app_store_screenshot_5.txt deleted file mode 100644 index f1d3dcbf79b..00000000000 --- a/fastlane/metadata/en-US/app_store_screenshot_5.txt +++ /dev/null @@ -1,2 +0,0 @@ -Get notified of -every sale \ No newline at end of file diff --git a/fastlane/screenshots.json b/fastlane/screenshots.json index dee766f1bdd..0c16cfd94d2 100644 --- a/fastlane/screenshots.json +++ b/fastlane/screenshots.json @@ -99,36 +99,36 @@ "screenshot": "iPad Pro 13-inch (M4)-3-dark-order-payment.png", "text": "metadata/{locale}/app_store_screenshot_3.txt" }, - // Add and edit products with a touch + // Sell online and in person { "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-04.png", "background": "appstoreres/assets/ipad-background-2.png", - "screenshot": "iPad Pro 13-inch (M4)-4-light-product-add.png", + "screenshot": "iPad Pro 13-inch (M4)-4-light-pos-dashboard.png", "text": "metadata/{locale}/app_store_screenshot_4.txt" }, - // Sell online and in person + // Track orders and view totals in real time { "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-05.png", "background": "appstoreres/assets/ipad-background-1.png", - "screenshot": "iPad Pro 13-inch (M4)-5-dark-pos-dashboard.png", + "screenshot": "iPad Pro 13-inch (M4)-5-dark-pos-payment.png", "text": "metadata/{locale}/app_store_screenshot_5.txt" }, - // Track orders and view totals in real time + // Complete payments quickly and efficiently { "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-06.png", "background": "appstoreres/assets/ipad-background-2.png", - "screenshot": "iPad Pro 13-inch (M4)-6-light-pos-payment.png", + "screenshot": "iPad Pro 13-inch (M4)-6-light-pos-success.png", "text": "metadata/{locale}/app_store_screenshot_6.txt" }, - // Complete payments quickly and efficiently + // Add and edit products with a touch { "device": "iPad Pro 13-inch (M4)", "filename": "iPad Pro 13-inch (M4)-07.png", "background": "appstoreres/assets/ipad-background-1.png", - "screenshot": "iPad Pro 13-inch (M4)-7-dark-pos-success.png", + "screenshot": "iPad Pro 13-inch (M4)-7-dark-product-add.png", "text": "metadata/{locale}/app_store_screenshot_7.txt" }, // Get notified of every sale From 5d1864af95db0d2fc05829d317cb5679fa0641cf Mon Sep 17 00:00:00 2001 From: iamgabrielma Date: Mon, 15 Dec 2025 12:52:30 +0900 Subject: [PATCH 07/10] add new device in landscape to screenshots initial attempt to set the screenshot landscape composition programmatically. might need iteration after checking the result artifacts --- .../assets/ipad-background-1-landscape.png | 3 +++ .../assets/ipad-background-2-landscape.png | 3 +++ .../appstoreres/assets/ipad-x-landscape.png | 3 +++ .../assets/ipad-x-mask-landscape.png | 3 +++ fastlane/screenshots.json | 25 ++++++++++++++----- 5 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 fastlane/appstoreres/assets/ipad-background-1-landscape.png create mode 100644 fastlane/appstoreres/assets/ipad-background-2-landscape.png create mode 100644 fastlane/appstoreres/assets/ipad-x-landscape.png create mode 100644 fastlane/appstoreres/assets/ipad-x-mask-landscape.png diff --git a/fastlane/appstoreres/assets/ipad-background-1-landscape.png b/fastlane/appstoreres/assets/ipad-background-1-landscape.png new file mode 100644 index 00000000000..278cb872a10 --- /dev/null +++ b/fastlane/appstoreres/assets/ipad-background-1-landscape.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c594f2af9b74404c4e64413422bafad1febceb6e737d41779cc0b390fb3f059 +size 138623 diff --git a/fastlane/appstoreres/assets/ipad-background-2-landscape.png b/fastlane/appstoreres/assets/ipad-background-2-landscape.png new file mode 100644 index 00000000000..21f2fc0ca94 --- /dev/null +++ b/fastlane/appstoreres/assets/ipad-background-2-landscape.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3660fb0272b243a8ba753ec54d40a85188e39875195a8987c201710ce3d4f1f3 +size 138486 diff --git a/fastlane/appstoreres/assets/ipad-x-landscape.png b/fastlane/appstoreres/assets/ipad-x-landscape.png new file mode 100644 index 00000000000..bcc95c8e3df --- /dev/null +++ b/fastlane/appstoreres/assets/ipad-x-landscape.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9102106c9fc4459ef0cb9cbddb9e98843d56db65067875068ba1a3d88d67bf5f +size 68022 diff --git a/fastlane/appstoreres/assets/ipad-x-mask-landscape.png b/fastlane/appstoreres/assets/ipad-x-mask-landscape.png new file mode 100644 index 00000000000..8fd7994fc87 --- /dev/null +++ b/fastlane/appstoreres/assets/ipad-x-mask-landscape.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:147b29aeb5dbc5b4fa108e229f3c443a459c4e6e1c544f2a9c59f2bee133a445 +size 105245 diff --git a/fastlane/screenshots.json b/fastlane/screenshots.json index 0c16cfd94d2..97da93f62fd 100644 --- a/fastlane/screenshots.json +++ b/fastlane/screenshots.json @@ -28,6 +28,19 @@ "device_frame": "appstoreres/assets/ipad-x.png", "device_frame_size": [1531, 1998], "device_frame_offset": [259, 559] + }, + { + "name": "iPad Pro 13-inch (M4) - landscape", + "canvas_size": [2732, 2048], + "text_size": [1848, 559], + "text_offset": [100, 0], + "font_size": "100px", + "screenshot_size": [1868, 1401], + "screenshot_offset": [517, 500], + "screenshot_mask": "appstoreres/assets/ipad-x-mask-landscape.png", + "device_frame": "appstoreres/assets/ipad-x-landscape.png", + "device_frame_size": [1998, 1531], + "device_frame_offset": [458, 447] } ], "entries": [ @@ -101,25 +114,25 @@ }, // Sell online and in person { - "device": "iPad Pro 13-inch (M4)", + "device": "iPad Pro 13-inch (M4) - landscape", "filename": "iPad Pro 13-inch (M4)-04.png", - "background": "appstoreres/assets/ipad-background-2.png", + "background": "appstoreres/assets/ipad-background-2-landscape.png", "screenshot": "iPad Pro 13-inch (M4)-4-light-pos-dashboard.png", "text": "metadata/{locale}/app_store_screenshot_4.txt" }, // Track orders and view totals in real time { - "device": "iPad Pro 13-inch (M4)", + "device": "iPad Pro 13-inch (M4) - landscape", "filename": "iPad Pro 13-inch (M4)-05.png", - "background": "appstoreres/assets/ipad-background-1.png", + "background": "appstoreres/assets/ipad-background-1-landscape.png", "screenshot": "iPad Pro 13-inch (M4)-5-dark-pos-payment.png", "text": "metadata/{locale}/app_store_screenshot_5.txt" }, // Complete payments quickly and efficiently { - "device": "iPad Pro 13-inch (M4)", + "device": "iPad Pro 13-inch (M4) - landscape", "filename": "iPad Pro 13-inch (M4)-06.png", - "background": "appstoreres/assets/ipad-background-2.png", + "background": "appstoreres/assets/ipad-background-2-landscape.png", "screenshot": "iPad Pro 13-inch (M4)-6-light-pos-success.png", "text": "metadata/{locale}/app_store_screenshot_6.txt" }, From 060eb756b4e4d074b75075db22975555eacce1a3 Mon Sep 17 00:00:00 2001 From: iamgabrielma Date: Tue, 16 Dec 2025 11:42:50 +0900 Subject: [PATCH 08/10] update screenshots lane with new translatable text --- fastlane/Fastfile | 10 ++++++++-- .../appstoreres/metadata/source/promo_screenshot_4.txt | 3 +-- .../appstoreres/metadata/source/promo_screenshot_5.txt | 3 +-- .../appstoreres/metadata/source/promo_screenshot_6.txt | 1 + .../appstoreres/metadata/source/promo_screenshot_7.txt | 2 ++ .../appstoreres/metadata/source/promo_screenshot_8.txt | 2 ++ 6 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 fastlane/appstoreres/metadata/source/promo_screenshot_6.txt create mode 100644 fastlane/appstoreres/metadata/source/promo_screenshot_7.txt create mode 100644 fastlane/appstoreres/metadata/source/promo_screenshot_8.txt diff --git a/fastlane/Fastfile b/fastlane/Fastfile index f77b4391920..b384bc53209 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -341,7 +341,10 @@ platform :ios do 'app_store_screenshot-2' => File.join(source_metadata_folder, 'promo_screenshot_2.txt'), 'app_store_screenshot-3' => File.join(source_metadata_folder, 'promo_screenshot_3.txt'), 'app_store_screenshot-4' => File.join(source_metadata_folder, 'promo_screenshot_4.txt'), - 'app_store_screenshot-5' => File.join(source_metadata_folder, 'promo_screenshot_5.txt') + 'app_store_screenshot-5' => File.join(source_metadata_folder, 'promo_screenshot_5.txt'), + 'app_store_screenshot-6' => File.join(source_metadata_folder, 'promo_screenshot_6.txt'), + 'app_store_screenshot-7' => File.join(source_metadata_folder, 'promo_screenshot_7.txt'), + 'app_store_screenshot-8' => File.join(source_metadata_folder, 'promo_screenshot_8.txt') } ios_update_metadata_source( @@ -1119,7 +1122,10 @@ platform :ios do 'app_store_screenshot-2' => { desc: 'app_store_screenshot_2.txt' }, 'app_store_screenshot-3' => { desc: 'app_store_screenshot_3.txt' }, 'app_store_screenshot-4' => { desc: 'app_store_screenshot_4.txt' }, - 'app_store_screenshot-5' => { desc: 'app_store_screenshot_5.txt' } + 'app_store_screenshot-5' => { desc: 'app_store_screenshot_5.txt' }, + 'app_store_screenshot-6' => { desc: 'app_store_screenshot_6.txt' }, + 'app_store_screenshot-7' => { desc: 'app_store_screenshot_7.txt' }, + 'app_store_screenshot-8' => { desc: 'app_store_screenshot_8.txt' } } metadata_locales = GLOTPRESS_TO_ASC_METADATA_LOCALE_CODES diff --git a/fastlane/appstoreres/metadata/source/promo_screenshot_4.txt b/fastlane/appstoreres/metadata/source/promo_screenshot_4.txt index c5a817c0626..8eac971071d 100644 --- a/fastlane/appstoreres/metadata/source/promo_screenshot_4.txt +++ b/fastlane/appstoreres/metadata/source/promo_screenshot_4.txt @@ -1,2 +1 @@ -Add and edit products -with a touch +Sell online and in person \ No newline at end of file diff --git a/fastlane/appstoreres/metadata/source/promo_screenshot_5.txt b/fastlane/appstoreres/metadata/source/promo_screenshot_5.txt index f1d3dcbf79b..d9066b261f6 100644 --- a/fastlane/appstoreres/metadata/source/promo_screenshot_5.txt +++ b/fastlane/appstoreres/metadata/source/promo_screenshot_5.txt @@ -1,2 +1 @@ -Get notified of -every sale \ No newline at end of file +Track orders and view totals in real time \ No newline at end of file diff --git a/fastlane/appstoreres/metadata/source/promo_screenshot_6.txt b/fastlane/appstoreres/metadata/source/promo_screenshot_6.txt new file mode 100644 index 00000000000..2267c51b4a2 --- /dev/null +++ b/fastlane/appstoreres/metadata/source/promo_screenshot_6.txt @@ -0,0 +1 @@ +Complete payments quickly and efficiently \ No newline at end of file diff --git a/fastlane/appstoreres/metadata/source/promo_screenshot_7.txt b/fastlane/appstoreres/metadata/source/promo_screenshot_7.txt new file mode 100644 index 00000000000..2545cb607f9 --- /dev/null +++ b/fastlane/appstoreres/metadata/source/promo_screenshot_7.txt @@ -0,0 +1,2 @@ +Add and edit products +with a touch \ No newline at end of file diff --git a/fastlane/appstoreres/metadata/source/promo_screenshot_8.txt b/fastlane/appstoreres/metadata/source/promo_screenshot_8.txt new file mode 100644 index 00000000000..f1d3dcbf79b --- /dev/null +++ b/fastlane/appstoreres/metadata/source/promo_screenshot_8.txt @@ -0,0 +1,2 @@ +Get notified of +every sale \ No newline at end of file From 3f6cd030da888ac539615ad650750133a8a7ad88 Mon Sep 17 00:00:00 2001 From: iamgabrielma Date: Wed, 17 Dec 2025 10:50:05 +0900 Subject: [PATCH 09/10] Adjust landscape text and frame offsets --- fastlane/screenshots.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fastlane/screenshots.json b/fastlane/screenshots.json index 97da93f62fd..a0f936df45a 100644 --- a/fastlane/screenshots.json +++ b/fastlane/screenshots.json @@ -33,14 +33,14 @@ "name": "iPad Pro 13-inch (M4) - landscape", "canvas_size": [2732, 2048], "text_size": [1848, 559], - "text_offset": [100, 0], + "text_offset": [442, 0], "font_size": "100px", "screenshot_size": [1868, 1401], - "screenshot_offset": [517, 500], + "screenshot_offset": [432, 512], "screenshot_mask": "appstoreres/assets/ipad-x-mask-landscape.png", "device_frame": "appstoreres/assets/ipad-x-landscape.png", "device_frame_size": [1998, 1531], - "device_frame_offset": [458, 447] + "device_frame_offset": [367, 447] } ], "entries": [ From fff2bb7e38ffd7bb7781b1594e1d9d62e43f9b20 Mon Sep 17 00:00:00 2001 From: iamgabrielma Date: Wed, 17 Dec 2025 11:03:12 +0900 Subject: [PATCH 10/10] Resolve text to image wrong mapping for iPhone devices iPhone screenshots 4 and 5 are using the wrong text files because new POS screenshots are inserted into the sequence --- fastlane/screenshots.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastlane/screenshots.json b/fastlane/screenshots.json index a0f936df45a..24241366798 100644 --- a/fastlane/screenshots.json +++ b/fastlane/screenshots.json @@ -75,7 +75,7 @@ "filename": "iPhone 16 Plus-04.png", "background": "appstoreres/assets/iphone-background-2.png", "screenshot": "iPhone 16 Plus-4-light-product-add.png", - "text": "metadata/{locale}/app_store_screenshot_4.txt" + "text": "metadata/{locale}/app_store_screenshot_7.txt" }, // Get notified of every sale { @@ -83,7 +83,7 @@ "filename": "iPhone 16 Plus-05.png", "background": "appstoreres/assets/iphone-background-1.png", "screenshot": "iPhone 16 Plus-5-dark-order-notification.png", - "text": "metadata/{locale}/app_store_screenshot_5.txt" + "text": "metadata/{locale}/app_store_screenshot_8.txt" },