PHPackages                             lee-kevin/symfony1module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. lee-kevin/symfony1module

ActiveLibrary[Framework](/categories/framework)

lee-kevin/symfony1module
========================

Fixed module for symfony 1.x framework

2.0.1(10y ago)025MITPHP

Since Apr 30Pushed 10y agoCompare

[ Source](https://github.com/LeeKevin/symfony1module)[ Packagist](https://packagist.org/packages/lee-kevin/symfony1module)[ RSS](/packages/lee-kevin-symfony1module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

Symfony1 Module
===============

[](#symfony1-module)

Codeception Module that interacts with Symfony 1.4 applications.

Replaces functional testing framework from symfony. Authorization features uses Doctrine and sfDoctrineGuardPlugin. Uses native symfony connections and test classes. Provides additional informations on every actions.

If test fails stores last shown page in 'log' dir.

Installation
------------

[](#installation)

In `composer.json`

```
"require-dev": {
  "codeception/codeception": "~2.1",
  "codeception/symfony1module": "*"
}

```

Status
------

[](#status)

- Maintainer: **davert**
- Stability: **stable**
- Contact:

Configuration
-------------

[](#configuration)

- app *required* - application you want to test. In most cases it will be 'frontend'

Public Properties
-----------------

[](#public-properties)

- browser - current instance of sfBrowser class.

### amLoggedAs

[](#amloggedas)

Log in as sfDoctrineGuardUser. Only name of user should be provided. Fetches user by it's username from sfGuardUser table.

- `param` $name \\Exception

### amOnPage

[](#amonpage)

Opens the page.

- `param` $page

### click

[](#click)

Click on link or button and move to next page. Either link text, css selector, or xpath can be passed

- `param` $link

### clickSubmitButton

[](#clicksubmitbutton)

Emulates click on form's submit button. You don't need that action if you fill form by -&gt;submitForm action.

- `param` $selector

### dontSee

[](#dontsee)

Check if current page doesn't contain the text specified. Specify the css selector to match only specific region.

Examples:

```
