From 0bd33d6f00f135abfd2acd1cc981afcfb0a2f0a3 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 04 May 2019 13:08:27 +0000
Subject: [PATCH] Switch to Nightwatch.js for browser tests

---
 index.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index 28e4a4c..924e93c 100644
--- a/index.js
+++ b/index.js
@@ -115,8 +115,8 @@
 			+ '&mode=departure'
 	).done(function(data) {
 		setText(times_stop_type, lang.types['s' + prefix]);
-		setText(times_stop_name, data.stopName);
-		setText(page_title, lang.page_title_stop_name.replace('$stop', data.stopName));
+		setText(times_stop_name, normalizeName(data.stopName));
+		setText(page_title, lang.page_title_stop_name.replace('$stop', normalizeName(data.stopName)));
 		deleteChildren(times_alerts);
 		deleteChildren(times_table);
 		//deleteChildren(times_lines);

--
Gitblit v1.9.1