From 8b40c8f460b1f6b3cdfa6aef0e7845cefe2fa5be Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 14 Feb 2006 04:54:59 +0000 Subject: Fixed js dialog issues with 2 FT. --- tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php | 1 + tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php | 1 + 2 files changed, 2 insertions(+) (limited to 'tests/FunctionalTests/quickstart') diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php index 80e1c0e4..095d455a 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php @@ -44,6 +44,7 @@ class DataGrid3TestCase extends SeleniumTestCase $this->verifyTextPresent("Extreme Programming Explained : Embrace Change",''); $this->chooseCancelOnNextConfirmation(); $this->click("id=ctl0_body_DataGrid_ctl5_ctl10", ""); + $this->verifyConfirmation("Are you sure?"); $this->verifyTextPresent("Extreme Programming Explained : Embrace Change",''); } } diff --git a/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php index c0c3399c..e29aabc8 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php @@ -47,6 +47,7 @@ class DataList2TestCase extends SeleniumTestCase $this->verifyConfirmation("Are you sure?"); $this->chooseCancelOnNextConfirmation(); $this->click("id=ctl0_body_DataList_ctl5_ctl3", ""); + $this->verifyConfirmation("Are you sure?"); $this->verifyTextPresent("Motherboard ", ""); $this->verifyTextPresent("CPU ", ""); $this->verifyTextNotPresent("Harddrive",""); -- cgit v1.2.3