Skip to content

Conversation

@kidinov
Copy link
Contributor

@kidinov kidinov commented Nov 13, 2025

WOOMOB-1648

Description

Adds infrastructure for capturing screenshots on tablets for Woo POS testing. This includes updates to the screenshot test suite and Fastlane configuration to support tablet devices.

Test Steps

  1. Run the screenshot tests on a tablet device or emulator
  2. Verify screenshots are captured correctly
  3. Check that the Fastlane configuration works as expected
  • I have considered if this change warrants release notes and have added them to RELEASE-NOTES.txt if necessary. Use the "[Internal]" label for non-user-facing changes.

#####################################################################################
desc 'Create raw POS screenshots for tablets'
lane :take_pos_screenshots do |options|
locales = options[:locales] || ['en-US', 'en-GB']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Style/WordArray: Use %w or %W for an array of words.

lane :take_pos_screenshots do |options|
locales = options[:locales] || ['en-US', 'en-GB']

UI.message("Clearing previous POS screenshots...")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

locales = options[:locales] || ['en-US', 'en-GB']

UI.message("Clearing previous POS screenshots...")
sh("rm -f ../fastlane/screenshots/raw/*-pos-*")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

UI.message("Clearing previous POS screenshots...")
sh("rm -f ../fastlane/screenshots/raw/*-pos-*")

UI.message("Building APKs...")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

@dangermattic
Copy link
Collaborator

1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@wpmobilebot
Copy link
Collaborator

📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
App NameWooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commit94638a2
Direct Downloadwoocommerce-wear-prototype-build-pr14948-94638a2.apk

@wpmobilebot
Copy link
Collaborator

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App NameWooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commit94638a2
Direct Downloadwoocommerce-prototype-build-pr14948-94638a2.apk

Base automatically changed from woomob-1649-woo-posapp-listings-add-a-test-to-open-the-pos-and-make-a to trunk November 13, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants