Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor spelling + organizational changes #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jsLibrary/multipleDevices/multi.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ function startTest(cmds, config) {
const executeCmd = isWin ? 'mocha.cmd' : 'mocha';
cmds.forEach(({options, name}) => {
let child = spawn(executeCmd, [`${test}`,'--reporter', 'mochawesome', '--reporter-options', `reportDir=${outputdir},reportFilename=${name}`, options]);
child.on('error', (messasge) => {
console.log(`${name} error: ${messasge}`);
child.on('error', (message) => {
console.log(`${name} error: ${message}`);
});
child.stdout.on('data', (data) => {
console.log(`${name} stdout:\n${data}`);
Expand Down
1 change: 1 addition & 0 deletions jsLibrary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"chai": "4.2.0",
"form-data": "3.0.0",
"mocha": "7.0.1",
"mochawesome": "5.0.0",
"nock": "12.0.1"
}
}
2 changes: 1 addition & 1 deletion jsLibrary/tests/test_7-EpisodePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('test_7-EpisodePicker', () => {
expect(res).equal(true);
});

it('Verify is Categort list loaded', async function() {
it('Verify is Category list loaded', async function() {
this.timeout(50000);
await library.sendKey('select', 3);
const res = await library.verifyIsScreenLoaded({'elementData': [{'using': 'tag', 'value': 'CategoryListView'}]});
Expand Down
4 changes: 2 additions & 2 deletions jsLibrary/uTest/test_rokuLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,15 +337,15 @@ describe('rokuLibrary tests', () => {
}
});

it('test verify is playack started success', async () => {
it('test verify is playback started success', async () => {
nock(baseUrl)
.get(`/${sessionId}/player`)
.reply(200, respWithPlayerInfo);
const result = await library.verifyIsPlaybackStarted(0.5);
expect(result).to.equal(true);
});

it('test verify is playack started error', async () => {
it('test verify is playback started error', async () => {
nock(baseUrl)
.get(`/${sessionId}/player`)
.reply(500, responseWithError);
Expand Down
2 changes: 2 additions & 0 deletions sample/Postman/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# Importing and testing the Postman collection

Roku's test automation software includes a Postman collection that enables you to test the Roku WebDriver API calls and write test suites. To import the Postman JSON collection and use it to test the Roku WebDriver calls, follow these steps:
Expand All @@ -17,3 +18,4 @@ Roku's test automation software includes a Postman collection that enables you t
![roku-webdriver-postman-collection](https://image.roku.com/ZHZscHItMTc2/roku-webdriver-postman-collection.png)

7. When you have finished testing, send the **DEL delete session** request to remove the session.