Improved www.ttss.krakow.pl
Jacek Kowalski
2018-12-18 3d2caa78a0a7db5d6247b1a179a314804725bd8d
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'
      );
   });