Skip to content

Commit 86b0339

Browse files
committed
fix test
1 parent e7fa13b commit 86b0339

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe('ObjectPageTitle', () => {
7878
);
7979
// no nav actions
8080
// The overflow breadcrumbs button requires time until it's mounted -> value can be different initially
81-
cy.findByTestId('breadcrumbs').parent().should('have.css', 'width', '1793px' /*100%*/);
81+
cy.findByTestId('breadcrumbs').parent().should('have.css', 'width', '1808px' /*100%*/);
8282
cy.mount(
8383
<PageComponent
8484
titleProps={{
@@ -93,10 +93,10 @@ describe('ObjectPageTitle', () => {
9393
/>,
9494
);
9595
// nav actions in actions toolbar
96-
cy.findByTestId('breadcrumbs').parent().should('have.css', 'width', '1793px' /*100%*/);
96+
cy.findByTestId('breadcrumbs').parent().should('have.css', 'width', '1808px' /*100%*/);
9797
cy.viewport(1000, 1000);
9898
// w/ nav actions
99-
cy.findByTestId('breadcrumbs').parent().should('have.css', 'width', '452.5px' /*50% (min-width)*/);
99+
cy.findByTestId('breadcrumbs').parent().should('have.css', 'width', '460px' /*50% (min-width)*/);
100100
});
101101

102102
it('expandedContent & snappedContent', () => {

0 commit comments

Comments
 (0)