[ACS-11856] library-actions.e2e.ts full refactor (#5240)

* [ACS-11856] refactored library actions

* Apply suggestions from code review

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* [ACS-11856] sonar cloud duplication fix 1

* [ACS-11856] sonar cloud duplication fix 2

* Apply suggestions from code review 2

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix(e2e): correct favorites count expectation in viewer-zoom-functionality.e2e.ts

* [ACS-11856] review fixes 1

* [ACS-11856] small test fixes 2

* [ACS-11856] review fixes 2

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
Adam Świderski
2026-06-24 15:35:34 +02:00
committed by GitHub
co-authored by Copilot Autofix powered by AI copilot-swe-agent[bot]
parent 3fb044ce12
commit e86b83a02a
13 changed files with 717 additions and 454 deletions
@@ -100,7 +100,7 @@ test.describe('viewer zoom functionality and reset', () => {
await Promise.all([
favoritesActions.isFavoriteWithRetry(username, filePdfId, { expect: true }),
favoritesActions.waitForApi(username, { expect: consumerFavoritesTotalItems + 2 })
favoritesActions.waitForApi(username, { expect: consumerFavoritesTotalItems + 1 })
]);
try {
await shareActions.waitForFilesToBeShared([filePngId]);