js/core: Retry the caveat page

The caveat page doesn't always show up.
https://github.com/vanadium/issues/issues/516

This has affected other tests
https://github.com/vanadium/issues/issues/520
https://github.com/vanadium/browser/issues/84

In order to improve test stability, the test will retry after a 60s
delay. Refreshing the page will very likely allow the test to
continue and check what it really ought to be checking.

The actual bug with wspr/identityd will have to be looked at
separately. Log lines were added to assist in debugging this problem.
- screenshots are taken of the first caveat error
- IP addresses are printed at the start of any web test
- if the test fails, all console output is printed out
  (did not print this upon first caveat error, might want to do that)

MultiPart: 1/3
Change-Id: I3b8cbaa6867a67bde6174e6f51ad164dff8123b9
4 files changed
tree: 5ffeac9c773cc2d9dcb77781a12daff1350b807b
  1. extension/
  2. go/
  3. jsdocs/
  4. src/
  5. test/
  6. .gitattributes
  7. .gitignore
  8. .jshintignore
  9. .jshintrc
  10. .npmignore
  11. AUTHORS
  12. CONTRIBUTORS
  13. LICENSE
  14. Makefile
  15. package.json
  16. PATENTS
  17. README.md
  18. VERSION
README.md

Vanadium JavaScript

This repository defines the JavaScript API for Vanadium. The client and server APIs defined here work both in Node.js and the browser.

Install

npm can be used to install this library:

npm install --save git@github.com:vanadium/js.git

Usage

Documentation for this API is available at https://jsdoc.v.io/ Tutorials can be found at https://v.io/tutorials/javascript/

The entry point to the API is through a module called vanadium, everything else is considered private and should not be accessed by the users of the API.

The vanadium module is exported as a global in the browser JavaScript library and for Browserify and Node.js the “main” property in the package.json points to /src/vanadium making it the index module and therefore Browserify and Node.js users can gain access to the API with:

var vanadium = require("vanadium");

One of the goals of this project is to only write the code once and have it run in both Node.js and browsers. Therefore, specific build and testing steps have been designed in the project to ensure this goal.

When run in a browser, vanadium.js expects that the vanadium extension will be installed.

Bugs and feature requests

Bugs and feature requests should be filed in the Vanadium issue tracker.

Building and testing

GNU Make is used to build and test Vanadium.

Build everything:

make build

Test everything:

make test

Run a specific test suite:

make test-unit
make test-unit-node
make test-unit-browser

make test-integration
make test-integration-node
make test-integration-browser

Remove all build and testing artifacts:

make clean