Mobilewright version
0.0.33
Operating system
macOS
Target platform
iOS
Device or simulator
iphone16
Minimal reproduction
I renamed the mobilewright.config.ts file to playwright.config.ts and ran:
`npx mobilewright test --config playwright.config.ts -> it gives : Error: Unsupported platform: "undefined". Must be "ios" or "android".
It seems mobilewright has a hardcoded assumption on the name of the config file and doesnt honour the passed config flag.
Actual behavior
it gives : Error: Unsupported platform: "undefined". Must be "ios" or "android".
Expected behavior
It should pick up the config flag passed and use that file for the config. Better yet, it should not depend on ts assumption (then providing the standard playwright.config.js style file would work - with mobilewright specific config values configured).
Additional context
No response
Mobilewright version
0.0.33
Operating system
macOS
Target platform
iOS
Device or simulator
iphone16
Minimal reproduction
I renamed the mobilewright.config.ts file to playwright.config.ts and ran:
`npx mobilewright test --config playwright.config.ts -> it gives : Error: Unsupported platform: "undefined". Must be "ios" or "android".
It seems mobilewright has a hardcoded assumption on the name of the config file and doesnt honour the passed config flag.
Actual behavior
it gives : Error: Unsupported platform: "undefined". Must be "ios" or "android".
Expected behavior
It should pick up the config flag passed and use that file for the config. Better yet, it should not depend on ts assumption (then providing the standard playwright.config.js style file would work - with mobilewright specific config values configured).
Additional context
No response