test_edit_event_with_default_values gets stuck clearing description field
Bug #1359167 reported by
Brendan Donegan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calendar App |
Fix Released
|
Medium
|
Nicholas Skaggs | ||
Ubuntu UI Toolkit |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
No logs for this one unfortunately because it prevents the tests from completing. Basically what happens is that when this test tries to clear the description field, it selects the middle of the field, then the cursor does not move to the end of the text. Subsequently the logic used to delete the text gets stuck in an infinite loop. It looks like:
while not field.empty:
press delete
field.empty will never be true because the cursor will always have text on the right hand side
Related branches
lp:~nskaggs/ubuntu-calendar-app/skip-edit-test
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Ubuntu Calendar Developers: Pending requested
-
Diff: 19 lines (+3/-0)1 file modifiedtests/autopilot/calendar_app/tests/test_new_event.py (+3/-0)
lp:~canonical-platform-qa/ubuntu-ui-toolkit/fix1359167-empty_multiline_textarea
- Zsombor Egri: Approve
- PS Jenkins bot: Approve (continuous-integration)
- Nicholas Skaggs (community): Approve
- Canonical Platform QA Team: Pending requested
-
Diff: 101 lines (+51/-8)3 files modifiedtests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_textarea.py (+6/-0)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py (+21/-7)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textarea.py (+24/-1)
Superseded
for merging
into
lp:ubuntu-ui-toolkit
- Ubuntu SDK team: Pending requested
-
Diff: 1424 lines (+753/-78)38 files modifieddebian/control (+1/-0)
examples/ubuntu-ui-toolkit-gallery/TemplateRow.qml (+0/-11)
examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop (+2/-2)
modules/Ubuntu/Components/Label.qml (+0/-12)
modules/Ubuntu/Components/ListItems/Empty.qml (+1/-1)
modules/Ubuntu/Components/Slider.qml (+20/-0)
modules/Ubuntu/Components/TextInputPopover.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/PageHeadButton.qml (+6/-0)
modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml (+38/-4)
modules/Ubuntu/Components/Themes/Ambiance/Palette.qml (+1/-5)
modules/Ubuntu/Components/Themes/Ambiance/ToolbarButtonStyle.qml (+1/-0)
modules/Ubuntu/Components/plugin/ucapplication.cpp (+2/-0)
tests/autopilot/ubuntuuitoolkit/__init__.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/__init__.py (+4/-0)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_checkbox.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_common.py (+4/-4)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py (+4/-4)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py (+8/-7)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_optionselector.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_qquickgridview.py (+22/-0)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_qquicklistview.py (+1/-2)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_tabbar.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_tabs.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_textarea.py (+6/-0)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py (+16/-8)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_toolbar.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/popups.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/__init__.py (+6/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_qquickgridview.QQuickGridViewTestCase.qml (+40/-0)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_qquickgridview.py (+44/-0)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_qquicklistview.py (+32/-1)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textarea.py (+24/-1)
tests/resources/sliders/SliderTest.qml (+92/-0)
tests/unit/tst_components/tst_pagestack_deprecated_toolbar.qml (+5/-1)
tests/unit/tst_mainview/Settings.qml (+34/-0)
tests/unit/tst_mainview/tst_mainview.cpp (+40/-0)
tests/unit_x11/tst_components/tst_pagestack_new_header.qml (+161/-0)
tests/unit_x11/tst_components/tst_slider.qml (+128/-0)
lp:~nskaggs/ubuntu-calendar-app/fix-1359167
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Mihir Soni: Approve
-
Diff: 2194 lines (+797/-970)21 files modifiedclick/manifest.json.in (+1/-1)
debian/calendar-app-autopilot.install (+0/-1)
debian/control (+4/-3)
tests/autopilot/CMakeLists.txt (+3/-6)
tests/autopilot/address_book_service_testability/__init__.py (+0/-18)
tests/autopilot/address_book_service_testability/data/backend-store-key-file-data.ini (+0/-12)
tests/autopilot/address_book_service_testability/data/vcard.vcf (+0/-7)
tests/autopilot/address_book_service_testability/fixture_setup.py (+0/-133)
tests/autopilot/address_book_service_testability/helpers.py (+0/-42)
tests/autopilot/calendar_app/CMakeLists.txt (+8/-0)
tests/autopilot/calendar_app/__init__.py (+637/-1)
tests/autopilot/calendar_app/emulators.py (+0/-621)
tests/autopilot/calendar_app/tests/CMakeLists.txt (+6/-0)
tests/autopilot/calendar_app/tests/__init__.py (+37/-17)
tests/autopilot/calendar_app/tests/test_custom_proxy_objects.py (+4/-13)
tests/autopilot/calendar_app/tests/test_dayview.py (+10/-12)
tests/autopilot/calendar_app/tests/test_monthview.py (+10/-12)
tests/autopilot/calendar_app/tests/test_new_event.py (+42/-39)
tests/autopilot/calendar_app/tests/test_weekview.py (+16/-17)
tests/autopilot/calendar_app/tests/test_yearview.py (+13/-15)
tests/autopilot/calendar_app/vcard.vcf (+6/-0)
tags: | added: qa-broken-testing qa-daily-testing |
tags: | added: qa-removed-test |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
Changed in ubuntu-calendar-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
status: | Confirmed → In Progress |
Changed in ubuntu-calendar-app: | |
importance: | Undecided → Medium |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-calendar-app: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu Vivid): | |
status: | New → Fix Released |
To post a comment you must log in.
Just noting, this does not occur on flo.