Skip to content

mobile-next/create-mobilewright

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-mobilewright

Scaffold a Mobilewright test project in seconds.

Usage

npm init mobilewright

Also works with Yarn (yarn create mobilewright) and pnpm (pnpm create mobilewright).

The CLI walks you through setup and creates a ready-to-run project:

create-mobilewright screenshot

What you get

my-project/
  mobilewright.config.ts   # Device and app configuration
  tests/
    example.spec.ts        # A working test you can run immediately
  package.json

Run your first test

cd my-project
npx mobilewright test

That's it.

If this is the first time you are running a test on iOS (simulator or real device), you will need to run npx mobilewright install to set up the agent on the device.

If something's missing, npx mobilewright doctor tells you exactly what to fix.

Next steps

License

Apache

About

Scaffold a Mobilewright test project in seconds. npm init mobilewright

Topics

Resources

License

Stars

Watchers

Forks

Contributors