This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var login = function (name, pass) { | |
var loginPg = new loginPage(); | |
var logoutBtn = loginPg.logoutBtn; | |
var d = protractor.promise.defer(); | |
browser.get(httpAuthUrl + "/#/page/login"); | |
if (logoutBtn.isPresent()) { | |
logoutBtn.isPresent().then(function (logged_in) { | |
if (logged_in) { | |
logoutBtn.click(); | |
var username = loginPg.username, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var getGroupData = function () { | |
var d = protractor.promise.defer(), | |
groupData = {}; | |
browser.get(httpAuthUrl + "/#/app/testdata"); | |
waitUntilReady(testDataPg.createGroupWithContentBtn); | |
testDataPg.createGroupWithContentBtn.click(); | |
waitUntilReady(testDataPg.groupData); | |
testDataPg.groupData.getText().then( | |
function (json) { | |
groupData = JSON.parse(json); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* Copyright (c) 2017. Movie English Project | |
* Unauthorized copying of viewVideoPg file, via any medium is strictly prohibited | |
* * Proprietary and confidential | |
*/ | |
"use strict"; | |
var globals = require('./../../globals.js'); | |
console.log("\x1b[35m"+'Starting MEP-T6_Delete_Selected_Video.spec.js'); | |
require('./../../jasmine-matchers.js'); | |
var _ = require('lodash'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* Copyright (c) 2017. Movie English Project | |
* Unauthorized copying of viewVideoPg file, via any medium is strictly prohibited | |
* * Proprietary and confidential | |
* * Written by Muhummad Rafique (mmrafi.pk@gmail.com) | |
******************************************************************************/ | |
/******************************************************************************* | |
* Copyright (c) 2017. Movie English Project | |
* All rights reserved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* Copyright (c) 2017. Movie English Project | |
* Unauthorized copying of viewVideoPg file, via any medium is strictly prohibited | |
* * Proprietary and confidential | |
* * Written by Muhummad Rafique (mmrafi.pk@gmail.com) | |
******************************************************************************/ | |
/******************************************************************************* | |
* Copyright (c) 2017. Movie English Project | |
* All rights reserved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var downloadpath = '/var/lib/jenkins/download/'; | |
// var downloadpath = 'E:/download/'; | |
exports.config = { | |
seleniumAddress: 'http://localhost:4444/wd/hub', | |
seleniumPort: '4444', | |
directConnect: true, | |
capabilities: { | |
browserName: 'chrome', | |
chromeOptions: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* Copyright (c) 2017. Movie English Project | |
* Unauthorized copying of viewVideoPg file, via any medium is strictly prohibited | |
* * Proprietary and confidential | |
* * Written by Surya Tej(surya4tej@gmail.com) | |
******************************************************************************/ | |
/******************************************************************************* | |
* Copyright (c) 2017. Movie English Project | |
* All rights reserved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* Copyright (c) 2016. Movie English Project | |
* Unauthorized copying of this file, via any medium is strictly prohibited | |
* * Proprietary and confidential | |
* * Written by Paul Preibisch <fire@b3dmultitech.com> | |
******************************************************************************/ | |
/** | |
* @ngdoc service | |
* @name mSystem.service:playerService |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2017. Movie English Project | |
* Unauthorized copying of this file, via any medium is strictly prohibited | |
* Proprietary and confidential | |
* Ashish Sharma <ashish@heersoftware.com> | |
* MEP-T203: Scroll really far down in the Homepage, then login. Then log out. homepage doesn't load, instead the spinner is displayed | |
* https://movieenglish.atlassian.net/projects/MEP?selectedItem=com.atlassian.plugins.atlassian-connect-plugin:com.kanoah.test-manager__main-project-page#!/testCase/MEP-T203 | |
* All rights reserved | |
* tests/e2e/usecases_done/MEP-T203_Home_Page_Scrolling.spec.js | |
* Use Case: Scroll really far down in the Homepage, then login. Then log out. homepage doesn't load, instead the spinner is displayed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"success": true, | |
"message": "content", | |
"data": { | |
"folders": [], | |
"content": [ | |
{ | |
"provider": "YouTube", | |
"thumbdefault": "0", | |
"featured": 0, |