That is a shame. Usually the person who approved your interview and are giving the interview are different, but both usually explore a portfolio.
I do know that there are a variety of different process across companies though. I once declined an offer because they never took the time to look at my code. We had only had behavioral interviews and it scared me of the state of their workplace.