This file contains hidden or 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
{ | |
"name": "example", | |
"version": "0.0.1", | |
"dependencies": { | |
"async": "~0.1.22", | |
"request": "~2.12.0", | |
"underscore": "~1.4.2" | |
} | |
} |
This file contains hidden or 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
{ | |
"name": "bid", | |
"version": "0.0.0", | |
"description": "ERROR: No README.md file found!", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"repository": "", | |
"author": "", |
This file contains hidden or 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 wd; | |
try { | |
wd = require('wd'); | |
} catch( err ) { | |
wd = require('../lib/main'); | |
} | |
var assert = require('assert'); | |
var test = require('./test'); |
This file contains hidden or 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 wd; | |
try { | |
wd = require('wd'); | |
} catch( err ) { | |
wd = require('../lib/main'); | |
} | |
var browser = wd.remote(); | |
browser.test = require('./test'); |
This file contains hidden or 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'; | |
angular.module('fixtureApp', []); | |
angular.module('fixtureApp') | |
.service('Fixtures', function($http, $q) { | |
var BASE_URL = ('/base/test/fixtures/'); | |
var fixtures = {}; | |
return { |
This file contains hidden or 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 wd; | |
try { | |
wd = require('wd'); | |
} catch( err ) { | |
wd = require('../lib/main'); | |
} | |
var browser = wd.promiseRemote(); | |
var Q = browser.Q; |
This file contains hidden or 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
parallels:~$ sudo docker run -d -p 5432:5432 spotapoo/postgis | |
WARNING: Docker detected local DNS server on resolv.conf. Using default external servers: [8.8.8.8 8.8.4.4] | |
7cd4bd58cc9e | |
parallels:~$ | |
parallels:~$ sudo docker ps | |
ID IMAGE COMMAND CREATED STATUS PORTS | |
7cd4bd58cc9e spotapoo/postgis:latest /start 17 seconds ago Up 16 seconds 49153->22, 5432->5432 | |
parallels:~$ | |
parallels:~$ ps -elf | grep docker | |
4 S root 1086 1 0 80 0 - 1101 wait 09:51 ? 00:00:00 /bin/sh -e -c /usr/bin/docker -d /bin/sh |
This file contains hidden or 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
wd git:(master) cat ./node_modules/.bin/start_sauce_connect | |
#!/bin/bash | |
# This script requires your .travis.yml to include the following two private env variables: | |
# SAUCE_USERNAME | |
# SAUCE_ACCESS_KEY | |
# Follow the steps at https://saucelabs.com/opensource/travis to set that up. | |
CONNECT_DIR="/tmp/sv-selenium" | |
READY_FILE="connect-ready-$RANDOM" |
This file contains hidden or 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
import com.saucelabs.common.SauceOnDemandAuthentication; | |
import com.saucelabs.common.SauceOnDemandSessionIdProvider; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Rule; | |
import org.junit.Test; | |
import org.junit.rules.TestName; | |
import org.openqa.selenium.Platform; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.remote.DesiredCapabilities; |
This file contains hidden or 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
require('colors'); | |
var wd; | |
try { | |
wd = require('wd'); | |
} catch( err ) { | |
wd = require('../../lib/main'); | |
} | |
var browser = wd.remote(); |
OlderNewer