Skip to content

Commit ea849f7

Browse files
committed
fix test
1 parent 0a17a31 commit ea849f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/main/src/components/ObjectPage/ObjectPage.cy.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,11 +716,11 @@ describe('ObjectPage', () => {
716716

717717
cy.mount(<TestComp height="2000px" withFooter mode={ObjectPageMode.Default} />);
718718
cy.findByText('Update Heights').click();
719-
cy.findByText('{"offset":1080,"scroll":2310}').should('exist');
719+
cy.findByText('{"offset":1080,"scroll":2320}').should('exist');
720720

721721
cy.findByTestId('op').scrollTo('bottom');
722722
cy.findByText('Update Heights').click({ force: true });
723-
cy.findByText('{"offset":1080,"scroll":2310}').should('exist');
723+
cy.findByText('{"offset":1080,"scroll":2320}').should('exist');
724724

725725
cy.mount(<TestComp height="400px" mode={ObjectPageMode.Default} />);
726726
cy.findByText('Update Heights').click();

0 commit comments

Comments
 (0)