@@ -174,7 +174,7 @@ describe('platform specific content', () => {
174174 const userAgents = [
175175 { name : 'Mac' , id : 'mac' , ua : 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9' } ,
176176 { name : 'Windows' , id : 'windows' , ua : 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36' } ,
177- { name : 'Linux' , id : 'linux' , ua : 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1' } ,
177+ { name : 'Linux' , id : 'linux' , ua : 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1' }
178178 ]
179179 const userAgentLinux = userAgents [ 2 ]
180180
@@ -193,7 +193,7 @@ describe('platform specific content', () => {
193193 await page . setUserAgent ( agent . ua )
194194 await page . goto ( 'http://localhost:4001/en/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners' )
195195 const selectedPlatformElement = await page . waitForSelector ( 'a.platform-switcher.selected' )
196- const selectedPlatform = await page . evaluate ( el => el . textContent , selectedPlatformElement )
196+ const selectedPlatform = await page . evaluate ( el => el . textContent , selectedPlatformElement )
197197 expect ( selectedPlatform ) . toBe ( agent . name )
198198 }
199199 } )
@@ -204,7 +204,7 @@ describe('platform specific content', () => {
204204 await page . goto ( 'http://localhost:4001/en/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service' )
205205 const defaultPlatform = await page . $eval ( '[data-default-platform]' , el => el . dataset . defaultPlatform )
206206 const selectedPlatformElement = await page . waitForSelector ( 'a.platform-switcher.selected' )
207- const selectedPlatform = await page . evaluate ( el => el . textContent , selectedPlatformElement )
207+ const selectedPlatform = await page . evaluate ( el => el . textContent , selectedPlatformElement )
208208 expect ( defaultPlatform ) . toBe ( userAgentLinux . id )
209209 expect ( selectedPlatform ) . toBe ( userAgentLinux . name )
210210 }
0 commit comments