lib/src/pageObjects/adminUIApp.js
function (config) {
			if (config) {
				if (config.element && config.text) {
					this.expect.element(config.element).text.to.contain(config.text);
				} else {
					throw new Error('adminUIApp:must specify an element and text!');
				}
			} else {
				throw new Error('adminUIApp:invalid config specification!');
			}
			return this;
		}
function (config) {
			if (config) {
				if (config.element && config.text) {
					this.expect.element(config.element).text.to.contain(config.text);
				} else {
					throw new Error('adminUIApp:must specify an element and text!');
				}
			} else {
				throw new Error('adminUIApp:invalid config specification!');
			}
			return this;
		}
function ( config ) { if ( config ) { if ( config . element && config . text ) { this . expect . element ( config . element ) . text . to . contain ( config . text ) ; } else { throw new Error ( 'adminUIApp:must specify an element and text!' ) ; } } else { throw new Error ( 'adminUIApp:invalid config specification!' ) ; } return this ; }
Asserts that the specified home screen element text contains the specified value.

@param {Object} config The config spec.
@param {string} config.element The element whose text should contain the input text.
@param {String} config.text The text to compare against.
Asserts that the specified home screen element text contains the specified value .