This repository contains all example files of my SeConf16 lightning talk on multiremote testing with WebdriverIO.
You need a NodeJS version >= 5.10.1. Then run:
$ npm iMake sure you have a Selenium standalone server running at localhost:4444.
Shows how to use two browser to open a chat application and assert if one browser can send a message whereas the other can receive it. To run the example call:
$ npm run chatFor this example you need a chat application. The one that is used in the example is from Socket.io.
Shows two browser connect to a WebRTC video/audio chat. Using WebdriverRTC it measures metrics on that WebRTC session from the RTCPeerConnection and prints out the min, max and mean. To run the example call:
$ npm run webrtcAt the end I tried an experiment where I ask the audience to applaud so we can test the awesomeness of my talk. The test will connect two browser to a WebRTC video chat and asserts the audio input in order to validate if the audience liked the talk or not. To run the example call:
$ npm testAnd yes, my talk passed. Wooohoo 👏 👏 👏