http://responsivenews.co.uk/post/56884056177/wraith https://www.npmjs.org/package/grunt-photobox http://cburgmer.github.io/csscritic/ https://github.com/Huddle/PhantomCSS http://siteeffect.io/
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
test.execute(function () { | |
var nl = document.querySelectorAll(".menubar a[href]"); | |
var as = Array.prototype.slice.call(nl); | |
as.foreach(function (el) { | |
var attr = el.getAttribute('data-tracking-id'); | |
this.assert.ok((attr !== null), 'Attribute exists for:' + el.outerHTML); | |
}.bind(this)) | |
}) |
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
// given that the Logout function looks something like this: | |
// contents of functions.js | |
module.exports = { | |
Logout: function (aVar, bVar, test) { | |
console.log('Im logging the 2nd argument, just for fun:', bVar); | |
test | |
.click('#logout' + aVar) | |
.done(); | |
} | |
}; |
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
// using appium 0.9.something it was paossible to do this | |
// appium server (this file doesn't exist anymore) | |
var appium = require('appium/server'); | |
// some args | |
var appiumArgs = { | |
app: null, | |
ipa: null, | |
quiet: true, |
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
'use strict'; | |
module.exports = { | |
'Can fill out form': function (test) { | |
test.open('http://tentoring.com/') | |
.type('#name', 'Sebastian Golasch') | |
.type('#email', 'public@asciidisco.com') | |
.execute(function () { | |
// use "in Browser" javascript to select the items |
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
// Save this as a seperate file & execute it before the second file | |
// It will collect all the links and store them in a file | |
module.exports = { | |
'Collect all the links': function (test) { | |
test.open('http://google.com') | |
// load all the links | |
.execute(function () { | |
var links = document.getElementsByTagName('a'); | |
var data = []; | |
for (var i = 0; i <= links.length; i++) { |
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
Headline: Local Bower Registry | |
Description: As a developer, I want to be able to maintain & version private modules & dependencies in the frontend | |
Estimation: 8SP | |
Acceptance criteria: | |
∆ A local bower registry is up & running | |
∆ The registry can be accessed from the developer machine (onsite & from home office) | |
∆ The CI server can access the registry | |
∆ Modules can be uploaded | |
∆ Modules are stored in every version ever published |
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 myLoopedFn = function (test) { | |
test.open('http://google.de') | |
.click('#hugendubel') | |
.assert.text('#hugendubel', 'Steinlaus') | |
.wait(2000) | |
.assert.text('#hugendubel', 'Weinlaus') | |
.done(); | |
}; | |
var myObj = {}; |
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
// how to install/first steps http://dalekjs.com/pages/getStarted.html#install | |
// how to use it within grunt: https://www.npmjs.org/package/grunt-dalek | |
module.exports = { | |
'Can access the DOM': function (test) { | |
test.open('http://dalekjs.com/') | |
// the execute method executes JavaScript within a browser & also has | |
// full access to the DOM | |
.execute(function (message) { | |
// the "data" method is a simple wrapper around a key/value store |
I hereby claim:
- I am asciidisco on github.
- I am asciidisco (https://keybase.io/asciidisco) on keybase.
- I have a public key whose fingerprint is 6522 51A3 ED08 44B6 F854 31BE C359 803B ACA6 CFD7
To claim this, I am signing this object:
OlderNewer