I am out of ideas. Why this tests are not fulfilled?
- The audio element with id of “beep” must stop playing and be rewound to the beginning when the element with the id of “reset” is clicked.
Audio element was not stopped when reset was clicked.: expected false to be true
AssertionError: Audio element was not stopped when reset was clicked.: expected false to be true
at o. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:531:15281)
at o.e (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:401:182)
at Reflect.get ()
at Object.e [as get] (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:68:1382)
at n.isTrue (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:556:1222)
at n. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:581:184436)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:575:265533
at Kb.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:575:265828)
at CC.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:575:280794)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:575:281730
And I CAN stop the sound by clicking reset element and it stops and being rewound as is asked.
This is my pen https://codepen.io/ovr58/pen/OJqQpdM