You did that backwards. How long was she gluten-free before you got the celiac test? The test doesn't work on people who have been gluten-free for a couple months. It can also be hard to get positive tests in kids. With the family history it would make sense to keep her on the diet and see if it helps.
The flour cravings suggest she is getting the narcotic effect from gliadorphin, an opiate-like peptide in wheat. This only happens to people with digestive problems, and it can cause a lot of problems. She probably also needs to be off casein because milk has similar peptides.
Because she was responding so well to the gluten-free diet, I couldn't bare to take her off it for the test. Believe me. I thought about it, but I don't think she would have done it. By then, she was tired of hurting and throwing up. She had been on it for about a month prior to the test so the results didn't surprise me.
The Casein information is interesting. Never heard of that before. Milk is something she naturally stays away from. She's never been able to tolerate it. Thank you for the information. I'll be looking into the narcotic effect from gliadorphin. The whole flour craving thing threw me off....