Page MenuHomePhabricator

Browser Test Authentication Failures
Closed, ResolvedPublic8 Estimated Story Points


While attempting to add additional browser tests to PR #69, some odd browser test issues were encountered in CI (which were not encountered locally): For some reason - while running tests on CI - Dusk fails to authenticate the test user, causing test failures. See console logs from test run artifacts:

        "level": "SEVERE",
        "message": "http:\/\/\/_dusk\/login\/1 - Failed to load resource: the server responded with a status of 500 (Internal Server Error)",
        "source": "network",
        "timestamp": 1629290601741
NOTE: As this bug was blocking a different issue, the additional tests, and changes to the github workflow to allow logging failures, were moved to PR #70 to be tackled seperately.

Event Timeline

Silvan_WMDE added a subscriber: Silvan_WMDE.
[2021-09-09 11:18:57] local.ERROR: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `users` where `id` = 1 limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `users` where `id` = 1 limit 1) at /home/runner/work/wikidata-mismatch-finder/wikidata-mismatch-finder/vendor/laravel/framework/src/Illuminate/Database/Connection.php:692)

Prio Notes:

  • Might affect API consumers (prevents BDD testing)
  • Might affect End users (prevents BDD testing)
  • Affects development process
karapayneWMDE set the point value for this task to 8.Tue, Sep 14, 1:45 PM
Sarai-WMDE renamed this task from Browser Test Authentication Failuers to Browser Test Authentication Failures.Tue, Sep 14, 2:01 PM