If I clear my engine light will it pass emissions test?

If there is a fault is the system the car will fail e-test, if you clear the fault and go for e-test it would fail because the monitors are “Not Ready,” you need to drive the car for a few km’s until all monitors say “Ready” and the engine fault has not returned.