Complete the code to run Cypress tests in headless mode.
npx cypress run --[1]The --headless flag runs Cypress tests without opening the browser UI, suitable for automated environments.
Complete the command to specify the browser as Chrome when running Cypress tests.
npx cypress run --browser [1]The --browser chrome option tells Cypress to run tests using the Chrome browser.
Fix the error in the command to run Cypress tests with a specific spec file.
npx cypress run --spec [1]The --spec option requires the file path without quotes for correct CLI parsing.
Fill both blanks to run Cypress tests in headed mode and record the run.
npx cypress run --[1] --[2]
Use --headed to run tests with the browser UI visible, and --record to save the test run results to Cypress Dashboard.
Fill all three blanks to run Cypress tests with a specific config file, in headless mode, and using Firefox browser.
npx cypress run --config-file [1] --[2] --browser [3]
The --config-file option specifies which config file to use, --headless runs tests without UI, and --browser firefox runs tests in Firefox.