summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/Tickets
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Tickets')
-rw-r--r--tests/FunctionalTests/protected/pages/Tickets/Ticket_21.page10
-rw-r--r--tests/FunctionalTests/protected/pages/Tickets/Ticket_21.php37
-rw-r--r--tests/FunctionalTests/protected/pages/Tickets/Ticket_27.page17
-rw-r--r--tests/FunctionalTests/protected/pages/Tickets/Ticket_27.php25
-rw-r--r--tests/FunctionalTests/protected/pages/Tickets/config.xml5
5 files changed, 0 insertions, 94 deletions
diff --git a/tests/FunctionalTests/protected/pages/Tickets/Ticket_21.page b/tests/FunctionalTests/protected/pages/Tickets/Ticket_21.page
deleted file mode 100644
index e0619ea1..00000000
--- a/tests/FunctionalTests/protected/pages/Tickets/Ticket_21.page
+++ /dev/null
@@ -1,10 +0,0 @@
-<com:TContent ID="Content">
-<h2 class="defect">TRadioButton always postback if AutoPostBack=true</h2>
-
-<com:TRadioButton ID="button1"
- AutoPostBack="true"
- OnCheckedChanged="doClick" />
-<com:TLabel ForControl="button1" Text="radio button 1" /> <br>
-
-<com:TLabel ID="label1" />
-</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/Tickets/Ticket_21.php b/tests/FunctionalTests/protected/pages/Tickets/Ticket_21.php
deleted file mode 100644
index 7a9e3519..00000000
--- a/tests/FunctionalTests/protected/pages/Tickets/Ticket_21.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-class Ticket_21 extends TPage
-{
- public function onLoad($param)
- {
- parent::onLoad($param);
-
- if(!$this->IsPostBack)
- $this->setViewState("clicks", 0);
- }
-
- public function doClick($sender, $param)
- {
- $clicks = $this->getViewState("clicks");
- $clicks++;
- $this->label1->setText("Radio button clicks: $clicks");
- $this->setViewState("clicks", $clicks);
- }
-}
-
-class Ticket_21_TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open(Prado::getApplication()->getTestPage(__FILE__));
- $this->assertTitle("Verifying Ticket 21");
- $this->clickAndWait("ctl0_Content_button1");
- $this->verifyTextPresent("Radio button clicks: 1", "");
- $this->click("ctl0_Content_button1");
- $this->verifyTextPresent("Radio button clicks: 1", "");
-
- }
-}
-
-?>
-
diff --git a/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.page b/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.page
deleted file mode 100644
index f92511c7..00000000
--- a/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.page
+++ /dev/null
@@ -1,17 +0,0 @@
-<com:TContent ID="Content">
-<h2 class="defect">TCheckBoxList demo js error on IE</h2>
-
-<com:TTextBox ID="TextBox" />
-<com:TRequiredFieldValidator
- ID="validator1"
- ControlToValidate="TextBox"
- ErrorMessage="You must enter a value"
- Display="Dynamic"
- ValidationGroup="Group2" />
-<com:TCheckBoxList AutoPostBack="true" ValidationGroup="Group2">
- <com:TListItem Text="Agree" />
- <com:TListItem Text="Disagree" />
-</com:TCheckBoxList>
-
-
-</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.php b/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.php
deleted file mode 100644
index 05483535..00000000
--- a/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-class Ticket_27 extends TPage
-{
-
-
-}
-
-class Ticket_27_TestCase extends SeleniumTestCase
-{
-
- function test()
- {
- $this->open($this->getPage($this));
- $this->verifyTitle("Verifying Ticket 27", "");
- $this->click("//input[@value='Agree']", "");
- $this->assertVisible("ctl0_Content_validator1", "");
- $this->type("ctl0_Content_TextBox", "122");
- $this->assertNotVisible("ctl0_Content_validator1", "");
- $this->clickAndWait("//input[@value='Disagree']", "");
- $this->assertNotVisible("ctl0_Content_validator1", "");
- }
-}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/Tickets/config.xml b/tests/FunctionalTests/protected/pages/Tickets/config.xml
deleted file mode 100644
index 8e9db49e..00000000
--- a/tests/FunctionalTests/protected/pages/Tickets/config.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<configuration>
- <pages MasterClass="Pages.TicketTestPage" />
-</configuration> \ No newline at end of file