npx cypress run --headed
If you want to execute the tests on headless mode you can do it with the following line:
npx cypress run
If you want to execute the specific tests you can do it with the following line:
npx cypress run --spec .\cypress\integration\tests\component/component.spec.js
If you want to execute the tests on specific browser you can do it with the following line:
npx cypress run --headed --browser firefox
npm run --env "username=dev.user,password=dev.password"