Permalink
Commits on Sep 12, 2016
  1. Fix typo in comment ("Task 3" instead of "Task 2")

    Follows-up b626290 which introduced the typo.
    
    Ref #47.
    Krinkle committed Sep 12, 2016
Commits on Jul 12, 2016
  1. 🔖 Tag v0.4.1

    Krinkle committed Jul 12, 2016
  2. build: ⬆️ Upgrade request dependency to v2.68.0+

    Per https://snyk.io/test/npm/testswarm-browserstack
    
    <https://snyk.io/vuln/npm:request:20160119>
    > Introduced through: request@2.9.203
    > Remediation: Upgrade to request@2.68.0.
    Krinkle committed Jul 12, 2016
Commits on Feb 25, 2016
  1. Tag v0.4.0

    Krinkle committed Feb 25, 2016
  2. Merge pull request #46 from mgol/browserstack-api-v4

    Switch to using version 4 of BrowserStack API
    Krinkle committed Feb 25, 2016
Commits on Feb 24, 2016
  1. Update to the 4th version of the BrowserStack API

    Also, update the browserstack npm package to the latest version so that
    the 4th API version works. There are no breaking changes in this update
    so it should "just work".
    
    Fixes #43
    mgol committed Feb 24, 2016
Commits on Oct 31, 2015
Commits on Oct 30, 2015
  1. Refactor userAgent-worker mapping to be more flexible

    * Invert the map (from bs-ts, to ts-bs).
    * Fragment by specification property since there are value
      conflicts (e.g. android browser and android os).
    * Add support for regular expressions.
    
    Rename variables 'browser', 'uaData' and 'browserData' to be
    more intuitive and document them.
    
    To debug your TestSwarm configuration, view the full map with:
    
     $ node src/cli.js --ua2bs '*'
    
    Fixes #45.
    Krinkle committed with mgol Oct 30, 2015
Commits on Oct 6, 2015
  1. add a detail.

    committed Oct 6, 2015
Commits on Jul 17, 2015
  1. cli: Use return instead of callback for --ua2bs flag

    This method is actually a plain getter that returns the value,
    it doesn't take a callback. Because of this, 'twbs --ua2bs <name>'
    resulted in no output.
    Krinkle committed Jul 17, 2015
  2. map: Add mapping for Android Browser

    Android's browser is "Android" in ua-parser and "Android Browser" in browserstack.
    Yandex's browser is "Yandex Browser" in ua-parser and "Yandex" in  browserstack.
    
    Yay for consistency.
    
    Ref jquery/testswarm#306.
    Krinkle committed Jul 17, 2015
Commits on Jul 10, 2015
  1. map: Add mapping for Yandex Browser

    This is the first time BrowserStack and ua-parser have conflicting
    identifiers for browser families. Add mapping so that we can spawn
    Yandex workers from BrowserStack.
    Krinkle committed Jul 10, 2015
  2. Add myself to the credits

    Krinkle committed Jul 10, 2015
Commits on May 15, 2015
  1. build: Run jscs from npm-test

    Krinkle committed May 15, 2015
  2. map: Update device list with upstream BrowserStack

    Follows-up c983cfc. While this is still version 3, a few new
    devices got added. And a few existing ones got renamed.
    
    Taken from http://api.browserstack.com/3/browsers?flat=true
    
    > browsers.forEach(function(browser) {
    >     devices[browser.device] = 1;
    > });
    > Object.keys(devices);
    
    Filtered down to only iPad/iPhone-ish ones and replaced existing
    ones with those.
    Krinkle committed May 15, 2015
  3. build: Enable jscs and jshint

    Krinkle committed May 15, 2015
Commits on Jul 17, 2014
  1. travis: Remove node 0.8

    Krinkle committed Jul 17, 2014
Commits on Feb 13, 2014
  1. Account for mismatch between /browsers and /workers in BrowserStack A…

    …PI v3
    
    * fixWorker: Check for worker.browser.os instead of worker.browser.version because
      - Mobile doesn't have browser version
      - This property was renamed in v3 to browser_version
    * fixWorker: Update property names to v3 versions
    * fixWorker: Fill null values for worker properties missing in /workers from /browsers
    * handleBrowser: Exclude worker.browser property from index due to upstream bug
    
    Fixes #41.
    Krinkle committed Feb 13, 2014
Commits on Jan 27, 2014
  1. Tag v0.3.0

    Krinkle committed Jan 27, 2014
Commits on Jan 22, 2014
  1. Update LICENSE

    committed Jan 22, 2014
  2. API: Update to BrowserStack API v.3

    The third version of the API is needed for IE11 support.
    mgol committed Jan 22, 2014
Commits on Jan 13, 2014
Commits on Dec 10, 2013
  1. spawnWorker: Fix TypeError for this.error undefined

    Forgot to convert this as part of a6417cb.
    Krinkle committed Dec 10, 2013
Commits on Jun 30, 2013
  1. readme: Fix typo in JSON attributes

    Closes #39.
    buley committed with Krinkle Jun 30, 2013
Commits on Jun 26, 2013
Commits on Nov 23, 2012
Commits on Nov 22, 2012
  1. Logging: All key-value pairs as JSON and fix colours. Fixes #34.

    In Splunk only the first word of the error message was detected:
    
     action=warning message=Foo bar baz quux info=some_data_here
    
     as action: warning, message: Foo, info: some_data_here
    
    By doing it all as JSON, this is now fixed.
    
    Also, this required fixing #34 at the same time, due to the colour
    codes invalidating the JSON.
    Krinkle committed Nov 22, 2012
  2. Logrotate: Order per convention and remove size.

    No need for size, makes it more consistent with the rest.
    Krinkle committed Nov 22, 2012
  3. Log: Improve logging of action=terminate

    Instead of just logging the ID, log the entire browser descriptor.
    Krinkle committed Nov 22, 2012
Commits on Nov 21, 2012
  1. Logging: Improve error logging.

    Log all errors with 'action=error' and a non-variable 'message'
    property that can be searched for (all variables are in the 'info' property).
    
    Made sure all util.log calls now use the object format.
    There were a few that were logging raw messages, however only
    in methods that were only called from cli.js. So I moved these to
    there to avoid accidental mixup.
    
    Fixed bug where --run-loop output had spurious new lines between
    messages. This was caused by runLoop() using console methods on
    data that was already formatted by console methods in the child
    process. Part of the formatting is ending it in a line break, so
    this happened twice.
    
    This will make it much easier to spot warnings and fatals in
    the logs.
    Krinkle committed Nov 21, 2012
Commits on Nov 16, 2012
  1. Support wildcards in TestSwarm browserSets.

    Ref: jquery/testswarm:
     [master 2aa7466] BrowserInfo: Implement wildcard system.
    
    Also add mapping in the other direction to cover for lack of
    Windows OS version distinction in browserstack API
    (Windows XP/7/8 -> Windows).
    Krinkle committed Nov 16, 2012