valence-test
v1.0.0
Published
Test applications running in Valence and 5250 screens with Fusion5250
Downloads
14
Maintainers
Readme
CNX Corporation
Available for Valence ^5.2+
Use valence-test to test your applications running within the Valence Portal and 5250 screens with Fusion5250. This package supports Linux and Windows.
Tests are performed using CodeceptJS and Puppeteer.
Clean Install
mkdir acme
cd acme
npm init --yes
npm install valence-test --save
npm install
Starting the Node Server
npm start
Structure after a clean install
acme
│
└───node_modules
│ valence-test
│ *other modules
│
└───output
│ // Test Reports
│
└───tests
│ │
│ └───fusion5250Scripts
│ │
│ └───// Fusion5250 location
│ fusion5250_test.js
│ nitroFileEditor_test.js
│
└───util
│ email.js
│ helper.js
│
│ .gitignore
│ app.js
│ codecept.conf.js
│ config.js
│ events.js
│ package.json
│ Readme.md
│ steps_file.js
config.json - example
{
"purgeResultsDays": 5,
"port": 9999,
"valenceUrl": "http://myIBMiIP:7052",
"valenceUserId": "myuser",
"valenceUserPwd": "mypassword",
"email": {
"host": "smtpHost",
"port": 465,
"pwd": "smtpUserPassword",
"rejectUnauthorized": false,
"secure": true,
"secureConnection": false,
"subject": "Valence Test Results",
"to": "[email protected]",
"user": "smtpUser",
"logger": false
},
"schedule": {
"hour": 2,
"minute": 2
}
}
Community
Versions
1.0.0 - 2019-10-05
- General Availability