I'm 17 and going to the gynaecologist for the first time because of absent periods for 3 years. What kind of tests should I expect?

Exam + more. There will be a thorough history and physical exam with special attention to the pelvic exam as well. There may be a ultrasound or blood testing for factors that may have stopped your cycles such as thyroid disorders, etc. Good luck.