Selena Gomezwas all smiles while attending the wedding of one of her best friends.

Shortly aftertraveling to Mexicofor a bachelorette bash in honor of Courtney Barry’s nuptials, on Thursday the singer got to watch her pal say “I do” to the man of her dreams, Sam Lopez.

Gomez, 26, was seen wearing an elegant floor-length black dress with a dazzling array of sparkles that cascaded down one of the gown’s straps, across her body, and continued down towards the hem of the tasteful garment.

Among Gomez’s many friends in attendance was “Slow Hands” singerNiall Horan, 25, who has been a close pal of Gomez’s for years, as well as singerJulia Michaels, who has helped write many of Gomez’s hits.

Courtney J Barry/Instagram

selena-gomez-1

The wedding took place on in Downtown Los Angeles’ Arts District, and the happy couple were even seen outside the venue holding each other in their arms.

Niall Horan and Julia Michaels.Splash News Online

Niall Horan and JuliaMichaels Attend The Wedding Of Courtney Barry And Sam Lopez In Los Angeles, California

Courtney Barry and Sam Lopez.Splash News Online

Courtney Barry Marries Sam Lopez In Los Angeles, California.

Courtney Barry Marries Sam Lopez In Los Angeles, California.

Although neither Gomez nor Horan have yet to share any posts from the happy day, the wedding bash was filled with plenty of cute photos and silly moments on the dance floor.

“When your girl’s song comes on and we all party! @selenagomez” one of her pals captioned the video.

RELATED VIDEO:A Bikini-CladSelena GomezShares Sweet Photos From Her Best Friend’s Bachelorette Beach Getaway

Gomez’s close friend and assistant Theresa Mingus went on to share her own sweet clip from the festivities.

In the video, which was shared on her Instagram Story, Gomez sat on her assistant’s lap while leaning in to kiss her forehead, before the pair both turned their attention to Mingus’ phone.

Barry also posted a touching photo booth image in which Gomez smiled while standing behind the beaming bride as Horan struck a pose beside her new husband.

Selena Gomez and Theresa Mingus.Theresa Marie Mingus/Instagram

selena-gomez-3

Selena Gomez with Courtney Barry and Sam Lopez.Lucille Houston/Instagram

selena-gomez-2

Selena Gomez and pals.Courtney J Barry/Instagram

selena-gomez-1

Another pal also shared a glam photo of Gomez flashing the camera a big smile as she posed alongside the happy couple.

“Today was one of the most special days ever,” her pal captioned the image.

Earlier this month, the singer shared aslideshow of photosfrom Barry’sbachelorette tripto Cabo San Lucas, marking the fourth post Gomez has made on Instagram sincereturning to social mediain January.

“My best friend is getting married, so we celebrated her! Future Mrs. Lopez,” Gomez captioned the post.

Selena Gomez with friends.Selena Gomez/Instagram

https://www.instagram.com/p/BtxEL1EgbYa/Selena Gomez/Instagram

Selena Gomez with friends.Selena Gomez Instagram

selena-gomez-4-1200

Just before Christmas, the star enjoyed a snowy trip with her pals and was also photographed hiking in L.A. and taking Pilates classes, and in early January, she also wenthorseback ridingwith two friends.

“Selena’s feeling much better and looking forward to getting back to normalcy,” a sourcepreviously told PEOPLE. “She’s spending time with friends and family.”

source: people.com