Skip to content

Tests failing since three 179 #5771

@vincentfretin

Description

@vincentfretin

We have a test failing since the update to three 179 it seems
https://github.com/aframevr/aframe/actions/runs/18697088612/job/53317241965

SUMMARY:
✔ 217 tests completed
✖ 2 tests failed

FAILED TESTS:
  material
    update
      ✖ invokes XHR if <img> not cached
        Chrome 143.0.0.0 (Linux x86_64)
      AssertionError: expected false to be truthy
          at AEntity.<anonymous> (build/commons.js:246474:16)
          at AEntity.emit (build/commons.js:161569:10)
          at handleTextureEvents (build/commons.js:236126:6)
          at setMap (build/commons.js:235939:5)
          at updateTexture (build/commons.js:235911:5)

  ✖ "after each" hook for "invokes XHR if <img> not cached"
    Chrome 143.0.0.0 (Linux x86_64)
  AssertionError: expected false to be truthy
      at AEntity.<anonymous> (build/commons.js:246474:16)
      at AEntity.emit (build/commons.js:161569:10)
      at handleTextureEvents (build/commons.js:236126:6)
      at setMap (build/commons.js:235939:5)
      at updateTexture (build/commons.js:235911:5)

Before the change to three 179
https://github.com/aframevr/aframe/actions/runs/17928129256/job/50979221320

SUMMARY:
✔ 1147 tests completed
ℹ 18 tests skipped

Locally on my machine before 179

git checkout 96e2f2ddcf5cf916bfd4116924383343d8ba0ad7
npm install
npm run test:chrome
✔ 1146 tests completed
ℹ 8 tests skipped
✖ 11 tests failed

FAILED TESTS:
  obj-model
    ✖ can load .OBJ + .MTL
      Chrome 143.0.0.0 (Linux x86_64)
    Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

    ✖ can load .OBJ + .MTL with url()
      Chrome 143.0.0.0 (Linux x86_64)
    Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  vive-controls
    model
      ✖ loads
        Chrome 143.0.0.0 (Linux x86_64)
      Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

    button colors
      ✖ has trigger at default color
        Chrome 143.0.0.0 (Linux x86_64)
      Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

      ✖ has touchpad at default color
        Chrome 143.0.0.0 (Linux x86_64)
      Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

      ✖ has grips at default colors
        Chrome 143.0.0.0 (Linux x86_64)
      Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

      ✖ sets trigger to highlight color when down
        Chrome 143.0.0.0 (Linux x86_64)
      Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

      ✖ sets trigger back to default color when up
        Chrome 143.0.0.0 (Linux x86_64)
      Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

      ✖ sets touchpad to highlight color when down
        Chrome 143.0.0.0 (Linux x86_64)
      Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

      ✖ does not change color for trigger touch
        Chrome 143.0.0.0 (Linux x86_64)
      Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

      ✖ does not change color for touchpad touch
        Chrome 143.0.0.0 (Linux x86_64)
      Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

I did another run I got

✔ 1157 tests completed
ℹ 8 tests skipped

current master, I have the same as GitHub CI

SUMMARY:
✔ 217 tests completed
✖ 2 tests failed

FAILED TESTS:
  material
    update
      ✖ invokes XHR if <img> not cached
        Chrome 143.0.0.0 (Linux x86_64)
      AssertionError: expected false to be truthy
          at AEntity.<anonymous> (build/commons.js:33060:16)
          at AEntity.emit (build/commons.js:20656:10)
          at handleTextureEvents (build/commons.js:29070:6)
          at setMap (build/commons.js:28954:5)
          at updateTexture (build/commons.js:28940:5)

  ✖ "after each" hook for "invokes XHR if <img> not cached"
    Chrome 143.0.0.0 (Linux x86_64)
  AssertionError: expected false to be truthy
      at AEntity.<anonymous> (build/commons.js:33060:16)
      at AEntity.emit (build/commons.js:20656:10)
      at handleTextureEvents (build/commons.js:29070:6)
      at setMap (build/commons.js:28954:5)
      at updateTexture (build/commons.js:28940:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions