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
// Text to be entered | |
var text = 'My text value'; | |
// Locator | |
var input = element(by.model('angularProperty')); | |
// Now you can use like this | |
setValue(text, input); | |
// Using this function |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
//For reading Packages | |
pkg: grunt.file.readJSON('package.json'), | |
jshint: { | |
//For reading and executing the spec files | |
files: ['Gruntfile.js', 'specs/*.js'], | |
options: { | |
// options here to override JSHint defaults |