Skip to content

sencha/sencha-test-simple-example

Repository files navigation

Simple Sencha Test CLI Project

This is a simple sencha test example with a Saucelabs configuration.

Debugging using In Browser Mode InBrowser Mode Debugging

Debugging using WebDriverIO Mode InBrowser Mode Debugging

Reference

Requirements

  • You'll have to have a trial or be an enterprise customer to try this out.
  • This config uses the SauceLabs browser farm. Be sure to change the user and accessKey in ./workspace.json.

Login

Start by logging into the npm repository with the stc-cli packages.

npm login --registry=https://npm.sencha.com --scope=@sencha

Configure

Install

Download the dependencies to node_modules by running npm install.

npm install

Running

Run using npm. When running tests against SauceLabs you will have to start a tunnel.

Start the tunnel.

# run the command with NPM or copy the command from package.json. 
# Be sure to replace the access key with yours. 
npm start

Run the tests.

npm test

Stop the tunnel.

npm stop

About

Simple example Sencha test configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published