@@ -26,7 +26,7 @@ test("Latest firmware is pre selected by default", async ({
2626test ( "Radio model can be searched" , async ( { queries, page } ) => {
2727 await ( await queries . findByLabelText ( "Firmware version" ) ) . press ( "Enter" ) ;
2828 await (
29- await queries . findByText ( 'EdgeTX "Flying Dutchman " v2.8.5 ' , undefined , {
29+ await queries . findByText ( 'EdgeTX "Centurion " v2.10.6 ' , undefined , {
3030 timeout : 20000 ,
3131 } )
3232 ) . click ( ) ;
@@ -63,7 +63,7 @@ test("Flash via USB is disabled if model is not selected", async ({
6363 await expectFlashButtonIsDisabled ( ) ;
6464 await ( await queries . findByLabelText ( "Firmware version" ) ) . press ( "Enter" ) ;
6565 await (
66- await queries . findByText ( 'EdgeTX "Flying Dutchman " v2.8.5 ' , undefined , {
66+ await queries . findByText ( 'EdgeTX "Centurion " v2.10.6 ' , undefined , {
6767 timeout : 20000 ,
6868 } )
6969 ) . click ( ) ;
@@ -96,8 +96,8 @@ const streamToString = (stream: Readable): Promise<string> => {
9696 testCase : "Can download the selected firmware target" ,
9797 radioName : "FrSky X-Lite S" ,
9898 expected : {
99- fileName : "xlites-v2.8.5 .bin" ,
100- fileHash : "ac0467c5a9ec9e8cee22b7a2a97e523e " ,
99+ fileName : "xlites-v2.10.6 .bin" ,
100+ fileHash : "517d8108fdc638091c6e5f0804e82a6f " ,
101101 } ,
102102 } ,
103103 {
@@ -106,15 +106,15 @@ const streamToString = (stream: Readable): Promise<string> => {
106106 expected : {
107107 // In this case `x7` could match `x7-access` due to the way the code names
108108 // were previously matched
109- fileName : "x7-v2.8.5 .bin" ,
110- fileHash : "1e4f20364c0a2b9caeb3b8bdae61858e " ,
109+ fileName : "x7-v2.10.6 .bin" ,
110+ fileHash : "f8322236e059ecdfa6487aea8b4668b0 " ,
111111 } ,
112112 } ,
113113] . forEach ( ( { testCase, radioName, expected } ) => {
114114 test ( testCase , async ( { queries, page, isElectron, tempDownloadDir } ) => {
115115 await ( await queries . findByLabelText ( "Firmware version" ) ) . press ( "Enter" ) ;
116116 await (
117- await queries . findByText ( 'EdgeTX "Flying Dutchman " v2.8.5 ' , undefined , {
117+ await queries . findByText ( 'EdgeTX "Centurion " v2.10.6 ' , undefined , {
118118 timeout : 20000 ,
119119 } )
120120 ) . click ( ) ;
@@ -160,9 +160,7 @@ test("Copy URL button copies a link to the selected firmware", async ({
160160 test . skip ( browserName !== "chromium" ) ;
161161 await ( await queries . findByLabelText ( "Firmware version" ) ) . press ( "Enter" ) ;
162162 await page
163- . locator (
164- ".ant-select-item-option[title='EdgeTX \"Flying Dutchman\" v2.8.5']"
165- )
163+ . locator ( ".ant-select-item-option[title='EdgeTX \"Centurion\" v2.10.6']" )
166164 . click ( ) ;
167165
168166 const radioSelector = await queries . findByLabelText ( "Radio model" ) ;
@@ -183,9 +181,9 @@ test("Copy URL button copies a link to the selected firmware", async ({
183181
184182 if ( isElectron ) {
185183 expect ( copiedUrl ) . toBe (
186- "buddy.edgetx.org/#/flash?version=v2.8.5 &target=x10"
184+ "buddy.edgetx.org/#/flash?version=v2.10.6 &target=x10"
187185 ) ;
188186 } else {
189- expect ( copiedUrl ) . toBe ( "localhost:8081/#/flash?version=v2.8.5 &target=x10" ) ;
187+ expect ( copiedUrl ) . toBe ( "localhost:8081/#/flash?version=v2.10.6 &target=x10" ) ;
190188 }
191189} ) ;
0 commit comments