mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #54042
[Bug 1767933] Re: Behat copies html styling regardless of whether the option for an html report is passed in
** Changed in: mahara
Assignee: Rebecca Blundell (rjb-dev) => (unassigned)
** Changed in: mahara
Status: In Progress => Confirmed
--
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/1767933
Title:
Behat copies html styling regardless of whether the option for an html
report is passed in
Status in Mahara:
Confirmed
Bug description:
When running behat tests with the html flag as in:
./test/behat/mahara_behat.sh run test.feature html
the styling needs to be copied over to the plugin folder to make the report display correctly.
If the test is being run without 'html', there is no need for the
styling to be copied over. Currently this happens regardless.
Currently the function set_report_styling is called during behat setup
from /htdocs/testing/frameworks/behat/cli/util.php. In order to fix
this there should be an if statement around that call.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1767933/+subscriptions
References