Phil Jagielka made his comeback from injury as Everton ended pre-season with a 1-0 home defeat to Espanyol at Goodison Park.
A hamstring problem had prevented the skipper from featuring in any of the previous five warm-up matches but his return to fitness was a timely boost for manager Ronald Koeman exactly a week before the Premier League opener against Tottenham Hotspur.
The game itself was a tale of two first-half penalties, one scored and one saved.
New signing Idrissa Gana Gueye committed a foul inside the area just four minutes into his first Everton appearance, allowing Leonardo Baptistao to put the Spaniards into an early lead.
The Toffees were also awarded a spot-kick just before the break when Gerard Deulofeu was upended in the box, however Ross Barkley saw his effort expertly palmed away by Espanyol keeper Roberto Jimenez.
Holding midfielder Gueye impressed in his maiden outing for the Blues and he was unfortunate to give away the early penalty, as he paid the price for being beaten to the ball by scampering left-back Ruben Duarte.
The foul was right on the edge of the area but Referee Michael Oliver, however, felt it was inside, pointed to the spot and Baptistao finished from 12 yards.
It was lively start with both teams trading blows. Barkley saw a shot tipped over, Stones was off-target with a header and Baptistao went close to scoring a second, only to be denied by a top-class save from Maarten Stekelenburg whose inclusion in the starting line-up was perhaps a nod towards Koeman’s thinking for the team that will face Spurs.
There was also a good opportunity for Ramiro Funes Mori who couldn’t direct a near-post flick-on at goal.
The Blues pressed hard for an equaliser and Lukaku brought a flying save out of Espanyol keeper Jimenez with a left-foot curler, destined for the top corner.
After a frantic first 20 minutes, the pace of the contest then relented. There were no further chances until the first half’s final minute when Deulofeu dribbled inside the area and was upended by Duarte who, having earlier won a penalty, was this time the culprit.
Referee Oliver signalled for a spot-kick for the second time in the afternoon but Barkley was unable to take advantage, seeing his effort excellently pushed over by stopper Jimenez.
The start of the second half saw the welcome return of captain Jagielka, who replaced Funes Mori in central defence.
Everton resumed in positive fashion as Gareth Barry planted a close-range header over the bar, although he had been flagged offside in the build-up.
Kevin Mirallas drilled a cross-shot through the six-yard box and Lukaku lashed into the side-netting from a tight angle.
That was the Belgian striker’s last contribution as he was one of four players replaced in the 65th minute. Deulofeu, Barry and John Stones also made way for Arouna Kone, Aaron Lennon, Mason Holgate and James McCarthy.
Tom Davies, fresh from signing his new five-year contract two days earlier, was introduced five minutes later for Gueye who had covered plenty of ground on his first Everton appearance. He departed to a warm reception from the Everton fans appreciative of his efforts.
The Blues pushed to the end in search of a leveller, with Mirallas the most likely source.
In the closing stages, the winger had a free-kick deflected narrowly wide and also acrobatically volleyed into the Gwladys Street Stand but the visitors held on to claim the win.
Next up for Everton is the start of the competitive action - Tottenham Hotspur at a sold-out Goodison for the Premier League curtain-raiser in seven days’ time.