Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix robottests for pat-contentbrowser with new component registry #4082

Merged
merged 2 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]