A while back a number of functional tests were changed because the way they were deleting items was not truly deleting them. I just made a change to the way TestNewEvent deletes an event occurrence and want to be sure I am not re-introducing another problem of this type. This change did make it appear like the item was being deleted and did cause the test to start passing on OS X (it passes without this change on other platforms).

Here is what I did in commit 11442
+++ tools/cats/Functional/TestNewEvent.py       (working copy)
@@ -116,8 +116,7 @@
        secondEvent.CheckDisplayedValues("Checking 2nd occurrence",
            EditCalendarStartDate=(True, evtSecondDate),
            )
-        secondEvent.FocusInDetailView()
-        QAUITestAppLib.App_ns.root.Delete()
+        secondEvent.MoveToTrash()
        scripting.User.idle()

        # Answer the recurrence question with "just this item"

(*Note* this is a test for the new framework and so is located under the tools/cats directory)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to