Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohitghatol/node-horseman-test-cases
TestCases for node-horseman
https://github.com/rohitghatol/node-horseman-test-cases
Last synced: 6 days ago
JSON representation
TestCases for node-horseman
- Host: GitHub
- URL: https://github.com/rohitghatol/node-horseman-test-cases
- Owner: rohitghatol
- Created: 2015-10-01T01:11:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-01T01:35:25.000Z (about 9 years ago)
- Last Synced: 2024-10-29T18:12:22.798Z (about 2 months ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-horseman-test-cases
TestCases for node-horseman# Instructions
* $>npm install
* $>export PATH=$PATH:node_modules/phantomjs/bin
* $>DEBUG=horseman node test1.js# Test Scenario
* Opens http://rohitghatol.github.io/pdf-print-server/login.html and puts in Username and Password there.
* Opens http://rohitghatol.github.io/pdf-print-server/print.html, waits for the page's title to change to 'done', before issuing a PDF PrintThe Print.html page take in between 10 to 15 seconds to load (picks up a random number between 10 to 15). This is to simulate, page loading up data from backend and rendering things.
# Test Cases
|# | Name | Description | Number of Parallel Prints | Use of WaitFor (fn,value) | Use of Wait (milliseconds) | Status | Description |
|---|---|---|---|---|---|---|---|
| 1 |test1.js |Prints 1 PDF uses WaitFor(fn,value) and setTimeout | 1 | Yes | No | Pass | Prints the 1 PDF File |
| 2 |test2.js |Prints 2 PDFs in parallel uses WaitFor(fn,value) and setTimeout | 2 | Yes | No | Fail | Code Hangs after printing 1st PDF File |
| 3 |test3.js |Prints 1 PDF uses WaitFor(fn,value) and Async.parallel | 1 | Yes | No | Pass | Prints the 1 PDF File |
| 4 |test4.js |Prints 2 PDFs in parallel uses WaitFor(fn,value) and Async.parallel | 2 | Yes | No | Fail | Code Hangs after printing 1st PDF File |
| 5 |test5.js |Prints 1 PDF uses Wait(milliseconds) and setTimeout | 1 | No | Yes | Pass | Prints the 1 PDF File |
| 6 |test6.js |Prints 2 PDFs uses Wait(milliseconds) and setTimeout | 2 | No | Yes | Fail | Code Hangs after printing 1st PDF File |
| 7 |test7.js |Prints 1 PDF uses Wait(milliseconds) and Async.parallel | 1 | No | Yes | Pass | Prints the 1 PDF File |
| 8 |test8.js |Prints 2 PDFs uses Wait(milliseconds) and Async.parallel | 2 | No | Yes | Pass | Prints 2 PDF Files but doesn't exit |