Public bug reported: There is a bug in the patch for Bug 1711277 - Add a step to check dates. If the date is a single digit, e.g. today being 1 September, the date comes out as " 1 September 2017", when "01 September 2017" is what is being looked for on the page. This can be fixed by trimming the result.
I've also noticed that my i_should_see_date() function never runs the else statement as I'm passing in a default. I should clean this up, either by passing in null as a default format or by removing the else altogether. ** Affects: mahara Importance: Undecided Assignee: Rebecca Blundell (rjb-dev) Status: In Progress ** Tags: behat ** Changed in: mahara Status: New => In Progress ** Changed in: mahara Assignee: (unassigned) => Rebecca Blundell (rjb-dev) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1714408 Title: behat date step causes whitespace error in single digit dates Status in Mahara: In Progress Bug description: There is a bug in the patch for Bug 1711277 - Add a step to check dates. If the date is a single digit, e.g. today being 1 September, the date comes out as " 1 September 2017", when "01 September 2017" is what is being looked for on the page. This can be fixed by trimming the result. I've also noticed that my i_should_see_date() function never runs the else statement as I'm passing in a default. I should clean this up, either by passing in null as a default format or by removing the else altogether. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1714408/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp