Tested positive but still had AF

Genevieve
Hi all, just annoyed that I had tested positive two days before my supposed period. I then had major cramps and was exhausted: period showed up anyway. Guess it was a chemical pregnancy? Has this happen to you? Thanks and good luck to all!