Guided Tour: Extend English Explanations
Change-Id: I65b1b7f0effc82d207eccd925e963cc6027f649a
diff --git a/dev/js/spec/tourSpec.js b/dev/js/spec/tourSpec.js
index 2235561..ef85069 100644
--- a/dev/js/spec/tourSpec.js
+++ b/dev/js/spec/tourSpec.js
@@ -495,7 +495,14 @@
for(let i = 2; i <= totalSteps; i++){
searchTour.goToStepNumber(i);
- expect(document.querySelector(".introjs-tooltiptext").textContent).toEqual(searchTour.testIntros[i-1]);
+ if(i ==3){
+ //Test for equality. Ignore HTML-Tags, replace down arrow.
+ expect(document.querySelector(".introjs-tooltiptext").textContent).toEqual((searchTour.testIntros[i-1]).replace(/(<([^>]+)>)/ig,"").replace("↓","↓"));
+ }
+ else{
+ //Test for equality. Ignore HTML-Tags.
+ expect(document.querySelector(".introjs-tooltiptext").textContent).toEqual((searchTour.testIntros[i-1]).replace(/(<([^>]+)>)/ig,""));
+ }
switch(i){
case 4:
expect(intrkorap.querySelector('#hint')).not.toBeNull();