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
# Github's Copy branch to clipboard helper button does not play nice with forks | |
# This will `patthiel:foo/bar` and turn it into a git friendly `patthiel/foo/bar` | |
#!/usr/bin/env bash | |
if [[ $1 =~ ":" ]]; then | |
new_branch=$(echo $1 | sed 's/.*://g') | |
echo $new_branch | xargs git checkout | |
else | |
git checkout $@ |
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
<advancedsettings> | |
<cache> | |
<memorysize>157286400</memorysize> | |
<buffermode>1</buffermode> | |
<readfactor>4.0</readfactor> | |
</cache> | |
</advancedsettings> |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
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
### PROFILES ###,,,, | |
Profile ID,Name,Site,Overwrite, | |
c1,JiraBug,,0, | |
### AUTOFILL RULES ###,,,, | |
Type,Name,Value,Site,Profile | |
0,"^description$","*Brand + Environment* | |
- All known environments and brands that the defect is occurring in. | |
*Bug Description* | |
- A quick natural language overview of what you were trying to do when the bugappeared. | |
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
function startMbServer(port) { | |
return tcpPortUsed.check(port, '127.0.0.1') | |
.then( function(inUse) { | |
if (inUse == true) { | |
return Promise.resolve(`Port ${port} is already in use!`); | |
} | |
if (inUse == false) { | |
const options = { | |
'port' : port, |
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
describe('My Example Suite', () => { | |
it('should pass', () => { | |
expect(true).toBe(true) | |
}) | |
// We should display the pending reason | |
it('should pend with a reason', () => { | |
pending('PENDING BECAUSE OF THIS REASON') | |
}) | |
}) |
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
userName23:myrepo thielp1$ gulp wdio | |
[14:00:39] Requiring external module babel-core/register | |
[14:00:42] Using gulpfile ~/Developer/myrepo/gulpfile.babel.js | |
[14:00:43] Starting 'wdio'... | |
0 passing (26.00s) | |
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
describe('Wdio waitforExist Suite', () => { | |
it('Wait For Exist Timeout', () => { | |
browser.url('http://www.apple.com'); | |
browser.waitForExist('something', 5000); | |
}); | |
it('should not timeout', () => { | |
browser.waitForExist('.ac-gn-link ac-gn-link-watch', 5000); | |
}); |
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
14:04:58.907 INFO - Executing: [new session: Capabilities [{rotatable=true, locationContextEnabled=true, loggingPrefs=org.openqa.selenium.logging.LoggingPreferences@561881d5, browserName=chrome, javascriptEnabled=true, handlesAlerts=true, maxInstances=2, unexpectedAlertBehaviour=accept, requestOrigins={name=webdriverio, version=4.2.15, url=http://webdriver.io}}]]) | |
14:04:58.908 INFO - Creating a new session for Capabilities [{rotatable=true, locationContextEnabled=true, loggingPrefs=org.openqa.selenium.logging.LoggingPreferences@561881d5, browserName=chrome, javascriptEnabled=true, handlesAlerts=true, maxInstances=2, unexpectedAlertBehaviour=accept, requestOrigins={name=webdriverio, version=4.2.15, url=http://webdriver.io}}] | |
Starting ChromeDriver 2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6) on port 42079 | |
Only local connections are allowed. | |
14:04:59.521 INFO - Done: [new session: Capabilities [{rotatable=true, locationContextEnabled=true, loggingPrefs=org.openqa.selenium.logging.LoggingPreferences@561 |
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
uoianthielp1:ANCom thielp1$ gulp wdio -c=account --dev | |
[17:06:46] Requiring external module babel-core/register | |
[17:06:49] Using gulpfile ~/Developer/ANCom/gulpfile.babel.js | |
[17:06:49] Starting 'wdio'... | |
pattern brandweb/integration/account/**/*spec.js did not match any file | |
․․․․․․F․․․F․․․․․․․F․․․F․․․․․F․․․․․․․․․F․․․․F․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․F․․F․․․․․․․․․․․F․․․F․․․․F | |
78 passing (589.30s) | |
9 pending |
NewerOlder