Skip to content

Commit

Permalink
Merge branch 'master' into remix-bff-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ruggi committed Feb 2, 2024
2 parents 042acfb + 1fcfbd8 commit 37426c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -633,9 +633,7 @@ describe('Absolute Move Strategy', () => {
const toolbarEditButtonImage = renderResult.renderedDOM.getByTestId(
`${CanvasToolbarEditButtonID}-icon`,
)
expect(toolbarEditButtonImage.getAttribute('src')).toEqual(
'http://localhost:9876/editor/icons/light/modalities/[email protected]',
)
expect(toolbarEditButtonImage.getAttribute('src')).toEqual(expect.stringContaining('moveabs')) // the toolbar shows the Absolute Move icon
})

await renderResult.getDispatchFollowUpActionsFinished()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ describe('Flex Reorder Strategy', () => {
`${CanvasToolbarEditButtonID}-icon`,
)
expect(toolbarEditButtonImage.getAttribute('src')).toEqual(
'http://localhost:9876/editor/icons/light/modalities/reorder[email protected]',
expect.stringContaining('reorder'), // check if the toolbar shows the Reorder icon
)
expect(renderResult.getEditorState().strategyState.currentStrategy).toEqual(
'FLEX_REORDER',
Expand Down

0 comments on commit 37426c7

Please sign in to comment.