WebDriver/RemoteProtocol/GutenbergCDPUsage: Difference between revisions

The `env` family of scripts has been deprecated. Please use `wp-env` instead.
(Add stats about test setup)
(The `env` family of scripts has been deprecated. Please use `wp-env` instead.)
Line 13: Line 13:
# <code>npm install</code> -- you might see some warnings, this is fine.
# <code>npm install</code> -- you might see some warnings, this is fine.
# <code>npm run build</code>
# <code>npm run build</code>
# Build local env: <code>npm run env install</code>. Avoid running <code>npm run dev</code>; takes a long time, not useful.
# Build local env: <code>npm run wp-env install</code>. Avoid running <code>npm run dev</code>; takes a long time, not useful.
# Start the environment: <code>npm run env start</code>
# Start the environment: <code>npm run wp-env start</code>


To bring down the local WordPress instance later run <code>npm run env stop</code>.
To stop the local WordPress instance: <code>npm run env stop</code>


=== Firefox prerequisites ===
=== Firefox prerequisites ===
16

edits