From ef6b558c28b53ff3db3c76499090663ad9f83db7 Mon Sep 17 00:00:00 2001 From: Maurits van Rees Date: Mon, 2 May 2022 23:03:24 +0200 Subject: [PATCH] Make compatible with robotframework 3-5. --- news/5.bugfix | 2 ++ plone/app/discussion/tests/robot/test_discussion.robot | 2 +- plone/app/discussion/tests/robot/test_moderation.robot | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 news/5.bugfix diff --git a/news/5.bugfix b/news/5.bugfix new file mode 100644 index 0000000..cddac02 --- /dev/null +++ b/news/5.bugfix @@ -0,0 +1,2 @@ +Make compatible with robotframework 3-5. +[maurits] diff --git a/plone/app/discussion/tests/robot/test_discussion.robot b/plone/app/discussion/tests/robot/test_discussion.robot index dc1caa2..54b8f4a 100644 --- a/plone/app/discussion/tests/robot/test_discussion.robot +++ b/plone/app/discussion/tests/robot/test_discussion.robot @@ -63,7 +63,7 @@ I enable discussion on the document Wait until page contains Settings Click Link Settings Wait until element is visible name=form.widgets.IAllowDiscussion.allow_discussion:list - Select From List name=form.widgets.IAllowDiscussion.allow_discussion:list True + Select From List By Value name=form.widgets.IAllowDiscussion.allow_discussion:list True Click Button Save I add a comment diff --git a/plone/app/discussion/tests/robot/test_moderation.robot b/plone/app/discussion/tests/robot/test_moderation.robot index a33d1d5..851aa56 100644 --- a/plone/app/discussion/tests/robot/test_moderation.robot +++ b/plone/app/discussion/tests/robot/test_moderation.robot @@ -48,7 +48,7 @@ I enable discussion on the document Wait until page contains Settings Click Link Settings Wait until element is visible name=form.widgets.IAllowDiscussion.allow_discussion:list - Select From List name=form.widgets.IAllowDiscussion.allow_discussion:list True + Select From List By Value name=form.widgets.IAllowDiscussion.allow_discussion:list True Click Button Save I add a comment