Closed Bug 978440 Opened 10 years ago Closed 10 years ago

[Calendar] newly perma-red marionette test, caldav_test.js

Categories

(Firefox OS Graveyard :: Gaia::Calendar, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kgrandon, Unassigned)

Details

Attachments

(2 files, 2 obsolete files)

We may need to close the tree for this one.

Travis log: 

 configure CalDAV accounts should show a event:

NoSuchElement: (7) Unable to locate element: #event-view .title .content

Remote Stack:

<none>

at Error.MarionetteError (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13)

at Object.Client._handleCallback (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19)

at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21

at TcpSync.send (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10)

at Object.send (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36)

at Object.Client._sendCommand (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19)

at Object._findElement (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19)

at Object.findElement (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32)

at Object.MarionetteHelper.waitForElement (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-helper/index.js:128:19)

at Object.Calendar.waitForElement (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/calendar.js:111:31)

at assertEvent (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/caldav_test.js:72:11)

at Context.<anonymous> (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/caldav_test.js:67:5)

at Test.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:211:32)

at Runner.runTest (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:372:10)

at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:448:12

at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:297:14)

at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:307:7

at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:245:23)

at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:269:7

at done (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:185:5)

at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:197:9

at /home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/caldav_test.js:50:7

at Object.<anonymous> (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/lib/radicale.js:76:13)

at /home/travis/build/mozilla-b2g/gaia/node_modules/empty-port/index.js:54:32

at Server.<anonymous> (/home/travis/build/mozilla-b2g/gaia/node_modules/empty-port/index.js:33:33)

at Server.g (events.js:180:16)

at Server.EventEmitter.emit (events.js:92:17)

at net.js:1052:10

at process._tickCallback (node.js:415:13)
First failure I've seen on travis: https://travis-ci.org/mozilla-b2g/gaia/builds/19841782

I would assume that this means some gecko change landed between Feb 28th and Mar 1st that caused this to regress.
Ok, disabled the test so we don't have to close the tree, but we should figure out what's causing it to regress and if it really is a gecko thing.

https://github.com/mozilla-b2g/gaia/commit/46b455c992e608dc3aa106241609d9977500134e
Gareth, or Evan - could one of you guys own this bug to figure out what's going on with this test?
Flags: needinfo?(gaye)
Flags: needinfo?(evanxd)
Hi Kevin,

Sure, I'm figuring out that.
Thanks.
Flags: needinfo?(evanxd)
Attached image Month view in 2014 March (obsolete) —
Attached image Month view in 2014 February (obsolete) —
Haha funny - Nice find! Removing fabrice/gregor as it's probably *not* a gecko regression any more :)
Attachment #8384421 - Attachment is obsolete: true
Attachment #8384422 - Attachment is obsolete: true
Hi Kevin,

I think it is not gecko issue.
It is a UI issue of Calendar app.

In 2014 March, there are 6 row of date item on the month view.
See it in https://bug978440.bugzilla.mozilla.org/attachment.cgi?id=8384426.
In that situation, the tests in caldav_test.js cannot be passed,
because the month view it too height to cover the event area and marionette cannot click the event item on there.

If we go back the 2014 February, the test could be passed.
See it in https://bug978440.bugzilla.mozilla.org/attachment.cgi?id=8384427.

So we might need to design a UI to handle this.
How do you think?
Thanks.
Hi Harly,
How do you think about Comment 11?
Thanks.
Flags: needinfo?(hhsu)
Hi Evan,
This issue didn't occur on my current device, could someone check to see what happen to the UI on the simulator? Thanks
Flags: needinfo?(hhsu)
Fixed in: https://github.com/mozilla-b2g/gaia/commit/e3fb01372001d4d9954b39834a223b7dd1c9518f
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(gaye)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: