Socket
Socket
Sign inDemoInstall

@applitools/preflight-cli

Package Overview
Dependencies
16
Maintainers
53
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @applitools/preflight-cli

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


Version published
Weekly downloads
17
Maintainers
53
Created
Weekly downloads
 

Readme

Source

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.

ParameterDescription
--clientIdPreflight client id.
--clientSecretPreflight client secret.
--testIdPreflight test id.
--groupIdPreflight group id.
--environmentIdPreflight environment id.
--tagsTags. (Ex: --tags "smoke tests,critical tests")
--noScreenshotDon't capture screenshots.
--noWaitResultDon't wait tests results.
--apiUrlApi URL
--authUrlAuth 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.

ParameterDescription
--clientIdPreflight client id.
--clientSecretPreflight client secret.
--workflowIdPreflight workflow id.
--environmentIdPreflight environment id.
--noWaitResultDon't wait workflow results.
--apiUrlApi URL
--authUrlAuth URL

Keywords

FAQs

Last updated on 07 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc