Rendering in Framebuffer does not effect while GL_DEPTH_TEST enabled

I am trying to render everything in a frame buffer.

So i made a framebuffer with depth texture and color texture attached as shown here :

But nothing is rendered if GL_DEPTH_TEST is enabled. What am i doing wrong?

Do you clear the depth buffer (attachment) before rendering?

Thanks it works