ikucheriavenko
9/12/2017 - 6:00 AM

Behat config

default:
    suites:
      default:
        paths: [%paths.base%/features/Web_features]
        contexts:
          - QueryVariablesContext
          - MappingContext
          - QueryBuilderContext
          - SuperAdminGroupContext
          - DsnContext
          - SuperAdminClientContext
          - SuperAdminRbacContext
          - SuperAdminUsersContext
          - SuperAdminCompanyContext
          - SiteHomepageContext
          - OutputContext
          - FeatureContext

    formatters:
        html:
          output_path: %paths.base%/reports
        pretty: ~
    extensions:
        Laracasts\Behat:
            env_path: .env_behat
        Behat\MinkExtension:
            base_url: "http://ehrbi.local"
            laravel: ~
            sessions:
                    default:
                     goutte: ~
                    javascript:
                      selenium2:
                        browser: phantomjs
                        wd_host: 127.0.0.1:4444

        SensioLabs\Behat\PageObjectExtension:
              namespaces:
                page:
                - Page
                - Page\LoggedUser\RBAC
                - Page\LoggedUser\ClientManager
                - Page\LoggedUser\AdminUsers
                - Page\LoggedUser\ClientManager\Company
                - Page\LoggedUser\ClientManager\QueryBuilder
                - Page\LoggedUser\ClientManager\DSNConnections
                - Page\LoggedUser\ClientManager\Groups
                - Page\LoggedUser\ClientManager\OutputManager
                - Page\LoggedUser\ClientManager\MappingManager
                element: [Element]
        emuse\BehatHTMLFormatter\BehatHTMLFormatterExtension:
                name: html
                renderer: Twig
                file_name: test
                print_args: true
                print_outp: true
                loop_break: true
    gherkin:
            cache: ~


web-local:
    extensions:
      Behat\MinkExtension:
          base_url: "http://ehrbi.local"


web:
    extensions:
      Behat\MinkExtension:
          base_url: "http://52.53.183.45"

api:
    suites:
      default:
        paths: [%paths.base%/features/API_features]
        contexts:
          - ApiContext