Mallory Pugh celebrates after scoring against Mexico keeper Cecilia Santiago. (Toni L. Sandys/The Washington Post)

HARRISON, N.J. — Before and after the U.S. women’s national soccer team’s send-off match Sunday, pyrotechnics turned a picture-perfect view inside Red Bull Arena into a hazy gaze for a short period.

And each time the smoke lifted, a clear perspective of the top-ranked Americans came into focus.

They will head to France as favorites to win the Women’s World Cup. Not heavy favorites, as they have been in the past, before much of the rest of the world started to embrace the women’s game. But front-runners nonetheless.

In their final test before the tournament begins June 7, the United States flexed its depth, confronted stubborn obstacles that will test its resolve in the coming weeks and scored two late goals to pull away from Mexico, 3-0.

“It’s game time now,” forward Carli Lloyd said. “We’re looking forward to it.”

Late in the game, the supporters’ section behind the north end chanted, “We want the Cup!” mimicking the refrain heard in Stanley Cup-hungry hockey arenas around North America.

Over 90 minutes, as a near-sellout crowd of 26,332 blasted its approval, the Americans showed many reasons they will carry the favorite’s banner overseas in their bid to win consecutive world trophies for the first time in three decades of extraordinary success.

Asked whether the Americans consider themselves the team to beat, Coach Jill Ellis said: “Have to. . . . There are a lot of good teams, and we’re all aware of that, but we want to be the team to beat. That’s our approach. I don’t think you would ever see anything different from this team even 10 years from now in terms of how this program built itself to be at that point.”

The outcome of Sunday’s match, the last of eight straight at home, was never in question but was not put to rest until the last 15 minutes.

Tobin Heath struck early, and Mallory Pugh (Washington Spirit) and Christen Press scored late. Like overmatched U.S. foes everywhere, Mexico erected road blocks and forced the Americans to solve problems. This is what it’s going to be like in the first two group matches, against Thailand and Chile, and perhaps in other matches over the month-long competition.

On Sunday, opportunities were plentiful, and the Americans should have done better with them. They can get away with such shortfalls against lesser opponents, but in the knockout stage of the World Cup, it could cost them. Ellis did not seem concerned.

“A lot left on the table,” she said, “but this group creates a lot, and they are very potent, and in time, we can wear teams down.”

With one exception, Ellis offered a preview of the starting lineup June 11 against Thailand in Reims. Lindsey Horan, the attacking hub, was held out to manage her workload heading into the tournament. (She was among five substitutes at halftime.)

Otherwise, the Americans settled into the four-defender, three-midfielder, three-forward alignment that took hold two years ago after flawed experimentation.

For those who have not paid close attention since the 2015 championship in Canada, Julie Ertz is now a defensive midfielder instead of a center back. Abby Dahlkemper, 26, has taken Ertz’s role on the back line.

Crystal Dunn, an attacking star in the National Women’s Soccer League, is a left back. The Spirit’s Rose Lavelle, 24, is a starter in midfield. Alyssa Naeher, 31, untested in major tournaments, is the successor to Hope Solo in goal.

Lloyd, 36, and Pugh, 21, are super subs.

The Americans have the capacity for change as well. In the second half, Heath, a forward, became a left back and Ertz returned to her back-line roots. Ellis’s wealth of options allowed for a new front line of 2015 hero Lloyd, Press (48 international goals) and rising hotshot Pugh.

The Americans went ahead in the 11th minute when Heath intercepted goalkeeper Cecilia Santiago’s poor pass, toyed with defender Rebeca Bernal and deposited a 15-yard shot.

Mexico, wearing all black on a sun-intense day, lacked the skill and pace to keep up. This should have been a keen test for the Mexicans ahead of the World Cup, but in a surprise, they failed to qualify. Rarely did the Mexicans venture into the U.S. half.

Santiago made amends with three sensational saves in the last 10 minutes of the half. A defender’s goal-line clearance of Lloyd’s bid early in the second kept the one-goal margin intact.

The Americans then put any lingering anxiety to rest. Lloyd charged the left flank and cut inside before crossing to Pugh making a run to the near post. A contested touch from close range pushed the ball over the threshold. With time running out, Press neatly settled the ball at the top of the box and lashed a left-footer into the low right corner.

And so, after years of buildup, of introducing new players and of pushing causes of equality for women’s soccer, the Americans are off to Europe to chase another trophy.

“Expectations are always the same,” forward Megan Rapinoe said. “We want to win everything.”