HXCS-3181 Update translation label for viewer error (#9962)

* [HXCS-3181] - Update translation label for viewer error

* [HXCS-3181] - Update e2e test
This commit is contained in:
Michał Woliński 2024-08-14 09:51:26 +02:00 committed by GitHub
parent e949b75da8
commit c3c84f7c0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -290,7 +290,9 @@ describe('Content Services Viewer', () => {
await viewerPage.checkZoomInButtonIsNotDisplayed(); await viewerPage.checkZoomInButtonIsNotDisplayed();
await viewerPage.checkUnknownFormatIsDisplayed(); await viewerPage.checkUnknownFormatIsDisplayed();
expect(await viewerPage.getUnknownFormatMessage()).toBe(`Couldn't load preview. Unknown format.`); expect(await viewerPage.getUnknownFormatMessage()).toBe(
`Couldn't load preview. Unsupported file type or loading error. Please try refreshing the page.`
);
await viewerPage.clickCloseButton(); await viewerPage.clickCloseButton();
}); });

View File

@ -418,7 +418,7 @@
"PAGE_SELECTOR_LABEL": "Page selector" "PAGE_SELECTOR_LABEL": "Page selector"
}, },
"LOADING": "Loading", "LOADING": "Loading",
"UNKNOWN_FORMAT": "Couldn't load preview. Unknown format.", "UNKNOWN_FORMAT": "Couldn't load preview. Unsupported file type or loading error. Please try refreshing the page.",
"SIDEBAR": { "SIDEBAR": {
"THUMBNAILS": { "THUMBNAILS": {
"PAGE": "Page {{ pageNum }}" "PAGE": "Page {{ pageNum }}"