@@ -249,7 +249,7 @@ test('Python runtime can be specified', () => {
249249
250250 // WHEN
251251 new synthetics . Canary ( stack , 'Canary' , {
252- runtime : synthetics . Runtime . SYNTHETICS_PYTHON_SELENIUM_4_0 ,
252+ runtime : synthetics . Runtime . SYNTHETICS_PYTHON_SELENIUM_5_0 ,
253253 test : synthetics . Test . custom ( {
254254 handler : 'index.handler' ,
255255 code : synthetics . Code . fromInline ( '# Synthetics handler code' ) ,
@@ -258,7 +258,7 @@ test('Python runtime can be specified', () => {
258258
259259 // THEN
260260 Template . fromStack ( stack ) . hasResourceProperties ( 'AWS::Synthetics::Canary' , {
261- RuntimeVersion : 'syn-python-selenium-4 .0' ,
261+ RuntimeVersion : 'syn-python-selenium-5 .0' ,
262262 } ) ;
263263} ) ;
264264
@@ -322,7 +322,7 @@ test('throw error for enabling both cleanup and provisionedResourceCleanup', ()
322322} ) ;
323323
324324test . each ( [
325- synthetics . Runtime . SYNTHETICS_PYTHON_SELENIUM_2_1 ,
325+ synthetics . Runtime . SYNTHETICS_PYTHON_SELENIUM_5_1 ,
326326 synthetics . Runtime . SYNTHETICS_NODEJS_PLAYWRIGHT_1_0 ,
327327] ) ( 'throws when activeTracing is enabled with an unsupported runtime' , ( runtime ) => {
328328 // GIVEN
0 commit comments