Cramp 7 days before af

Had quite painful dull cramp yesterday at 7 days before af… for about 5 mins. Haven’t had that cramp since. Implantation? Anyone else? How long after this would I get a positive test x