[WIP] website: test_tour display report step by step (revert this commit after)
authorChristophe Matthieu <chm@openerp.com>
Thu, 23 Jan 2014 09:41:15 +0000 (10:41 +0100)
committerChristophe Matthieu <chm@openerp.com>
Thu, 23 Jan 2014 09:41:15 +0000 (10:41 +0100)
bzr revid: chm@openerp.com-20140123094115-8wp1hc76gcdclk7o

addons/website/static/src/js/website.tour.js

index f58bd04..b6ce5ad 100644 (file)
                     }
                     function executeStep (step) {
                         // check if they are a cycle
+                        console.log(window.localStorage.getItem("test-report"));
+
                         var lastStep = window.localStorage.getItem(testId);
                         var tryStep = lastStep != step.stepId ? 0 : (+(window.localStorage.getItem("test-last-"+testId) || 0) + 1);
                         window.localStorage.setItem("test-last-"+testId, tryStep);