diff --git a/awx/ui/tests/e2e/CheckLicense.js b/awx/ui/tests/e2e/CheckLicense.js deleted file mode 100644 index f2e148c1dc..0000000000 --- a/awx/ui/tests/e2e/CheckLicense.js +++ /dev/null @@ -1,30 +0,0 @@ -/********************************** - * Copyright (c) 2015 Ansible, Inc. - * - * CheckLicense.js - * - * Tests the CheckLicense service- helpers/CheckLicense.js - * - */ - - /* global describe, it, expect, by, browser, element, beforeEach */ - - -describe('E2E:CheckLicense', function() { - beforeEach(function() { - browser.get('http://localhost:8013'); - }); - - it('should present login dialog', function() { - var labels = element.all(by.css('#login-modal .modal-body label')); - expect(labels.get(0).getText()).toMatch(/Username/); - }); - - it('should login', function() { - element(by.model('login_username')).sendKeys('admin'); - element(by.model('login_password')).sendKeys('password01!'); - element(by.id('login-button')).click(); - var user = element(by.css('#account-menu [ng-bind="current_user.username"]')); - expect(user.getText()).toMatch(/admin/); - }); -}); \ No newline at end of file diff --git a/awx/ui/tests/karma-unit.conf b/awx/ui/tests/karma-unit.conf deleted file mode 100644 index eae72dd9e0..0000000000 --- a/awx/ui/tests/karma-unit.conf +++ /dev/null @@ -1,22 +0,0 @@ -// Karma configuration -// Generated on Mon Aug 04 2014 21:17:04 GMT-0400 (EDT) - -var sharedConfig = require('./karma-shared.conf'); - -module.exports = function(config) { - var conf = sharedConfig(); - - // list of files / patterns to load in the browser - conf.files = conf.files.concat([ - '../static/lib/angular-mocks/angular-mocks.js', - '../../../node_modules/ng-midway-tester/src/ngMidwayTester.js', - './unit/*', - './unit/**/*' - ]); - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - conf.logLevel = config.LOG_INFO, - - config.set(conf); -}; diff --git a/awx/ui/tests/karma.conf.js b/awx/ui/tests/karma.conf.js deleted file mode 100644 index a6f42aa4a6..0000000000 --- a/awx/ui/tests/karma.conf.js +++ /dev/null @@ -1,88 +0,0 @@ -// Karma configuration -// Generated on Mon Aug 04 2014 21:17:04 GMT-0400 (EDT) - -var path = require('path'); - -module.exports = function(config) { - config.set({ - - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: '', - - autoWatchBatchDelay: 2000, - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - - frameworks: - [ 'mocha', - 'chai', - 'sinon-chai', - 'chai-as-promised', - 'chai-things' - ], - - preprocessors: - { '../dist/**/*.html': ['ng-html2js'] - }, - - // list of files / patterns to load in the browser - files: [ - '../tests/phantomjs-polyfill.js', - '../dist/tower.concat.js', - '../static/lib/angular-mocks/angular-mocks.js', - '../static/lib/ember-cli-test-loader/test-loader.js', - '../dist/tests/**/*.js', - '../tests/unit.js', - '../dist/partials/**/*.html', - '../dist/js/**/*.html' - ], - - ngHtml2JsPreprocessor: { - stripPrefix: path.join(process.cwd(), 'awx/ui/dist'), - prependPrefix: '/static', - moduleName: 'templates' - }, - - - // list of files to exclude - exclude: [ - '../static/js/awx.min.js' - ], - - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['dots', 'progress'], - - client: { - mocha: { - ui: 'bdd' - } - }, - - - // web server port - port: 9876, - - - // enable / disable colors in the output (reporters and logs) - colors: true, - - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: true, - - - // start these browsers - // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['Chrome'], - - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false - - }); -}; diff --git a/awx/ui/tests/protractor-e2e.conf b/awx/ui/tests/protractor-e2e.conf deleted file mode 100644 index c4df53799e..0000000000 --- a/awx/ui/tests/protractor-e2e.conf +++ /dev/null @@ -1,4 +0,0 @@ -exports.config = { - seleniumAddress: 'http://localhost:4444/wd/hub', - specs: ['e2e/*.js'] -}