The ratio test states that for an infinite series $$\sum_{n=1}^{\infty} a_n $$ if $\lim_{n\rightarrow \infty} \frac{|a_{n+1}|}{|a_n|} <1$, the series is convergent and if $\lim_{n\rightarrow \infty} \frac{|a_{n+1}|}{|a_n|} >1$, the series is divergent.
The method I learned to prove the part for convergence is to first prove the absolute convergence of $\sum_{n=1}^{\infty} |a_n| $ for the case of $\lim_{n\rightarrow \infty} \frac{|a_{n+1}|}{|a_n|} <1$. Then one can say $\sum_{n=1}^{\infty} a_n $ is also convergent.
The method to prove the divergence part of the ratio test is also to first prove divergence of $\sum_{n=1}^{\infty} |a_n| $ for the case of $\lim_{n\rightarrow \infty} \frac{|a_{n+1}|}{|a_n|} >1$. Then it was said that $\sum_{n=1}^{\infty} a_n $ is hence divergent.
But I am aware that there exists conditionally convergent series where even though $\sum_{n=1}^{\infty} |a_n| $ is divergent, $\sum_{n=1}^{\infty} a_n $ is convergent.
What am I missing to complete the proof of the divergence part of the ratio test?
The argument you are using for divergence is not correct. If $\lim \frac {|a_{n+1}|} {|a_n|} >1$ then $\{a_n\}$ does not tend to $0$ and hence $ \sum a_n$ is not convergent. This is the standard proof used in ratio test.