Paula Gilfoyle seemed happy as she prepared for the birth of her child - yet left an apparent suicide note saying she had reached the end. Mr Gilfoyle, 31, denies murdering Paula, 32, in the garage of their home in Upton, Merseyside, on 4 June last year.
Rodney Klevan, for the prosecution, told Liverpool Crown Court that Mr Gilfoyle disappeared from work that day, then asked to go home early.
He said Mr Gilfoyle had been having an affair with a colleague at Murrayfield Hospital on the Wirral.
The trial continues today.