Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: Unscheduled
-
Fix Version/s: 4.7.8
-
Component/s: None
-
Labels:
-
Documentation Required?:None
-
Funding Source:Core Team Funds
Description
I was trying to run the npm tests locally and found that one of the tests repeatably failed.
Here is my system config:
$ lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty $ npm -v n2.14.7 $ node -v v4.2.1
The error I get is:
ALERT: 'Error The scheduled date and time is in the past' PhantomJS 1.9.8 (Linux 0.0.0) crmMailingRadioDate crmMailingRadioDate directive should update the UI after changing the model FAILED Expected 28 to equal 1. at /home/ajk/Documents/civi/civicrm-buildkit/build/dmaster/sites/all/modules/civicrm/tests/karma/unit/crmMailingRadioDateSpec.js:107
Note that when I comment the line
expect(element.find('.crm-form-date').datepicker('getDate').getUTCDate()).toEqual(ndate.getUTCDate());
everything works fine. So, it looks like the datepicker doesnt update the date ?
Attachments
Issue Links
- links to