McDonald's is testing a new coffee kiosk that allows customers to brew and customize their own lattes, mochas, and cappuccinos.
The kiosk features a beverage dispenser, cups, and a touch-screen tablet where customers can order and pay for their drinks.
The tablet lets customers craft their own beverages from a selection of flavored syrups and milks.
It also enables customers to control the milk-to-espresso ratio in each drink. Each drink costs $2.99.
The machine pours the steamed milk and espresso from the same spout.
The kiosk allows customers who only want a coffee drink to skip the food line. It also frees up employees from having to make complicated coffee orders.
No other fast-food chain that we're aware of has made an espresso machine accessible to customers, especially one that provides this level of customization.
McDonald's spokeswoman Lisa McComb told Business Insider that the company is testing the kiosks in two locations in Chicago. Brand Eating was the first to report on the new kiosks.
Take a closer look at the chain's restaurants:
McDonald's is doing something no other fast-food chain has done before
SAN FRANCISCO, CA - APRIL 22: Signs are posted on the exterior of a McDonald's restaurant on April 22, 2015 in San Francisco, California. McDonald's reported a decline in first quarter revenues with a profit of $811.5 million, or 84 cents a share compared to $1.2 billion, or $1.21 a share, one year ago. (Photo by Justin Sullivan/Getty Images)
Pedestrians walk past a McDonald's fast-food restaurant in Tokyo on January 9, 2015. A Japanese woman discovered fragments of 'dental material' in a McDonald's burger in 2014, the food chain said on January 9, the latest in a series of food contamination woes for the fast-food giant. AFP PHOTO / Yoshikazu TSUNO (Photo credit should read YOSHIKAZU TSUNO/AFP/Getty Images)
NOVATO, CA - DECEMBER 08: In this photo illustration, a McDonald's cheeseburger and fries are displayed on a table at a McDonald's restaurant on December 8, 2014 in Novato, California. McDonald's reported a worse than expected decline in November global same-restaurant sales. (Photo Illustration by Justin Sullivan/Getty Images)
SEATTLE, WA - SEPTEMBER 04: McDonald's shows fans that tailgating is an anytime, anywhere experience at the NFL season opener kickoff party on September 4, 2014 in Seattle, Washington. (Photo by Suzi Pratt/Getty Images for McDonald's)
NEW YORK, NY - JUNE 09: A McDonald's is seen on June 9, 2014 in New York City. McDonald's domestic sales rose slightly in May, but remain weak overall. (Photo by Andrew Burton/Getty Images)
STAMFORD, CT - APRIL 08: Activists protest for higher wages outside a McDonald's restaurant on April 8, 2014 in Stamford, Connecticut. Demonstrations were organized across the state by Connecticut Working Families to bring attention to minumum wages paid by fast food chains and Wal-Mart stores. (Photo by John Moore/Getty Images)
A customer walks away with her takeout meal at a McDonald's restaurant in south Los Angeles where fast-food workers and their supporters gathered to protest wage theft on April 3, 2014 in California. Fast-food workers were joined by elected officials, community allies and faith leaders to protest systemic and illegal labor abuses in the fast food industry, coming just days after a first-ever national poll of fast-food workers found that 89 percent of employees surveyed at companies like McDonalds, Burger King and Wendys reported having wages stolen from them. AFP PHOTO/Frederic J. BROWN (Photo credit should read FREDERIC J. BROWN/AFP/Getty Images)
A picture taken on January 22, 2014 in Paris, shows the logo of a US fast food restaurant Mac Donald's. Vice-president for finance of McDonald's France Alexis Bourdon reiterated in a statement to the press on January 22, 2014 that the American fast-food giant, suspected of trying to avoid paying taxes on 2.2 billion euros ($3 billion) of income from its 314 French eateries, 'pays all of its taxes' on the 'totality of its revenue', denying a report of French magazine L'Express. AFP PHOTO / KENZO TRIBOUILLARD (Photo credit should read KENZO TRIBOUILLARD/AFP/Getty Images)