I remember very little from the movie, but I hope someone manages to recognize it.
The girl stumbles upon a cave with the corpse of an old witch. After that, over time, she becomes quite ill (if my memory does not lie). She gains supernatural powers. Then this girl somehow enters the community of witches who test her (I have a scene in my memory in which they lower her bound into the water to see if she survives or not), call her the most important of them. At the end, she fights with someone.
It seems to me that I saw this film on TV about 5–4 years ago. Unfortunately, I don’t remember anything else. Thanks in advance.