diff --git a/test/e2e/pageobjects/app.page.ts b/test/e2e/pageobjects/app.page.ts index 6341734c..2232d1bf 100644 --- a/test/e2e/pageobjects/app.page.ts +++ b/test/e2e/pageobjects/app.page.ts @@ -148,10 +148,10 @@ class App { this.__select_device_page_maixpy_back_text__ = 'div#select-device-page-back-text' this.__select_version_page__ = 'div#select-version-page'; - this.__select_version_page_selfcustody_button__ = 'div#select-version-page-selfcustody-krux-releases-tag-v23-09-1-button' + this.__select_version_page_selfcustody_button__ = 'div#select-version-page-selfcustody-krux-releases-tag-v24.03.0-button' this.__select_version_page_back_button__ = 'div#select-version-page-back-button' this.__select_version_page_odudex_button__ = 'div#select-version-page-odudex-krux-binaries-button' - this.__select_version_page_selfcustody_text__ = 'div#select-version-page-selfcustody-krux-releases-tag-v23-09-1-text' + this.__select_version_page_selfcustody_text__ = 'div#select-version-page-selfcustody-krux-releases-tag-v24.03.0-text' this.__select_version_page_odudex_text__ = 'div#select-version-page-odudex-krux-binaries-text' this.__select_version_page_back_text__ = 'div#select-version-page-back-text' @@ -162,22 +162,22 @@ class App { this.__download_official_release_zip_subtitle__ = 'div#download-official-release-zip-page-subtitle' this.__download_official_release_zip_progress__ = 'div#download-official-release-zip-page-progress' - this.__checking_release_zip_msg__ = 'pre#checking-v23-09-1-krux-v23-09-1-zip' - this.__not_found_release_zip_msg__ = 'pre#v23-09-1-krux-v23-09-1-zip-not-found' - this.__found_release_zip_msg__ = 'pre#v23-09-1-krux-v23-09-1-zip-found' + this.__checking_release_zip_msg__ = 'pre#checking-v24.03.0-krux-v24.03.0-zip' + this.__not_found_release_zip_msg__ = 'pre#v24.03.0-krux-v24.03.0-zip-not-found' + this.__found_release_zip_msg__ = 'pre#v24.03.0-krux-v24.03.0-zip-found' - this.__checking_release_zip_sha256_txt_msg__ = 'pre#checking-v23-09-1-krux-v23-09-1-zip-sha256-txt' - this.__not_found_release_zip_sha256_txt_msg__ = 'pre#v23-09-1-krux-v23-09-1-zip-sha256-txt-not-found' - this.__found_release_zip_sha256_txt_msg__ = 'pre#v23-09-1-krux-v23-09-1-zip-sha256-txt-found' + this.__checking_release_zip_sha256_txt_msg__ = 'pre#checking-v24.03.0-krux-v24.03.0-zip-sha256-txt' + this.__not_found_release_zip_sha256_txt_msg__ = 'pre#v24.03.0-krux-v24.03.0-zip-sha256-txt-not-found' + this.__found_release_zip_sha256_txt_msg__ = 'pre#v24.03.0-krux-v24.03.0-zip-sha256-txt-found' this.__download_official_release_zip_sha256_txt_page__ = 'div#download-official-release-zip-sha256-txt-page' this.__download_official_release_zip_sha256_txt_page_title__ = 'div#download-official-release-zip-sha256-txt-page-title' this.__download_official_release_zip_sha256_txt_page_subtitle__ = 'div#download-official-release-zip-sha256-txt-page-subtitle' this.__download_official_release_zip_sha256_txt_page_progress__ = 'div#download-official-release-zip-sha256-txt-page-progress' - this.__checking_release_zip_sig_msg__ = 'pre#checking-v23-09-1-krux-v23-09-1-zip-sig' - this.__not_found_release_zip_sig_msg__ = 'pre#v23-09-1-krux-v23-09-1-zip-sig-not-found' - this.__found_release_zip_sig_msg__ = 'pre#v23-09-1-krux-v23-09-1-zip-sig-found' + this.__checking_release_zip_sig_msg__ = 'pre#checking-v24.03.0-krux-v24.03.0-zip-sig' + this.__not_found_release_zip_sig_msg__ = 'pre#v24.03.0-krux-v24.03.0-zip-sig-not-found' + this.__found_release_zip_sig_msg__ = 'pre#v24.03.0-krux-v24.03.0-zip-sig-found' this.__download_official_release_zip_sig_page__ = 'div#download-official-release-zip-sig-page' this.__download_official_release_zip_sig_title__ = 'div#download-official-release-zip-sig-page-title' @@ -216,8 +216,8 @@ class App { this.__verified_official_release_page__ = 'div#verified-official-release-page' this.__verified_official_release_page_sha256_integrity_title__ = 'div#verified-official-release-page-sha256-integrity-title' - this.__verified_official_release_page_sha256_integrity_txt__ = 'div#verified-official-release-page-sha256-integrity-v23-09-1-krux-v23-09-1-zip-sha256-txt' - this.__verified_official_release_page_sha256_integrity__ = 'div#verified-official-release-page-sha256-integrity-v23-09-1-krux-v23-09-1-zip' + this.__verified_official_release_page_sha256_integrity_txt__ = 'div#verified-official-release-page-sha256-integrity-v24.03.0-krux-v24.03.0-zip-sha256-txt' + this.__verified_official_release_page_sha256_integrity__ = 'div#verified-official-release-page-sha256-integrity-v24.03.0-krux-v24.03.0-zip' this.__verified_official_release_page_signature_title__ = 'div#verified-official-release-page-signature-title' this.__verified_official_release_page_signature_command__ = 'span#verified-official-release-page-signature-command' this.__verified_official_release_page_signature_result__ = 'span#verified-official-release-page-signature-result' diff --git a/test/e2e/specs/013.select-version-show-only.spec.mts b/test/e2e/specs/013.select-version-show-only.spec.mts index fd793e80..9d12954d 100644 --- a/test/e2e/specs/013.select-version-show-only.spec.mts +++ b/test/e2e/specs/013.select-version-show-only.spec.mts @@ -87,7 +87,7 @@ describe('KruxInstaller SelectVersion page (show only)', () => { await expect(instance.selectVersionOdudexButton).toBeDisplayed() }) - it('should \'selfcustody/krux/releases/tag/v23.09.1\' button have \'selfcustody/krux/releases/tag/v23.09.1\' text', async () => { + it('should \'odudex\/krux_binaries\' button have \'odudex\/krux_binaries\' text', async () => { await instance.selectVersionOdudexText.waitForExist() await expect(instance.selectVersionOdudexText).toHaveText('odudex/krux_binaries') }) diff --git a/test/e2e/specs/039-verified-official-release.spec.mts b/test/e2e/specs/039-verified-official-release.spec.mts index 7f35111b..d85e9d2d 100644 --- a/test/e2e/specs/039-verified-official-release.spec.mts +++ b/test/e2e/specs/039-verified-official-release.spec.mts @@ -7,8 +7,8 @@ import { createRequire } from 'module' const App = createRequire(import.meta.url)('../pageobjects/app.page') -const SHA256 = "4d 58 39 27 a7 22 06 e0 2a 8e 58 13 48 94 37 7c 94 e2 cc 9b 65 1f 16 11 bd de 1f bf 29 4c 78 26" - +// const SHA256 = "4d 58 39 27 a7 22 06 e0 2a 8e 58 13 48 94 37 7c 94 e2 cc 9b 65 1f 16 11 bd de 1f bf 29 4c 78 26" +const SHA256 = "7c af 10 c5 37 45 f8 29 e0 81 30 48 22 10 a0 5f 40 1b e9 91 75 7c 81 58 68 88 53 e1 75 7e fd 5d" describe('KruxInstaller VerifiedOfficialRelease page (show and click back button)', () => { let instance: any; @@ -100,13 +100,13 @@ describe('KruxInstaller VerifiedOfficialRelease page (show and click back button await instance.verifiedOfficialReleasePageSha2256IntegritySha256txt.waitForExist() await expect(instance.verifiedOfficialReleasePageSha2256IntegritySha256txt).toBeDisplayed() - await expect(instance.verifiedOfficialReleasePageSha2256IntegritySha256txt).toHaveText(`Expected result from file v23.09.1/krux-v23.09.1.zip.sha256.txt\n${SHA256}`) + await expect(instance.verifiedOfficialReleasePageSha2256IntegritySha256txt).toHaveText(`Expected result from file v24.03.0/krux-v24.03.0.zip.sha256.txt\n${SHA256}`) }) it('should show sha256sum intergrity sha256 summed result', async () => { await instance.verifiedOfficialReleasePageSha2256IntegritySha256.waitForExist() await expect(instance.verifiedOfficialReleasePageSha2256IntegritySha256).toBeDisplayed() - await expect(instance.verifiedOfficialReleasePageSha2256IntegritySha256).toHaveText(`Summed result of file v23.09.1/krux-v23.09.1.zip\n${SHA256}`) + await expect(instance.verifiedOfficialReleasePageSha2256IntegritySha256).toHaveText(`Summed result of file v24.03.0/krux-v24.03.0.zip\n${SHA256}`) }) it('should show openssl authenticity title', async () => { @@ -149,9 +149,9 @@ describe('KruxInstaller VerifiedOfficialRelease page (show and click back button } } - const resourceZip = join(resources, 'v23.09.1', 'krux-v23.09.1.zip') + const resourceZip = join(resources, 'v24.03.0', 'krux-v24.03.0.zip') const resourcePem = join(resources, 'main', 'selfcustody.pem') - const resourceSig = join(resources, 'v23.09.1', 'krux-v23.09.1.zip.sig') + const resourceSig = join(resources, 'v24.03.0', 'krux-v24.03.0.zip.sig') const command = [ '$>', `${openssl} sha256 <${resourceZip}`,