<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
*/
require_once 'CiviTest/CiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_Contact_AddViaProfileTest
+ */
class WebTest_Contact_AddViaProfileTest extends CiviSeleniumTestCase {
protected function setUp() {
function testAddViaCreateProfile() {
$this->webtestLogin();
- $this->openCiviPage('profile/create', 'reset=1&gid=1', '_qf_Edit_cancel');
+ $this->openCiviPage('profile/create', 'reset=1&gid=1', '_qf_Edit_next');
$firstName = 'Jo' . substr(sha1(rand()), 0, 4);
$lastName = 'Ad' . substr(sha1(rand()), 0, 7);