| 'use strict'; | |
| var setup = require('../.'), | |
| should = require('should'), | |
| path = require('path'), | |
| Sequelize = require('sequelize'), | |
| db = require('../../lib/db'), | |
| config = require('../../lib/config'), | |
| logger = require('../../lib/logger'); |
| Search for the error message you're seeing. Then read what we have to say about it. Then fix it! If you still have problems, write in to help@saucelabs.com . | |
| ==== AUTOMATED JOB ERRORS: ==== | |
| -- Invalid credentials -- | |
| Some combination of the following error messages will be thrown: | |
| OpenQA.Selenium.WebDriverException : Unexpected error. Unknown username. | |
| You sent username 'None' in your browser string, which is not a valid Sauce Labs account. | |
| OpenQA.Selenium.WebDriverException : Unexpected error. Invalid Credentials. | |
| org.openqa.selenium.UnsupportedCommandException: Invalid Credentials. |
| // Defining colors =========================================== | |
| $color-names : ''; | |
| $light-colors : ''; | |
| $dark-colors : ''; | |
| @mixin define-theme-color( $color-name, $light-color, $dark-color ) { | |
| @if ($color-names != "") and (index($color-names, $color-name) != false) { |
git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"
git config --global alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"
git config --global alias.mylog "log --pretty=format:'%h %s [%an]' --graph"
To check that they've been added correctly, first run git config --list. You should see something like this in the midst of all your other configuration:
alias.hist=log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short
| while(true) { | |
| console.log('blah'); | |
| } |
| function keepTrying(otherArgs, promise) { | |
| promise = promise||new Promise(); | |
| // try doing the important thing | |
| if(success) { | |
| promise.resolve(result); | |
| } else { | |
| setTimeout(function() { | |
| keepTrying(otherArgs, promise); |