Skip to content

Commit

Permalink
Merge branch 'fb-optic-945' of github.com:HumanSignal/label-studio in…
Browse files Browse the repository at this point in the history
…to fb-optic-945
  • Loading branch information
bmartel committed Jul 30, 2024
2 parents 047af6d + 3e63ad6 commit 2234492
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions web/libs/editor/tests/e2e/fragments/AtImageView.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ module.exports = {

_rootSelector: '[class^="lsf-object wrapperComponent--"]',
_paginationSelector: '[class^="pagination--"]',
_paginationPrevBtnSelector: ".lsf-pagination__btn_arrow-left:not(.lsf-pagination__btn_arrow-left-double)",
_paginationNextBtnSelector: ".lsf-pagination__btn_arrow-right:not(.lsf-pagination__btn_arrow-right-double)",
_paginationPrevBtnSelector: ".lsf-pagination-lsf__btn_arrow-left:not(.lsf-pagination-lsf__btn_arrow-left-double)",
_paginationNextBtnSelector: ".lsf-pagination-lsf__btn_arrow-right:not(.lsf-pagination-lsf__btn_arrow-right-double)",

locateRoot() {
return locate(this._rootSelector);
Expand Down
14 changes: 7 additions & 7 deletions web/libs/editor/tests/e2e/tests/repeater-paginate-scroll.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,18 @@ const checkScrollToSelectedPersists = (I, label, outliner) => {

const checkPaginateToSelectedPersists = (I, label, page, outliner) => {
checkScrollToSelectedPersists(I, label, outliner);
I.seeElement(locate(".lsf-pagination__page-indicator").withText(`${page}`));
I.seeElement(locate(".lsf-pagination-lsf__page-indicator").withText(`${page}`));
};

const checkPaginationButtons = (I) => {
I.click(locate(".lsf-pagination__btn_arrow-left-double"));
I.seeElement(locate(".lsf-pagination__page-indicator").withText("1"));
I.click(locate(".lsf-pagination-lsf__btn_arrow-left-double"));
I.seeElement(locate(".lsf-pagination-lsf__page-indicator").withText("1"));

I.click(locate(".lsf-pagination__btn_arrow-right"));
I.seeElement(locate(".lsf-pagination__page-indicator").withText("2"));
I.click(locate(".lsf-pagination-lsf__btn_arrow-right"));
I.seeElement(locate(".lsf-pagination-lsf__page-indicator").withText("2"));

I.click(locate(".lsf-pagination__btn_arrow-right"));
I.seeElement(locate(".lsf-pagination__page-indicator").withText("3"));
I.click(locate(".lsf-pagination-lsf__btn_arrow-right"));
I.seeElement(locate(".lsf-pagination-lsf__page-indicator").withText("3"));
};

const checkSubmit = (I) => {
Expand Down

0 comments on commit 2234492

Please sign in to comment.