intro.js update and according changes to source (fixes #109)
Change-Id: I52e439e64d39e44f2c8b3dd5d2d37e0d13d48743
diff --git a/dev/js/spec/tourSpec.js b/dev/js/spec/tourSpec.js
index 3cd1a5b..e65d273 100644
--- a/dev/js/spec/tourSpec.js
+++ b/dev/js/spec/tourSpec.js
@@ -459,9 +459,9 @@
let welc = document.createElement("DIV");
welc.innerHTML = loc.TOUR_welc;
expect(document.querySelector(".introjs-tooltiptext").textContent).toEqual(welc.textContent);
- expect(document.querySelector(".introjs-skipbutton").textContent).toEqual(loc.TOUR_lskip);
expect(document.querySelector(".introjs-prevbutton").textContent).toEqual(loc.TOUR_lprev);
expect(document.querySelector(".introjs-nextbutton").textContent).toEqual(loc.TOUR_lnext);
+ expect(document.querySelector(".introjs-skipbutton")).toBeDefined();
searchTour.exit();
for(let i = 2; i <= totalSteps; i++){
@@ -483,6 +483,7 @@
case totalSteps:
expect(document.querySelector(".introjs-donebutton").textContent).toEqual(loc.TOUR_ldoneSearch);
expect(document.querySelector(".introjs-prevbutton").textContent).toEqual(loc.TOUR_lprev);
+ expect(document.querySelector(".introjs-skipbutton")).toBeDefined();
break;
}
searchTour.exit();
@@ -494,9 +495,9 @@
resultTour.start(resultkor);
let totalStepsR = resultTour.stepCount;
expect(document.querySelector(".introjs-tooltiptext").textContent).toEqual(loc.TOUR_kwic);
- expect(document.querySelector(".introjs-skipbutton").textContent).toEqual(loc.TOUR_lskip);
expect(document.querySelector(".introjs-prevbutton").textContent).toEqual(loc.TOUR_lprev);
expect(document.querySelector(".introjs-nextbutton").textContent).toEqual(loc.TOUR_lnext);
+ expect(document.querySelector(".introjs-skipbutton")).toBeDefined();
resultTour.exit();
for(let i = 2; i <= totalStepsR; i++){
resultTour.goToStepNumber(i);