repo: janusweb
action: commit
revision: 
path_from: 
revision_from: c9ca930d6b13629cfff2545b7023ea1bdc89a928:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit c9ca930d6b13629cfff2545b7023ea1bdc89a928
Author: James Baicoianu 
Date:   Thu Apr 25 09:41:13 2019 -0700

    Simplify room load test

diff --git a/tests/room.test.js b/tests/room.test.js
index a6bc6d457b882751bc4a103f9678930be72fb9dd..
index ..fbcbc723f1d9eff3d548286309d17892d90841a7 100644
--- a/tests/room.test.js
+++ b/tests/room.test.js
@@ -9,7 +9,7 @@ describe("JanusWeb Init", function() {
     if (!client) {
       try {
         elation.janusweb.init({
-          homepage: 'http://www.janusvr.com/index.html', 
+          homepage: 'about:blank', 
           resolution: resolution,
           autoload: false,
           showchat: false,
@@ -32,6 +32,7 @@ describe("JanusWeb Init", function() {
     }
   });

+/*
   it("should initialize client", function(done) {
     expect(client).toBeDefined();
     expect(janusweb).toBeDefined();
@@ -43,6 +44,7 @@ describe("JanusWeb Init", function() {
     canvas = canvases[0];
     done();
   });
+*/

   // Load a room.  It should fire events in tis order:
   // - room_load_queued
@@ -53,6 +55,7 @@ describe("JanusWeb Init", function() {
   // - room_load_complete
   it("should load a room", function(done) {
     try {
+console.log('load landing page');
       var room = janusweb.load('http://assets.metacade.com/gearvr-landing', true);
       var eventlog = {
         room_load_start: [],
@@ -80,6 +83,7 @@ describe("JanusWeb Init", function() {
       console.log('exception happened!', e.stack);
     }
   });
+/*
   it("should stop when done", function(done) {
     elation.events.add(client.engine, 'engine_stop', function() {
       expect(client.engine.running).toBe(false);
@@ -87,4 +91,5 @@ describe("JanusWeb Init", function() {
     });
     client.engine.stop();
   });
+*/
 });

-----END OF PAGE-----