Last modified: 2014-08-09 12:54:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59099, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57099 - phantomjs browsertests fails with invalid byte sequence in UTF-8
phantomjs browsertests fails with invalid byte sequence in UTF-8
Status: NEW
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-15 11:01 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-08-09 12:54 UTC (History)
13 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
ruby backtrace.. (8.47 KB, text/plain)
2013-11-15 11:01 UTC, Antoine "hashar" Musso (WMF)
Details
HTML report (119.88 KB, text/html)
2013-11-15 11:07 UTC, Antoine "hashar" Musso (WMF)
Details

Description Antoine "hashar" Musso (WMF) 2013-11-15 11:01:18 UTC
I have been running the browser tests of UniversalLanguageSelector with phantomjs. It eventually backtrace with:

invalid byte sequence in UTF-8 (ArgumentError)


My command line:

BROWSER_LABEL=phantomjs \
 MEDIAWIKI_URL=http://trunk.dev/index.php?title= \
 MEDIAWIKI_USER=selenium \
 MEDIAWIKI_PASSWORD=####### \
 bundle exec cucumber --format=html > uls-browsertests.html 

Gems:

Gems included by the bundle:
  * builder (3.2.2)
  * bundler (1.3.5)
  * childprocess (0.3.9)
  * cucumber (1.3.9)
  * data_magic (0.16.1)
  * diff-lcs (1.2.5)
  * faker (1.2.0)
  * ffi (1.9.3)
  * gherkin (2.12.2)
  * i18n (0.6.5)
  * json (1.8.1)
  * mediawiki-selenium (0.1.13)
  * mime-types (2.0)
  * multi_json (1.8.2)
  * multi_test (0.0.2)
  * net-http-persistent (2.9)
  * page-object (0.9.3)
  * page_navigation (0.9)
  * rest-client (1.6.7)
  * rspec-expectations (2.14.4)
  * rubyzip (1.0.0)
  * selenium-webdriver (2.37.0)
  * syntax (1.0.0)
  * watir-webdriver (0.6.4)
  * websocket (1.0.7)
  * yml_reader (0.2)

Will attach HTML report and the backtrace
Comment 1 Antoine "hashar" Musso (WMF) 2013-11-15 11:01:51 UTC
Created attachment 13804 [details]
ruby backtrace..
Comment 2 Antoine "hashar" Musso (WMF) 2013-11-15 11:07:39 UTC
Created attachment 13805 [details]
HTML report

HTML report generated by cucumber. The last scenario tested is:

Scenario: Sticky input methods Chosen input method selection persists across page loads.

The last step being:

  And in it there must be an element with Malayalam text
  expected: "ഇൻസ്ക്രിപ്റ്റ് 2"
  got: "" (using ==) (RSpec::Expectations::ExpectationNotMetError)
Comment 3 Antoine "hashar" Musso (WMF) 2013-11-15 11:08:08 UTC
And I am using phantomjs 1.9.2.
Comment 4 Željko Filipin 2014-02-06 13:05:30 UTC
Antoine, is this still a problem? If yes, please move it to QA component.
Comment 5 Greg Grossmeier 2014-03-17 20:28:38 UTC
(In reply to Željko Filipin from comment #4)
> Antoine, is this still a problem? If yes, please move it to QA component.

ping :)
Comment 6 Antoine "hashar" Musso (WMF) 2014-03-17 22:39:14 UTC
Haven't had a change yet to play the browser tests under phantomjs.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links