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

6.2.23 • Public • Published

Applitools Eyes SDK for TestCafe.

Installation

Install Eyes-Testcafe as a local dev dependency in your tested project:

npm i -D @applitools/eyes-testcafe

Getting started

To get started with this SDK, you need to set the following:

Entering the Applitools API key {#API}

To authenticate via the Applitools server and run tests, you need to set the environment variable APPLITOOLS_API_KEY to the API key provided from Applitools Eyes. For details how to retrieve your API key, see the Applitools documentation in the Eyes Knowledge Center.

To to this, set the environment variable APPLITOOLS_API_KEY to the API key before running your tests.

Entering the API Key on Linux or a Mac

export APPLITOOLS_API_KEY=<your_key>
npx testcafe chrome:headless some-test-dir

Entering the API Key on Windows

set APPLITOOLS_API_KEY=<your_key>
npx testcafe chrome:headless some-test-dir

Entering the API Key in the config.js file

You can also specify the API key in the applitools.config.js file. The property name is apiKey.

Example

module.exports = {
  apiKey: 'YOUR_API_KEY',
  ...
}

Further information

For further information, see:

Package Sidebar

Install

npm i @applitools/eyes-testcafe

Weekly Downloads

23,998

Version

6.2.23

License

SEE LICENSE IN LICENSE

Unpacked Size

286 kB

Total Files

12

Last publish

Collaborators

  • danielputerman
  • gearm
  • amitzur
  • ramapplitools
  • amit.rokach
  • roy.sela
  • applitools-admin
  • applitools-readonly
  • iasisapp
  • noam.mendel
  • arik-applitools
  • yotammadem
  • denis.styrt
  • kyrylo.onufriiev
  • amitzur-applitools
  • yardenw.applitools
  • ormeda
  • vgprod
  • clementbarry
  • gofilord
  • alex.burdeynyy
  • chaimaharonson
  • ronikar_applitools
  • benny.halberstadt
  • itaibh-applitools
  • grayscale64
  • fatihsolhan-applitools
  • itaiz134
  • dockermaster
  • anandbagmar
  • sergovapplitools
  • eirenik0
  • mmilapp
  • noam.gaash
  • roeefr
  • livgerti
  • netta.bondy
  • anastasia.koifman
  • mkowalew3382
  • noamshv
  • aretm_borodavka
  • amir.groisman
  • netaavivi
  • shai.shlomai
  • adamcarmi
  • movsho
  • shirbin