Check engine light comes on after I fill up my gas tank

Vent/Rollover Valve

It provides a method of controlled escape for gasoline vapors during the refueling process. It has a mechanism which closes the vent in the event the vehicle rolls over, to prevent spilling of VOCs or fuel in general. It also acts as a fill limiter.

Tester