Add a custom Playwright configuration
Runs execute under a named configuration — Default unless told otherwise. Here's how to add a Mobile one.
Read the default as your reference
testvibe files get Configurations/Default.config.jsYour config should keep the same shape — it's a standard Playwright config module the sandbox loads as-is.
Write the new configuration
mobile.config.jsmodule.exports = {use: {browserName: 'chromium',viewport: { width: 390, height: 844 },isMobile: true,hasTouch: true,},};testvibe files put Configurations/Mobile.config.js --file ./mobile.config.jsThe file name is the config name:
Configurations/Mobile.config.js→Mobile. (Writes outsideFeatures/orConfigurations/are rejected — see the allowlist.)Verify and run
testvibe configstestvibe run "Login Functionality" --config Mobile --waitOver REST that's
POST …/features/12/runwith{"config": "Mobile"}— seerun_feature.
info
Configurations apply per run — the same generated tests execute under any config, so one feature can be green on desktop and red on mobile. That's the point.