Skip to content

Commit

Permalink
Automatic update of developer site
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-builder committed May 9, 2024
1 parent 549ada2 commit 1adac2b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 52 deletions.
85 changes: 34 additions & 51 deletions Testing/ErrorReporter-ProjectRecovery/ErrorReporterTesting.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,17 @@ <h2><a class="toc-backref" href="#id2" role="doc-backlink">Error Reporter test</
<li><p>Cause a crash by running the <code class="docutils literal notranslate"><span class="pre">Segfault</span></code> algorithm, Workbench should close</p></li>
<li><p>This should cause an error reporter dialog saying Mantid has thrown an unexpected exception</p></li>
<li><p>Make sure the hyperlink to the privacy policy works</p></li>
<li><p>Click the <cite>Show More Details</cite> button to open the Show More Details dialog. This should show user details such as OS.
<li><p>Click the <code class="docutils literal notranslate"><span class="pre">Show</span> <span class="pre">More</span> <span class="pre">Details</span></code> button to open the Show More Details dialog. This should show user details such as OS.
The python stacktrace should be empty as the Workbench unhandled exception occurred in C++. Close this dialog.</p></li>
<li><p>Enter some text in the <cite>Name</cite> box; make sure the <cite>Share non-identifiable information</cite> button gets greyed out</p></li>
<li><p>In the <cite>Name</cite> box enter <cite>Private</cite> and in the <cite>Email</cite> box enter <cite>private</cite></p></li>
<li><p>Test that the <code class="docutils literal notranslate"><span class="pre">Yes,</span> <span class="pre">share</span> <span class="pre">information</span></code> is disabled and the <code class="docutils literal notranslate"><span class="pre">Email</span></code> box is outlined in red until a valid email
(<code class="docutils literal notranslate"><span class="pre">something&#64;something.somthing</span></code>) is entered in the <code class="docutils literal notranslate"><span class="pre">Email</span></code> box.</p></li>
<li><p>In the <code class="docutils literal notranslate"><span class="pre">Name</span></code> box enter <code class="docutils literal notranslate"><span class="pre">Private</span></code> and in the <code class="docutils literal notranslate"><span class="pre">Email</span></code> box enter <code class="docutils literal notranslate"><span class="pre">private&#64;private.com</span></code></p></li>
<li><p>Input some additional information into the main textbox. Check that the character count label updates as you type, copy paste etc.</p></li>
<li><p>Check that the character count label changes to red and the buttons to send the report are disabled if you exceed the character limit.</p></li>
<li><p>Check that the character count label changes to red and the button to send the report are disabled if you exceed the character limit.</p></li>
<li><p>Check that these changes revert when brining the number of characters back within the limit.</p></li>
<li><p>Input some additional information into the main textbox. Try to include characters that need to be escaped such as <code class="docutils literal notranslate"><span class="pre">&quot;</span></code></p></li>
<li><p>Tick the <cite>Remember Me</cite> checkbox</p></li>
<li><p>Click the <cite>Don’t share any information</cite> button</p></li>
<li><p>Tick the <code class="docutils literal notranslate"><span class="pre">Remember</span> <span class="pre">Me</span></code> checkbox</p></li>
<li><p>Click the <code class="docutils literal notranslate"><span class="pre">Don't</span> <span class="pre">share</span> <span class="pre">any</span> <span class="pre">information</span></code> button</p></li>
<li><p>Check with the database admin that an error report was <strong>not</strong> sent.</p></li>
</ul>
<hr class="docutils" />
Expand All @@ -152,11 +153,11 @@ <h2><a class="toc-backref" href="#id2" role="doc-backlink">Error Reporter test</
<ul class="simple">
<li><p>Cause a crash by running the <code class="docutils literal notranslate"><span class="pre">Segfault</span></code> algorithm, Workbench should close</p></li>
<li><p>This should cause an error reporter dialog saying Mantid has thrown an unexpected exception</p></li>
<li><p>The <cite>Private</cite> contact details from Test 1 should <strong>NOT</strong> be displayed and the <cite>Remember Me</cite> checkbox should <strong>NOT</strong> be ticked</p></li>
<li><p>In the <cite>Name</cite> box enter <cite>Public</cite> and in the <cite>Email</cite> box enter <cite>public</cite></p></li>
<li><p>The private contact details from Test 1 should <strong>NOT</strong> be displayed and the <code class="docutils literal notranslate"><span class="pre">Remember</span> <span class="pre">Me</span></code> checkbox should <strong>NOT</strong> be ticked</p></li>
<li><p>In the <code class="docutils literal notranslate"><span class="pre">Name</span></code> box enter <code class="docutils literal notranslate"><span class="pre">Public</span></code> and in the <code class="docutils literal notranslate"><span class="pre">Email</span></code> box enter <code class="docutils literal notranslate"><span class="pre">public&#64;public.com</span></code></p></li>
<li><p>Input some additional information into the main textbox. Try to include characters that need to be escaped such as <code class="docutils literal notranslate"><span class="pre">&quot;</span></code></p></li>
<li><p>Tick the <cite>Remember Me</cite> checkbox</p></li>
<li><p>Click the <cite>Yes, share information</cite> button</p></li>
<li><p>Tick the <code class="docutils literal notranslate"><span class="pre">Remember</span> <span class="pre">Me</span></code> checkbox</p></li>
<li><p>Click the <code class="docutils literal notranslate"><span class="pre">Yes,</span> <span class="pre">share</span> <span class="pre">information</span></code> button</p></li>
<li><p>Check with the database admin that an error report was sent <strong>WITH</strong> the correct name, email and textbox.</p></li>
</ul>
<hr class="docutils" />
Expand All @@ -167,13 +168,12 @@ <h2><a class="toc-backref" href="#id2" role="doc-backlink">Error Reporter test</
<li><p>Load the file <code class="docutils literal notranslate"><span class="pre">Training_Exercise3a_SNS.nxs</span></code></p></li>
<li><p>Run the <code class="docutils literal notranslate"><span class="pre">NormaliseToMonitor</span></code> algorithm</p></li>
<li><p>This should cause an error reporter dialog saying Mantid has thrown an unexpected exception</p></li>
<li><p>The <cite>Public</cite> contact details from Test 2 should be displayed and the <cite>Remember Me</cite> checkbox ticked</p></li>
<li><p>The shared contact details from test 2 should be displayed and the <code class="docutils literal notranslate"><span class="pre">Remember</span> <span class="pre">Me</span></code> checkbox ticked</p></li>
<li><p>Make sure the hyperlink to the privacy policy works</p></li>
<li><p>Enter some text in the <cite>Name</cite> box; make sure the <cite>Share non-identifiable information</cite> button gets greyed out</p></li>
<li><p>In the <cite>Name</cite> box enter <cite>Private2</cite> and in the <cite>Email</cite> box enter <cite>private2</cite></p></li>
<li><p>In the <code class="docutils literal notranslate"><span class="pre">Name</span></code> box enter <code class="docutils literal notranslate"><span class="pre">Private2</span></code> and in the <code class="docutils literal notranslate"><span class="pre">Email</span></code> box enter <code class="docutils literal notranslate"><span class="pre">private2&#64;private.com</span></code></p></li>
<li><p>Input some additional information into the main textbox. Try to include characters that need to be escaped such as <code class="docutils literal notranslate"><span class="pre">&quot;</span></code></p></li>
<li><p>Make sure the <cite>Continue</cite> radio button is checked</p></li>
<li><p>Click the <cite>Don’t share any information</cite> button</p></li>
<li><p>Make sure the <code class="docutils literal notranslate"><span class="pre">Continue</span></code> radio button is checked</p></li>
<li><p>Click the <code class="docutils literal notranslate"><span class="pre">Don't</span> <span class="pre">share</span> <span class="pre">any</span> <span class="pre">information</span></code> button</p></li>
<li><p>You should be returned to the main Mantid window</p></li>
<li><p>Check with the database admin that an error report was <strong>not</strong> sent.</p></li>
</ul>
Expand All @@ -185,77 +185,60 @@ <h2><a class="toc-backref" href="#id2" role="doc-backlink">Error Reporter test</
<li><p>Load the file <code class="docutils literal notranslate"><span class="pre">Training_Exercise3a_SNS.nxs</span></code></p></li>
<li><p>Run the <code class="docutils literal notranslate"><span class="pre">NormaliseToMonitor</span></code> algorithm</p></li>
<li><p>This should cause an error reporter dialog saying Mantid has thrown an unexpected exception</p></li>
<li><p>The <cite>Public</cite> contact details from Test 2 should be displayed and the <cite>Remember Me</cite> checkbox ticked</p></li>
<li><p>Click the <cite>Show More Details</cite> button to open the Show More Details dialog. This should show user details such as OS.
There should be a python stacktrace as this unhandled exception occurred in Python. Close this dialog.</p></li>
<li><p>The shared contact details from test 2 should be displayed and the <code class="docutils literal notranslate"><span class="pre">Remember</span> <span class="pre">Me</span></code> checkbox ticked</p></li>
<li><p>Click the <code class="docutils literal notranslate"><span class="pre">Show</span> <span class="pre">More</span> <span class="pre">Details</span></code> button to open the Show More Details dialog. This should show user details such as OS.</p></li>
<li><p>Input some additional information into the main textbox. Try to include characters that need to be escaped such as <code class="docutils literal notranslate"><span class="pre">&quot;</span></code></p></li>
<li><p>This time, UNTick the <cite>Remember Me</cite> checkbox</p></li>
<li><p>Make sure the <cite>Continue</cite> radio button is checked</p></li>
<li><p>Click the <cite>Share non-identifiable information</cite> button</p></li>
<li><p>You should be returned to the main Mantid window</p></li>
<li><p>Check with the database admin that an error report was sent <strong>without</strong> a name, email or stacktrace, BUT <strong>WITH</strong> a textbox.</p></li>
</ul>
<hr class="docutils" />
<ol class="arabic simple" start="5">
<li><p>MantidWorkbench is still open</p></li>
</ol>
<ul class="simple">
<li><p>Load the file <code class="docutils literal notranslate"><span class="pre">Training_Exercise3a_SNS.nxs</span></code></p></li>
<li><p>Run the <code class="docutils literal notranslate"><span class="pre">NormaliseToMonitor</span></code> algorithm</p></li>
<li><p>This should cause an error reporter dialog saying Mantid has thrown an unexpected exception</p></li>
<li><p>Contact details from before should <strong>NOT</strong> be displayed and the <cite>Remember Me</cite> checkbox should <strong>NOT</strong> be ticked</p></li>
<li><p>Enter some text in the <cite>Name</cite> box; make sure the <cite>Share non-identifiable information</cite> button gets greyed out</p></li>
<li><p>Input some additional information into the main textbox. Try to include characters that need to be escaped such as <code class="docutils literal notranslate"><span class="pre">&quot;</span></code></p></li>
<li><p>Leave the <cite>Name</cite> box EMPTY and in the <cite>Email</cite> box enter <cite>public2</cite></p></li>
<li><p>Tick the <cite>Remember Me</cite> checkbox</p></li>
<li><p>Make sure the <cite>Continue</cite> radio button is checked</p></li>
<li><p>Click the <cite>Yes, share information</cite> button</p></li>
<li><p>Leave the <code class="docutils literal notranslate"><span class="pre">Name</span></code> box EMPTY and in the <code class="docutils literal notranslate"><span class="pre">Email</span></code> box enter <code class="docutils literal notranslate"><span class="pre">public2&#64;public.com</span></code></p></li>
<li><p>Tick the <code class="docutils literal notranslate"><span class="pre">Remember</span> <span class="pre">Me</span></code> checkbox</p></li>
<li><p>Make sure the <code class="docutils literal notranslate"><span class="pre">Continue</span></code> radio button is checked</p></li>
<li><p>Click the <code class="docutils literal notranslate"><span class="pre">Yes,</span> <span class="pre">share</span> <span class="pre">information</span></code> button</p></li>
<li><p>You should be returned to the main Mantid window</p></li>
<li><p>Check with the database admin that an error report was sent <strong>WITH</strong> a name, email, stacktrace and a textbox.</p></li>
</ul>
<hr class="docutils" />
<ol class="arabic simple" start="6">
<ol class="arabic simple" start="5">
<li><p>MantidWorkbench is still open</p></li>
</ol>
<ul class="simple">
<li><p>Load the file <code class="docutils literal notranslate"><span class="pre">Training_Exercise3a_SNS.nxs</span></code></p></li>
<li><p>Run the <code class="docutils literal notranslate"><span class="pre">NormaliseToMonitor</span></code> algorithm</p></li>
<li><p>This should cause an error reporter dialog saying Mantid has thrown an unexpected exception</p></li>
<li><p>Only the <cite>public2</cite> email from Test 5 should be displayed in the email box and the <cite>Remember Me</cite> checkbox ticked.
Make sure the <cite>Share non-identifiable information</cite> button is currently enabled (not greyed out)</p></li>
<li><p>Enter some text in the <cite>Name</cite> box; make sure the <cite>Share non-identifiable information</cite> button gets greyed out</p></li>
<li><p>In the <cite>Name</cite> box enter <cite>Public3</cite> and in the <cite>Email</cite> box enter <cite>public3</cite></p></li>
<li><p>Only the <code class="docutils literal notranslate"><span class="pre">public2&#64;public.com</span></code> email from test 4 should be displayed in the email box and the <code class="docutils literal notranslate"><span class="pre">Remember</span> <span class="pre">Me</span></code> checkbox ticked.</p></li>
<li><p>In the <cite>Name</cite> box enter <code class="docutils literal notranslate"><span class="pre">Public3</span></code> and in the <code class="docutils literal notranslate"><span class="pre">Email</span></code> box enter <code class="docutils literal notranslate"><span class="pre">public3&#64;public.com</span></code></p></li>
<li><p>Input some additional information into the main textbox. Try to include characters that need to be escaped such as <code class="docutils literal notranslate"><span class="pre">&quot;</span></code></p></li>
<li><p>Tick the <cite>Remember Me</cite> checkbox</p></li>
<li><p>Make sure the <cite>Terminate</cite> radio button is checked</p></li>
<li><p>Click the <cite>Yes, share information</cite> button</p></li>
<li><p>Tick the <code class="docutils literal notranslate"><span class="pre">Remember</span> <span class="pre">Me</span></code> checkbox</p></li>
<li><p>Make sure the <code class="docutils literal notranslate"><span class="pre">Terminate</span></code> radio button is checked</p></li>
<li><p>Click the <code class="docutils literal notranslate"><span class="pre">Yes,</span> <span class="pre">share</span> <span class="pre">information</span></code> button</p></li>
<li><p>Mantid should shut down</p></li>
<li><p>Check with the database admin that an error report was sent <strong>WITH</strong> a name, email, stacktrace and a textbox.</p></li>
</ul>
<hr class="docutils" />
<ol class="arabic simple" start="7">
<ol class="arabic simple" start="6">
<li><p>Open MantidWorkbench</p></li>
</ol>
<ul class="simple">
<li><p>Load the file <code class="docutils literal notranslate"><span class="pre">Training_Exercise3a_SNS.nxs</span></code></p></li>
<li><p>Run the <code class="docutils literal notranslate"><span class="pre">NormaliseToMonitor</span></code> algorithm</p></li>
<li><p>This should cause an error reporter dialog saying Mantid has thrown an unexpected exception</p></li>
<li><p>The <cite>Public3</cite> contact details from Test 6 should be displayed and the <cite>Remember Me</cite> checkbox ticked</p></li>
<li><p>The shared contact details from test 5 should be displayed and the <code class="docutils literal notranslate"><span class="pre">Remember</span> <span class="pre">Me</span></code> checkbox ticked</p></li>
<li><p>Close the error reporter and MantidWorkbench</p></li>
</ul>
<hr class="docutils" />
<ol class="arabic simple" start="8">
<ol class="arabic simple" start="7">
<li><p>Open your <code class="docutils literal notranslate"><span class="pre">Mantid.user.properties</span></code> file</p></li>
</ol>
<ul class="simple">
<li><p>Add the incorrect rooturl <code class="docutils literal notranslate"><span class="pre">errorreports.rooturl</span> <span class="pre">=</span> <span class="pre">https://error.mantidproject.org</span></code> anywhere in the file (correct url is <code class="docutils literal notranslate"><span class="pre">https://errorreports.mantidproject.org</span></code>)</p></li>
<li><p>Add the incorrect rooturl <code class="docutils literal notranslate"><span class="pre">errorreports.rooturl</span> <span class="pre">=</span> <span class="pre">https://fake.mantidproject.org</span></code> anywhere in the file (correct url is <code class="docutils literal notranslate"><span class="pre">https://errorreports.mantidproject.org</span></code>)</p></li>
<li><p>This will cause the error reporter to fail to send the report</p></li>
<li><p>Open MantidWorkbench</p></li>
<li><p>Cause a crash using either of the previous methods</p></li>
<li><p>Enter a fake email address into the <code class="docutils literal notranslate"><span class="pre">Email</span></code> box</p></li>
<li><p>Click the <code class="docutils literal notranslate"><span class="pre">Yes,</span> <span class="pre">share</span> <span class="pre">information</span></code> button to send the report</p></li>
<li><p>A message box should appear informing you that the error report has failed to send</p></li>
<li><p>Close the message box and the error reporter should stay open</p></li>
<li><p>Check you can still access the additional information</p></li>
<li><p>Click the <code class="docutils literal notranslate"><span class="pre">Don't</span> <span class="pre">share</span> <span class="pre">any</span> <span class="pre">information</span></code> button and close MantidWorkbench</p></li>
<li><p>Remove the line added to the <code class="docutils literal notranslate"><span class="pre">Mantid.user.properties</span></code> file</p></li>
</ul>
<p>Test the error reporter with any weird and wonderful ideas.
Note any problems with Workbench or these testing instructions.</p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 1adac2b

Please sign in to comment.