• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alphagov / accessible-autocomplete
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: bump-deps
DEFAULT BRANCH: master
Repo Added 09 May 2017 03:11PM UTC
Files 4
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-saucelabs-tests
branch: fix-saucelabs-tests
CHANGE BRANCH
x
Reset
  • fix-saucelabs-tests
  • add-edited-changelog
  • add-multiselect-support
  • allow-space-to-confirm
  • aria-selected-as-string-rebased
  • badge-updates
  • better-element-errors
  • better-prepush-script
  • bump-dependencies
  • bump-dependencies-2
  • bump-deps
  • bump-dev-dependancies
  • bump-node
  • bump-npm-run-all
  • cg-longer-variables
  • changelog-updates
  • content
  • content-publisher
  • coveralls
  • dependabot/npm_and_yarn/acorn-5.7.4
  • dependabot/npm_and_yarn/elliptic-6.5.3
  • dependabot/npm_and_yarn/elliptic-6.5.4
  • dependabot/npm_and_yarn/eslint-utils-1.4.3
  • dependabot/npm_and_yarn/handlebars-4.7.6
  • dependabot/npm_and_yarn/handlebars-4.7.7
  • dependabot/npm_and_yarn/https-proxy-agent-2.2.4
  • dependabot/npm_and_yarn/ini-1.3.8
  • dependabot/npm_and_yarn/js-yaml-3.14.0
  • dependabot/npm_and_yarn/lodash-4.17.15
  • dependabot/npm_and_yarn/lodash-4.17.19
  • dependabot/npm_and_yarn/mixin-deep-1.3.2
  • dependabot/npm_and_yarn/urijs-1.19.6
  • dependabot/npm_and_yarn/webpack-dev-server-3.1.11
  • dependabot/npm_and_yarn/y18n-4.0.1
  • dependabot/npm_and_yarn/y18n-4.0.3
  • disable-hint
  • dismiss-open-autocompletes
  • downArrowFix
  • fix-autoselect
  • fix-build-files
  • fix-changelog-v
  • fix-first-char-on-option-disappearing
  • fix-integation-tests
  • fix-long-click-issue
  • fix-long-click-issue-round-2
  • fix-npm-install
  • fix-npm-run-dev
  • fix-react-preact-paths
  • fix-real-form-example-link
  • fix-src-in-readme
  • fix-status-region-readability
  • fix-tests
  • fix-tests-master
  • fouc
  • greenkeeper/babel-core-6.25.0
  • greenkeeper/babel-core-pin-6.24.1
  • greenkeeper/babel-eslint-10.0.0
  • greenkeeper/babel-eslint-10.0.1
  • greenkeeper/babel-eslint-8.0.0
  • greenkeeper/babel-loader-7.1.0
  • greenkeeper/chai-4.0.0
  • greenkeeper/chai-4.0.1
  • greenkeeper/chai-4.0.2
  • greenkeeper/chalk-2.0.0
  • greenkeeper/chalk-2.0.1
  • greenkeeper/copy-webpack-plugin-4.5.3
  • greenkeeper/copy-webpack-plugin-4.5.4
  • greenkeeper/coveralls-3.0.0
  • greenkeeper/cross-env-5.0.0
  • greenkeeper/cross-env-5.0.1
  • greenkeeper/cross-env-pin-5.0.0
  • greenkeeper/dotenv-5.0.0
  • greenkeeper/dotenv-5.0.1
  • greenkeeper/husky-0.14.0
  • greenkeeper/husky-0.14.1
  • greenkeeper/husky-1.0.0
  • greenkeeper/husky-1.0.1
  • greenkeeper/husky-1.1.0
  • greenkeeper/husky-1.1.1
  • greenkeeper/husky-1.1.2
  • greenkeeper/husky-1.1.4
  • greenkeeper/initial
  • greenkeeper/karma-2.0.0
  • greenkeeper/karma-2.0.2
  • greenkeeper/karma-3.1.0
  • greenkeeper/karma-webpack-3.0.0
  • greenkeeper/mocha-3.4.0
  • greenkeeper/mocha-3.4.1
  • greenkeeper/mocha-3.4.2
  • greenkeeper/mocha-4.0.0
  • greenkeeper/mocha-4.0.1
  • greenkeeper/mocha-4.1.0
  • greenkeeper/mocha-5.0.0
  • greenkeeper/mocha-5.0.2
  • greenkeeper/mocha-5.0.3
  • greenkeeper/mocha-5.0.4
  • greenkeeper/mocha-5.0.5
  • greenkeeper/mocha-5.1.0
  • greenkeeper/mocha-5.1.1
  • greenkeeper/sinon-2.3.0
  • greenkeeper/sinon-2.3.1
  • greenkeeper/sinon-2.3.2
  • greenkeeper/sinon-2.3.3
  • greenkeeper/sinon-2.3.4
  • greenkeeper/sinon-2.3.5
  • greenkeeper/sinon-3.0.0
  • greenkeeper/sinon-3.1.0
  • greenkeeper/sinon-3.2.0
  • greenkeeper/sinon-3.2.1
  • greenkeeper/sinon-3.3.0
  • greenkeeper/sinon-4.0.0
  • greenkeeper/sinon-4.0.1
  • greenkeeper/sinon-4.0.2
  • greenkeeper/sinon-4.1.0
  • greenkeeper/sinon-4.1.1
  • greenkeeper/sinon-4.1.4
  • greenkeeper/sinon-4.1.5
  • greenkeeper/sinon-4.2.2
  • greenkeeper/sinon-4.4.0
  • greenkeeper/sinon-4.4.1
  • greenkeeper/sinon-4.4.2
  • greenkeeper/sinon-4.4.3
  • greenkeeper/sinon-4.4.4
  • greenkeeper/sinon-4.4.5
  • greenkeeper/sinon-4.4.6
  • greenkeeper/sinon-4.4.7
  • greenkeeper/sinon-5.0.0
  • greenkeeper/sinon-chai-2.11.0
  • greenkeeper/sinon-chai-3.0.0
  • greenkeeper/wdio-sauce-service-0.4.11
  • greenkeeper/wdio-selenium-standalone-service-0.0.10
  • greenkeeper/webdriverio-4.14.0
  • greenkeeper/webpack-2.6.0
  • greenkeeper/webpack-2.6.1
  • greenkeeper/webpack-3.0.0
  • greenkeeper/webpack-dev-middleware-1.12.0
  • greenkeeper/webpack-dev-middleware-1.12.1
  • greenkeeper/webpack-dev-middleware-1.12.2
  • greenkeeper/webpack-dev-middleware-2.0.1
  • greenkeeper/webpack-dev-middleware-2.0.2
  • greenkeeper/webpack-dev-middleware-2.0.3
  • greenkeeper/webpack-dev-middleware-2.0.4
  • greenkeeper/webpack-dev-middleware-2.0.6
  • greenkeeper/webpack-dev-middleware-3.4.0
  • greenkeeper/webpack-dev-server-2.5.0
  • greenkeeper/webpack-dev-server-3.0.0
  • greenkeeper/webpack-dev-server-3.1.0
  • greenkeeper/webpack-dev-server-3.1.1
  • greenkeeper/webpack-dev-server-3.1.10
  • greenkeeper/webpack-dev-server-3.1.3
  • greenkeeper/webpack-dev-server-3.1.9
  • improve-publishing-docs
  • joelanman-patch-1
  • ldeb-parallelize-travis-tests
  • ldeb-upgrade-puppeteer
  • ldeb-upgrade-webdriver-tests
  • ldeb-use-build-script-for-integration-testing
  • master
  • migrate-to-travis-com
  • more-modules
  • nickcolley-patch-1
  • one-dot-zero-dot-zero
  • pin-sauce-connect-for-local-tests
  • pin-saucelabs-firefox-version
  • preact-8
  • preact-fixes
  • prepush-hook
  • remove-pointer-events-check
  • remove-retries
  • remove-yarn-lockfile
  • rename-to-autocomplete
  • revert-fix-ios-custom-click
  • separate-styles
  • showAllValues2
  • test-pr
  • translations
  • travis-integration-tests
  • update-author-details
  • update-focus-styles
  • update-node-version
  • update-outdated-dependencies
  • update-react-docs
  • update-status
  • usage-docs
  • use-div-for-wrapper
  • v0.6.0
  • v1.0.0
  • v1.0.1
  • v1.0.2
  • v1.0.3
  • v1.0.4
  • v1.0.5
  • v1.2.1
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.4.0
  • v1.4.1
  • v1.4.2
  • v1.5.0
  • v1.6.0
  • v1.6.1
  • v1.6.2
  • v2.0.0
  • v2.0.1
  • v2.0.2
  • v2.0.3

pending completion
1159

push

travis-ci-com

hannalaakso
Only run aria-live tests in Chrome, bump timeout

We were seeing the new integration tests fail as they didn't complete
within the set time limit of 2000ms.

This would happen when they were run through Saucelabs as done on CI
or when you have the Saucelabs set up to run locally. When Saucelabs
is not available, the tests are run through Karma/headless Chrome,
which seems to reliably pass.

Solutions 2 and 3 to keep some test coverage, while also trying to ensure that
our PRs don't start failing due to Saucelabs timer issues. With this in
mind, we should keep an eye on the tests on CI going forward.

Setting timeout on
[waitUntil](https://webdriver.io/docs/api/browser/waitUntil.html)
is optional.

However removing it throws
```
Promise was rejected for the following reason: timeout
```

-Chrome on Saucelabs would intermittently fail within 2000ms; Firefox
and IE would always fail
- On 3000ms Firefox and IE11 would still fail.
- On 4000ms IE11 was flaky.
- IE10 needed at least 6000ms to pass, whilst IE9 wouldn't pass even
at 10000ms.
- Additionally, Firefox would fail intermittently regardless of the timeout
limit set.

As Chrome seemed most reliable to run the tests with, we only run these tests
through Saucelabs only in Chrome on Windows 10.

However even then we would occassionally see the tests in Chrome fail within
the 2000ms limit.

We increased the limit to 10000ms, at which point no issues were observed.

Saucelabs runs tests in tests/integration. karma/headless chrome run tests in
tests/functional.

Tests on the original PR would have been run through karma/headless Chrome as
Saucelabs wasn't available. They seem too flaky to run through Saucelabs because
of timer issues so we investigated moving them to /tests/functional.

However we found that trying to create the interactive component for testing
was really difficult - this is probably why these tests were originally in
placed in tests/integration.

Investigate adding a file that has the sa... (continued)

191 of 243 branches covered (78.6%)

245 of 271 relevant lines covered (90.41%)

61.41 hits per line

Relevant lines Covered
Build:
Build:
271 RELEVANT LINES 245 COVERED LINES
61.41 HITS PER LINE
Source Files on fix-saucelabs-tests
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1159 fix-saucelabs-tests Only run aria-live tests in Chrome, bump timeout We were seeing the new integration tests fail as they didn't complete within the set time limit of 2000ms. This would happen when they were run through Saucelabs as done on CI or when you have the... push 19 Sep 2019 11:07AM UTC hannalaakso travis-ci-com pending completion  
1157 fix-saucelabs-tests Only run aria-live tests in Chrome, bump timeout We were seeing the new integration tests fail as they didn't complete within the set time limit of 2000ms. This would happen when they were run through Saucelabs as done on CI or when you have the... Pull #362 19 Sep 2019 10:50AM UTC web-flow travis-ci-com pending completion  
1153 fix-saucelabs-tests Only run aria-live tests in Chrome, bump timeout ## Problem We were seeing the new integration tests fail as they didn't complete within the set time limit of 2000ms. This would happen when they were run through Saucelabs as done on CI or when ... push 19 Sep 2019 10:34AM UTC hannalaakso travis-ci-com pending completion  
1148 fix-saucelabs-tests Only run aria-live tests in Chrome, bump timeout ## Problem We were seeing the new integration tests fail as they didn't complete within the set time limit of 2000ms. This would happen when they were run through Saucelabs as done on CI or when ... push 17 Sep 2019 05:09PM UTC hannalaakso travis-ci-com pending completion  
See All Builds (688)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc