freeCodeCamp / freeCodeCamp/freeCodeCamp

transition property not compatible with tests

Open
#63,678 7 comments 0 reactions 0 assignees View on GitHub
rwd v9 cert scope: curriculum status: PR in works
Dominant language
TypeScript
Stars
455k
Forks
46.2k
Avg merge
1d 17h
Merged PRs (30d)
215

Description

We teach `transition` in the curriculum, but when it's used for a transition when an element is checked, and we have a test that checks the characteristics of the elements with `getComputedStyle`, the tests get the values before the element actually transitions.

Example of failure for `transition`: https://forum.freecodecamp.org/t/problem-with-completing-lab-task/766904

there are quite a few help requests for this reason.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.