@@ -140,7 +140,7 @@ describe('API Console documentation', () => {
140140 await waitUntil ( ( ) => Boolean ( documentationSummary ( element ) ) ) ;
141141 const summaryShadowRoot = documentationSummary ( element ) . shadowRoot ;
142142 await waitUntil ( ( ) => Boolean ( summaryShadowRoot . querySelector ( '.api-title' ) ) ) ;
143- assert . equal ( summaryShadowRoot . querySelector ( '.api-title' ) . textContent . trim ( ) , 'API title:\n Google Drive' ) ;
143+ assert . equal ( summaryShadowRoot . querySelector ( '.api-title span ' ) . textContent . trim ( ) , 'Google Drive' ) ;
144144
145145 await waitUntil ( ( ) => Boolean ( summaryShadowRoot . querySelector ( '.inline-description.version' ) ) ) ;
146146 assert . equal ( summaryShadowRoot . querySelector ( '.inline-description.version' ) . textContent . trim ( ) , 'Version:\n v2' ) ;
@@ -833,8 +833,8 @@ describe('API Console documentation', () => {
833833 it ( 'should render URL' , async ( ) => {
834834 await waitUntil ( ( ) => Boolean ( docShadowRoot . querySelector ( 'api-url' ) ) ) ;
835835 const apiUrl = docShadowRoot . querySelector ( 'api-url' ) . shadowRoot ;
836- assert . equal ( apiUrl . querySelector ( '.url-channel-value' ) . innerText . trim ( ) , 'Channel\nsmartylighting /streetlights/1/0/event/{streetlightId}/lighting/measured' ) ;
837- assert . equal ( apiUrl . querySelector ( '.url -server-value ' ) . innerText . trim ( ) , 'Server\nmqtt://api.streetlights.smartylighting.com:{port} ' ) ;
836+ assert . equal ( apiUrl . querySelector ( '.url-channel-value' ) . innerText . trim ( ) , 'smartylighting /streetlights/1/0/event/{streetlightId}/lighting/measured' ) ;
837+ assert . equal ( apiUrl . querySelector ( '.async -server-name ' ) . innerText . trim ( ) , 'production ' ) ;
838838 } ) ;
839839
840840 it ( 'should render description' , async ( ) => {
@@ -865,8 +865,8 @@ describe('API Console documentation', () => {
865865 it ( 'should render URL' , async ( ) => {
866866 await waitUntil ( ( ) => Boolean ( docShadowRoot . querySelector ( 'api-url' ) ) ) ;
867867 const apiUrl = docShadowRoot . querySelector ( 'api-url' ) . shadowRoot ;
868- assert . equal ( apiUrl . querySelector ( '.url-channel-value' ) . innerText . trim ( ) , 'Channelsmartylighting /streetlights/1/0/action/{streetlightId}/turn/on' ) ;
869- assert . equal ( apiUrl . querySelector ( '.url -server-value ' ) . innerText . trim ( ) , 'Servermqtt://api.streetlights.smartylighting.com:{port} ' ) ;
868+ assert . equal ( apiUrl . querySelector ( '.url-channel-value' ) . innerText . trim ( ) , 'smartylighting /streetlights/1/0/action/{streetlightId}/turn/on' ) ;
869+ assert . equal ( apiUrl . querySelector ( '.async -server-name ' ) . innerText . trim ( ) , 'production ' ) ;
870870 } ) ;
871871
872872 it ( 'should render methods' , async ( ) => {
0 commit comments