Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@applitools/preflight-cli

Package Overview
Dependencies
Maintainers
52
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

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.

npmnpm
Version
1.0.5
Version published
Weekly downloads
175
-22.91%
Maintainers
52
Weekly downloads
 
Created
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

Automated Testing

FAQs

Package last updated on 29 Jan 2024

Did you know?

Socket

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