reset check-engine light by resetting fuse or disconnect battery cable. drive 100 miles(it is need for engine cycle before test emission after resetting). do test again to see if u can pass. good luck
you must have check engine light problem. what is your code? go auto-zone to get a code it is free there. I may have some suggestions for you. I knew car a little.
if a car shop wants to fix your problem, it has to use the tools to scan your car to make sure emission or check engine issue fixed. go back to car shop to argue with them. mostly, oxygen sensors or egr related issues.