Hello,
ce que as a Relative Pronoun means what/ which and refers to a whole idea- Ce que (vs ce qui) = what/which (French Relative Pronouns)
So, I am not able to understand how that fits here-
Elle ne s'attendait pas à ce que tu reviennes. - [She was not expecting which / what you come back] ???
What am I missing?