<?xml version="1.0" encoding="UTF-8"?>
<!--

  $Author: richard $

  $Revision: 1.6 $

  $Log: 1,v $
  Revision 1.6  2002/04/20 09:21:21  richard
  yesno

  Revision 1.5  2002/03/25 17:01:29  richard
  role =back into type=prev

  Revision 1.4  2002/02/25 15:29:25  richard
  rewrite the test

  Revision 1.3  2001/10/30 16:23:01  gb
  Modified all the test files in the wml2 directory such that it puts the <?xml?> declaration back at the top of the file, before the comment.

  Revision 1.2  2001/10/08 21:56:33  gb
  Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/uabehaviour/uacontext/navhistory/1" class="A" scope="wml2" testtype="application" type="manual" source="wml2#5.2.2" device="both">
  <assertion>When navigation history is stored within the history stack, the newest entry must be stored at the top and the oldest entry must be stored at the bottom.
</assertion>
  <notes>Can only visually check the stack by navigation.</notes>
  <specnote>Create a card that navigates to a second card, which in turn navigates to a third. Navigate to the third card, then press the back button, the second card must be shown. Press the back button again, and the first card should be shown.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
		<![CDATA[
			<wml:card id="main">
				<p>this is card1</p>
				<p>Click this &nbsp;
					<a href="#card2">Link</a>&nbsp;
					to go to second card.
				</p>
				<p>Where the titles at the top of the cards show in the following order... 
					Card 1, Card 2, Card3, Card 2 Card 1 while navigating through the test?
						<br/>
						[[yesno]]
					</p>
			</wml:card>
			<wml:card id="card2">
				<wml:do type="prev">
					<wml:prev />
				</wml:do>
				<p>This is card2</p>
				<p>Click this &nbsp;
					<a href="#card3">Link</a>&nbsp;
					to go to the third card and then return to this one using the back button.<br/>
					Finally press the back button on this card.
				</p>
			</wml:card>
			<wml:card id="card3">
				<wml:do type="prev">
					<wml:prev />
				</wml:do>
				<p>This is card3
					<br/>
					Now press the back button.
				</p>
			</wml:card>
		]]>
  </method>
</test>
