Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-75788

Cannot specify list of options in menu profile field generator for behat

    XMLWordPrintable

Details

    Description

      In menu custom profile fields, each option needs to be in a new line. However, when using the generator in a behat test you cannot add new line characters in the value of param1, so you can only set a single option. I tried using "\n" but it's considered as 2 characters instead of the new line character.

      Simey suggested using "," in the generator to make it more readable (instead of using "\n").

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Paul Holden Paul Holden
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              16/Jan/23

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 17 minutes
                1d 17m