Jennifer Lopez and Jennifer Garner Attend Samuel's Graduation Party at Ben Affleck's Rental Home

Lopez and Affleck were pictured wearing their wedding rings amid marital tensions as they attended his son Samuel's graduation ceremony earlier that day

<p>Paul Morigi/Getty; Jon Kopaloff/Getty; Gilbert Flores/Variety via Getty</p> Jennifer Lopez; Ben Affleck; Jennifer Garner

Paul Morigi/Getty; Jon Kopaloff/Getty; Gilbert Flores/Variety via Getty

Jennifer Lopez; Ben Affleck; Jennifer Garner

Jennifer Lopez recently joined Ben Affleck and Jennifer Garner to support a family milestone.

On Wednesday, June 12, Lopez and Garner were seen entering Affleck's rental home in Brentwood, California, to attend a graduation party for Garner and Affleck's 12-year-old son Samuel.

Earlier that day, Affleck, 51, and Lopez, 54, both wore their wedding rings while they attended Samuel's graduation ceremony, as they navigate marital tensions.

Affleck shares three kids with former wife Garner: Samuel plus Violet, 18, and Seraphina, 15. Meanwhile, Lopez is mom to 16-year-old twins Max and Emme, with ex-husband Marc Anthony.

Never miss a story — sign up for PEOPLE's free daily newsletter to stay up-to-date on the best of what PEOPLE has to offer​​, from celebrity news to compelling human-interest stories. 

Related: Behind Jennifer Lopez and Ben Affleck's Decision to Sell Their $61 Million Mansion (Exclusive Source)

<p>Paul Morigi/Getty; Jon Kopaloff/Getty; Gilbert Flores/Variety via Getty</p> Jennifer Lopez; Ben Affleck; Jennifer Garner

Paul Morigi/Getty; Jon Kopaloff/Getty; Gilbert Flores/Variety via Getty

Jennifer Lopez; Ben Affleck; Jennifer Garner

This isn't the first time the two have attended a family event amid issues in their relationship. Earlier this month, Lopez supported Samuel and went to his basketball game, where she and Affleck shared a kiss on the cheek.

"It's a good sign they were at the game together," a source told PEOPLE at the time.

<p>Mindy Small/Getty </p> Jennifer Lopez and Ben Affleck in Las Vegas on Nov. 17, 2023

Mindy Small/Getty

Jennifer Lopez and Ben Affleck in Las Vegas on Nov. 17, 2023

Three days earlier, the Marry Me star also attended Violet's high-school graduation ceremony, and she and Affleck held hands during the occasion.

A source told PEOPLE on Tuesday, June 11, that Lopez and the Academy Award winner remain "friendly" despite their marital woes.

“They’re still friendly and see each other every few days,” the insider said.

The PEOPLE Puzzler crossword is here! How quickly can you solve it? Play now!

<p>Steve Granitz/FilmMagic; Gary Miller/WireImage; Steve Granitz/FilmMagic</p> From L: Jennifer Garner; Ben Affleck; Jennifer Lopez

Steve Granitz/FilmMagic; Gary Miller/WireImage; Steve Granitz/FilmMagic

From L: Jennifer Garner; Ben Affleck; Jennifer Lopez

Related: All About the Movie Jennifer Lopez and Ben Affleck Made, the Upcoming Unstoppable, Before Marital Strain

As Affleck and Lopez experience marriage troubles just under two years since tying the knot, a source told PEOPLE on May 28 that Garner, 52, "wants the best for" her ex-husband.

"She wants him happy and healthy so he can be the best dad possible," said the insider.

The source added that Garner, who is dating chairman and CEO of Cali Group John Miller, "likes that [Lopez] lives a healthy lifestyle and supports Ben’s sobriety. Jen wants that for Ben."

Affleck and Garner married in 2009. The former couple announced their breakup in 2015 and officially filed for divorce in April 2017; the divorce was finalized the following year. Lopez and Affleck, meanwhile, rekindled their early-2000s romance in 2021 and married in July 2022.

The pair have been living apart from each other in Los Angeles in recent weeks, as Lopez has promoted her movie Atlas in L.A. and Mexico solo while Affleck has continued filming his upcoming project The Accountant 2 in L.A.

For more People news, make sure to sign up for our newsletter!

Read the original article on People.