Skip to content

Commit

Permalink
Merge pull request #4082 from plone/petschki-contentbrowser-component…
Browse files Browse the repository at this point in the history
…-updates

Fix robottests for `pat-contentbrowser` with new component registry
  • Loading branch information
petschki authored Dec 18, 2024
2 parents eba6e73 + 944df0e commit 6c19cc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Products/CMFPlone/tests/robot/test_contentbrowser.robot
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ I edit the Link
# --- THEN ------------------------------------------------------------------

a image is selected as related item
image is releated item //div[contains(@class, "content-browser-selected-items")]/div[1]/img /asset-folder/mixed/files/images/image-2/@@images/image/mini
image is releated item //div[contains(@class, "content-browser-selected-items")]/div[1]/div/img /asset-folder/mixed/files/images/image-2/@@images/image/mini


two images are selected as related item
image is releated item //div[contains(@class, "content-browser-selected-items")]/div[1]/img /asset-folder/mixed/files/images/image-1/@@images/image/mini
image is releated item //div[contains(@class, "content-browser-selected-items")]/div[2]/img /asset-folder/mixed/files/images/image-2/@@images/image/mini
image is releated item //div[contains(@class, "content-browser-selected-items")]/div[1]/div/img /asset-folder/mixed/files/images/image-1/@@images/image/mini
image is releated item //div[contains(@class, "content-browser-selected-items")]/div[2]/div/img /asset-folder/mixed/files/images/image-2/@@images/image/mini

the document contain the internal link
Element exists //div[@id="parent-fieldname-text"]//a href /plone/doc
Expand Down
2 changes: 2 additions & 0 deletions news/4082.tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Update for `pat-contentbrowser` with new component registry.
[petschki]

0 comments on commit 6c19cc4

Please sign in to comment.