クラス全員が

everyone in the class

→ クラス
phrase Rare #39,783
everyone in the class クラス全員 means “everyone in the class,” and が marks it as the subject of the sentence.
JA: クラス全員が文化祭に参加した。
EN: Everyone in the class participated in the school festival.

クラス全員が新しい先生を待った

The entire class waited for the new teacher.

今日はクラス全員が出席です

Everyone in the class is present today.

クラス全員がその試験に合格した

Everyone in the class passed the exam.

クラス全員が試験に受かった

Everyone in the class passed the exam.