Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
d491bd44
Commit
d491bd44
authored
12 years ago
by
colemanw
Browse files
Options
Downloads
Plain Diff
Merge pull request #475 from ravishnair/webtest-fix
-- webtest fix
parents
b018115d
f4c17a3c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/phpunit/WebTest/Profile/BatchUpdateTest.php
+1
-2
1 addition, 2 deletions
tests/phpunit/WebTest/Profile/BatchUpdateTest.php
tests/phpunit/WebTest/Report/LoggingReportTest.php
+1
-2
1 addition, 2 deletions
tests/phpunit/WebTest/Report/LoggingReportTest.php
with
2 additions
and
4 deletions
tests/phpunit/WebTest/Profile/BatchUpdateTest.php
+
1
−
2
View file @
d491bd44
...
...
@@ -400,8 +400,7 @@ class WebTest_Profile_BatchUpdateTest extends CiviSeleniumTestCase {
$this
->
click
(
'CIVICRM_QFID_ts_all_4'
);
$this
->
click
(
'Go'
);
$this
->
waitForElementPresent
(
'_qf_Reserve_next_reserveToInterview-top'
);
$this
->
click
(
'_qf_Reserve_next_reserveToInterview-top'
);
$this
->
waitForElementPresent
(
'_qf_Interview_cancel_interview'
);
$this
->
clickLink
(
'_qf_Reserve_next_reserveToInterview-top'
,
'_qf_Interview_cancel_interview'
);
$this
->
isElementPresent
(
"xpath=//table[@id='voterRecords']/tbody//tr/td[text()='
{
$Name2
}
']"
);
$this
->
isElementPresent
(
"xpath=//table[@id='voterRecords']/tbody//tr/td[text()='
{
$Name1
}
']"
);
...
...
This diff is collapsed.
Click to expand it.
tests/phpunit/WebTest/Report/LoggingReportTest.php
+
1
−
2
View file @
d491bd44
...
...
@@ -104,9 +104,8 @@ class WebTest_Report_LoggingReportTest extends CiviSeleniumTestCase {
$this
->
waitForElementPresent
(
"_qf_Note_upload-top"
);
$this
->
type
(
'subject'
,
$noteSubject
.
"_edited"
);
$this
->
type
(
'note'
,
$noteText
.
"_edited"
);
$this
->
click
(
"_qf_Note_upload-top"
);
$this
->
click
Link
(
"_qf_Note_upload-top"
,
"xpath=//div[@class='crm-results-block']/div[@id='notes']/div/table/tbody/tr//td/span[2]/ul/li[2]/a[text()='Delete']"
);
$this
->
waitForElementPresent
(
"xpath=//div[@class='crm-results-block']/div[@id='notes']/div/table/tbody/tr//td/span[2]/ul/li[2]/a[text()='Delete']"
);
$this
->
click
(
"xpath=//div[@class='crm-results-block']/div[@id='notes']/div/table/tbody/tr//td/span[2]/ul/li[2]/a[text()='Delete']"
);
// Check confirmation alert.
$this
->
assertTrue
((
bool
)
preg_match
(
"/^Are you sure you want to delete this note/"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment