Permalink
Switch branches/tags
Commits on Apr 6, 2017
  1. cli: Set worker.build in addition to worker.project

    * 'project' allows searching for workers coming from testswarm-browserstack
      (as opposed to those from other users and programs from the same org)
    * 'build' allows grouping workers spawned during the same run.
    Krinkle committed Apr 6, 2017
  2. cli: Make worker.project configurable and set a default

    This is exposed by node-browserstack's Client#createWorker.
    Krinkle committed Apr 6, 2017
Commits on Apr 3, 2017
  1. Improve browserFamily mapping documentation

    Based on experience and improved understanding.
    Krinkle committed Apr 3, 2017
Commits on Mar 30, 2017
  1. Tag v0.5.2

    Krinkle committed Mar 30, 2017
  2. map: Ignore browser spec for os=android

    Generalisation of f246bb8. We'd have to map "Chrome" to "Android Browser"
    as well to make it work fully, which is not practical.
    
    Ref jquery/testswarm#306.
    Krinkle committed Mar 30, 2017
  3. Tag v0.5.1

    Krinkle committed Mar 30, 2017
  4. map: Add mapping for 'Chrome Mobile' -> 'Android Browser'

    BrowserStack v4 has back-compat mapping that is actually working
    against us in this case..
    Krinkle committed Mar 30, 2017
Commits on Mar 23, 2017
  1. Tag v0.5.0

    Krinkle committed Mar 23, 2017
  2. build: Autofix most jquery/eslint violations

    Keeping lines-around disabled.
    Keeping single quotes enforced.
    Krinkle committed Mar 23, 2017
  3. build: Drop Node 0.12 support; Switch to ESLint

    * Add testing for Node 4 and Node 7.
      swarm.jquery.org currently runs Node 4.
    
    * Drop testing for Node 0.12 (EOL).
    
    * Fix violations of wrap-iife and max-len.
    Krinkle committed Mar 23, 2017
  4. doc: Mention use of BrowserStack API v4 in readme

    Follows-up 846a55e (#43).
    Krinkle committed Mar 23, 2017
  5. Remove redundant hack meant for browserstack-api/v3

    The bug where the index at /browsers includes a 'browser' for mobile devices
    but /workers only supports spawning by 'device' was fixed in v4.
    
    Follows-up 846a55e (#43), 075132c (#41).
    
    Ref jquery/testswarm#306
    Krinkle committed Mar 23, 2017
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