Skip to content

Commit

Permalink
HXCS-3181 Update translation label for viewer error (#9962)
Browse files Browse the repository at this point in the history
* [HXCS-3181] - Update translation label for viewer error

* [HXCS-3181] - Update e2e test
  • Loading branch information
Miwoli authored Aug 14, 2024
1 parent e949b75 commit c3c84f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@ describe('Content Services Viewer', () => {

await viewerPage.checkZoomInButtonIsNotDisplayed();
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();
});
Expand Down
2 changes: 1 addition & 1 deletion lib/core/src/lib/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
"PAGE_SELECTOR_LABEL": "Page selector"
},
"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": {
"THUMBNAILS": {
"PAGE": "Page {{ pageNum }}"
Expand Down

0 comments on commit c3c84f7

Please sign in to comment.