Skip to content

Commit

Permalink
Merge pull request #213 from gaganahluwalia/fix-manual-tests-text
Browse files Browse the repository at this point in the history
Resolved Manual tests info for issue #200
  • Loading branch information
gaganahluwalia authored Jun 5, 2023
2 parents ba88db2 + d434d46 commit cfa0b0e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 10 additions & 2 deletions static/v2.0/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,24 @@
<select id="version" style="width: 250px;"></select>
<input id="runButton" value="Run" type="button" />
</div>
<div class="center" id="manualTests-selector">
<div id="manualTests-selector">
<div class="center" >
<label for="manualTests">Manual Tests:</label>
<select id="manualTests" style="width: 250px;">
<select id="manualTests" class="manualTests">
<option value="test1">fdc3.ResolveAmbiguousIntentTarget 2.0</option>
<option value="test2">fdc3.ResolveAmbiguousContextTarget 2.0</option>
<option value="test3">fdc3.ResolveAmbiguousIntentTargetMultiInstance 2.0</option>
<option value="test4">fdc3.ResolveAmbiguousContextTargetMultiInstance 2.0</option>
</select>
<input id="manualTestsRunButton" value="Run" type="button" />
</div>
<p class="manualTestsInfo"><span class="bold">Manual Tests:</span> Each of these tests will invoke the intent resolver of the Desktop Agent. In order for the test to pass you will need to manually choose an application to resolve the intent.</p>
<p class="manualTestsInfo">FDC3 Desktop Agent MUST provide a method of resolving ambiguous intents (i.e. those that might be resolved by multiple applications) or unspecified intents (calls to raiseIntentForContext that return multiple options).

This is often accomplished by providing a user interface allowing the user to select the desired target application or intent and application.

i.e. It should not fail to raise the intent or resolve it to multiple applications.</p>
</div>
<p id="context"></p>
<script src="../../lib/fdc3-compliance-v2.0.js"></script>
<script>
Expand Down
12 changes: 12 additions & 0 deletions static/v2.0/lib/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,15 @@ body {
border: none !important;
}

.manualTests {
width: 250px;
}

.manualTestsInfo {
padding-left: 100;
padding-right: 50;
}

.bold {
font-weight: bold;
}

0 comments on commit cfa0b0e

Please sign in to comment.