Open rukmini-bose opened 5 months ago
Add this to playwright-watch.config.js and playwright-mobile.config.js
{ name: 'android_tablet', grep: /@mobile/, use: { storageState: fileURLToPath( new URL('./test-data/display_layout_with_child_layouts.json', import.meta.url) ), browserName: 'chromium', ...devices['Galaxy Tab S4 landscape'] // Complete List https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/deviceDescriptorsSource.json } }
Summary
When running the mobile test suite, the Datepicker is not detecting the correct device. Instead of detecting the mobile version of the datepicker (which is a full screen modal), we are seeing the desktop version (which is a simple popup).