A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/LambdaTest/testcafe-browser-provider-lambdatest below:

LambdaTest/testcafe-browser-provider-lambdatest: npm Plugin For TestCafe Integration With LambdaTest

npm Plugin For TestCafe Integration With LambdaTest

This plugin integrates TestCafe with the LambdaTest Testing Cloud.

$ npm install testcafe-browser-provider-lambdatest

Before using this plugin, save the LambdaTest username and access key to environment variables LT_USERNAME and LT_ACCESS_KEY, as described in LambdaTest Documentation.

You can determine the available browser aliases by running

If you run tests from the command line, use the browser alias when specifying browsers: For Single Configuration

$ testcafe "lambdatest:Chrome@74.0:Windows 8" "path/to/test/file.js"

For Parallel/Multiple Configuration

$ testcafe "lambdatest:Chrome@74.0:Windows 8","lambdatest:Chrome@75.0:Windows 10" "path/to/test/file.js"

For Real Devices

$ testcafe "lambdatest:Galaxy S8@9:android:isReal" "path/to/test/file.js"
Not valid for real Devices: ---
                              v

When you use API, pass the alias to the browsers() method:

testCafe
    .createRunner()
    .src('path/to/test/file.js')
    .browsers('lambdatest:Chrome@74.0:Windows 8')
    .run();
Build Plugin Locally (Development Mode)
  1. Clone this repository,
  2. Rename Project
$ mv testcafe-browser-provider-lambdatest lambdatest
  1. Go to the project path
  1. Install Packages and Build
  1. Link Testcafe with lambdatest
  1. See this for Credentials

Use the following environment variables to set additional configuration options:

Example:

export LT_RESOLUTION="1920x1080"
export LT_TEST_NAME="Test TestCafe"
export LT_BUILD="Build x"
testcafe "lambdatest:Chrome","lambdatest:Chrome@74.0:Windows 8" tests/
LT_TIMEZONE
LT_SELENIUM_VERSION
LT_RESOLUTION

Above are not valid for real devices

LambdaTest is a cloud based selenium grid infrastructure that can help you run automated cross browser compatibility tests on 2000+ different browser and operating system environments. LambdaTest supports all programming languages and frameworks that are supported with Selenium, and have easy integrations with all popular CI/CD platforms. It's a perfect solution to bring your selenium automation testing to cloud based infrastructure that not only helps you increase your test coverage over multiple desktop and mobile browsers, but also allows you to cut down your test execution time by running tests on parallel.

Licensed under the APACHE license.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4