@applitools/preflight-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Description

Preflight is a code-free automated UI testing tool. This package allows you to run your Preflight tests.

Usage

Prerequisite

Before you start, you need to get a client id and client secret from Account Settings > API under your Preflight account.

Install

Download package with below command.
npm install preflight-cli

Run

Run the Preflight application with below command.
npm run preflight

Run Test on Preflight

Client id and client secret are required parameters. This is the example run command.
preflight run_test --clientId="<client-id>" --clientSecret="<client-secret>" --testId="<test-id>"

These are the other parameters.

Parameter Description
--clientId Preflight client id.
--clientSecret Preflight client secret.
--testId Preflight test id.
--groupId Preflight group id.
--environmentId Preflight environment id.
--tags Tags. (Ex: --tags "smoke tests,critical tests")
--noScreenshot Don't capture screenshots.
--noWaitResult Don't wait tests results.
--apiUrl Api URL
--authUrl Auth URL

Run Workflow on Preflight

Client id and client secret are required parameters. This is the example run command.
preflight run_workflow --clientId="<client-id>" --clientSecret="<client-secret>" --workflowId="<workflow-id>"

These are the other parameters.

Parameter Description
--clientId Preflight client id.
--clientSecret Preflight client secret.
--workflowId Preflight workflow id.
--environmentId Preflight environment id.
--noWaitResult Don't wait workflow results.
--apiUrl Api URL
--authUrl Auth URL

Package Sidebar

Install

npm i @applitools/preflight-cli

Weekly Downloads

17

Version

1.0.6

License

MIT

Unpacked Size

55.1 kB

Total Files

33

Last publish

Collaborators

  • roeefr
  • livgerti
  • shiran.sidis
  • mmilapp
  • anandbagmar
  • dockermaster
  • mkowalew3382
  • itaiz134
  • anastasia.koifman
  • eirenik0
  • sergovapplitools
  • fatihsolhan-applitools
  • grayscale64
  • itaibh-applitools
  • bongo123
  • aretm_borodavka
  • netaavivi
  • applitoolsmustafa
  • zamboney
  • benbaba
  • amit.rokach
  • eladheller
  • adamcarmi
  • amir.groisman
  • noamshv
  • noam.gaash
  • giladgd
  • ran-itzhaki
  • noam.mendel
  • gearm
  • benny.halberstadt
  • gofilord
  • alex.burdeynyy
  • david.haeffner
  • chaimaharonson
  • roy.sela
  • ronikar_applitools
  • danielputerman
  • amitzur
  • ramapplitools
  • applitools-admin
  • applitools-readonly
  • iasisapp
  • yotammadem
  • liranbarokas
  • itayy.applitools
  • denis.styrt
  • kyrylo.onufriiev
  • amitzur-applitools
  • yardenw.applitools
  • ormeda
  • vgprod
  • clementbarry