Skip to content
Snippets Groups Projects
Commit 8f90ae3f authored by Kamil Mielnik's avatar Kamil Mielnik
Browse files

Revert "fix flakiness during resize (#48556)"

This reverts commit 03b6584b.
parent bd318208
No related branches found
No related tags found
No related merge requests found
......@@ -34,18 +34,14 @@ export const assertDescendantNotOverflowsContainer = (
return;
}
cy.wrap(descendantRect).should($descendantRect => {
expect($descendantRect.bottom, `${message} bottom`).to.be.lte(
containerRect.bottom,
);
expect($descendantRect.top, `${message} top`).to.be.gte(containerRect.top);
expect($descendantRect.left, `${message} left`).to.be.gte(
containerRect.left,
);
expect($descendantRect.right, `${message} right`).to.be.lte(
containerRect.right,
);
});
expect(descendantRect.bottom, `${message} bottom`).to.be.lte(
containerRect.bottom,
);
expect(descendantRect.top, `${message} top`).to.be.gte(containerRect.top);
expect(descendantRect.left, `${message} left`).to.be.gte(containerRect.left);
expect(descendantRect.right, `${message} right`).to.be.lte(
containerRect.right,
);
};
export const assertIsEllipsified = element => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment