From f7f4ce5a4f2ae6b5f0cbbe549651b3c5ba5fcbbc Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 03 Feb 2019 12:45:03 +0000
Subject: [PATCH] Fix searching for parent stop of a stop point

---
 tests.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests.js b/tests.js
index 3d304b2..d82b00b 100644
--- a/tests.js
+++ b/tests.js
@@ -27,15 +27,15 @@
 });
 
 casper.test.begin('Translation engine', 2, function(test) {
-	casper.start('http://127.0.0.1:8080/#!pl', function() {
-		test.assertTitleMatches(/odjazdy/i, 'Page title: ...odjazdy...');
+	casper.start('http://127.0.0.1:8080/#!en', function() {
+		test.assertTitleMatches(/departures/i, 'Page title: ...departures...');
 	});
 	
 	casper.wait(200, function() {
 		test.assertSelectorHasText(
-			'[data-translate=header_lines]',
-			'Linie',
-			'Translation: Lines -> Linie'
+			'[data-translate=header_line]',
+			'Line',
+			'Translation: Linia -> Line'
 		);
 	});
 	

--
Gitblit v1.9.1