Ticket #10407 (closed: fixed)

Opened 6 years ago

Last modified 6 years ago

Perform validation on preview script

Reported by: MarcusNoble Owned by: MarcusNoble
Priority: minor Milestone: Release 3.3
Component: Tools Keywords: AUTOREDUCTION
Cc: doucetm@…, tom.griffin@…, nick.draper@…, anders.markvardsen@… Blocked By:
Blocking: Tester: Anders Markvardsen

Description (last modified by MarcusNoble) (diff)

When selecting preview script the form should first be validated as it would when submitting.

For Tester:

Note: Permissions may need to be altered for this to work as expected.

  1. Navigate to ​http://datareducedev.isis.cclrc.ac.uk/autoreduce_webapp/instrument/GEM/ (logging in if needed).
  2. Click the "Add new run variables" link
  3. Enter some text into one of the numerical entries.
  4. Click "Preview reduction script"
  5. Check that the numerical box with text is now highlighted red and that the form didn't submit.
  6. Correct the invalid input
  7. Click "Preview reduction script"
  8. Verify that the values in the downloaded script match those in the form.

Change History

comment:1 Changed 6 years ago by MarcusNoble

  • Status changed from new to assigned

comment:2 Changed 6 years ago by MarcusNoble

  • Status changed from assigned to inprogress

comment:3 Changed 6 years ago by MarcusNoble

  • Status changed from inprogress to verify
  • Resolution set to fixed
  • Description modified (diff)

comment:4 Changed 6 years ago by Anders Markvardsen

  • Status changed from verify to verifying
  • Tester set to Anders Markvardsen

comment:5 Changed 6 years ago by Anders Markvardsen

  • Status changed from verifying to closed

Validate happen and red highligting is shown

Minor confusion: If ga ga 'Run number start' is entered, it is the "Finished" box that gets highligthed

Note: See TracTickets for help on using tickets.