https://github.com/sencha/sencha-test-simple-example
Simple example Sencha test configuration.
https://github.com/sencha/sencha-test-simple-example
Last synced: 4 months ago
JSON representation
Simple example Sencha test configuration.
- Host: GitHub
- URL: https://github.com/sencha/sencha-test-simple-example
- Owner: sencha
- Created: 2019-09-08T00:48:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-10T04:18:14.000Z (almost 6 years ago)
- Last Synced: 2025-01-18T14:29:38.264Z (5 months ago)
- Language: JavaScript
- Homepage: https://docs.sencha.com/sencha_test/2.3.0/
- Size: 16 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Sencha Test CLI Project
This is a simple sencha test example with a [Saucelabs](https://saucelabs.com/) configuration.Debugging using In Browser Mode
Debugging using WebDriverIO Mode
## Reference
* [Check out the NPM guide](https://docs.sencha.com/sencha_test/2.3.0/open_tools_npm/using_npm.html).
* [Check out Sencha Test guides](https://docs.sencha.com/sencha_test/2.3.0/).## 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](./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
* Configure the [./workspace.json](./workspace.json) user and accessKey for [Saucelabs](https://saucelabs.com/).
* Configure the [./package.json](./package.json) accessKey for [Saucelabs](https://saucelabs.com/).## 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
```