mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Split environments into configs
This commit is contained in:
parent
cc057fe282
commit
cbe0f8a9eb
18
tests/_envs/testing.yml
Normal file
18
tests/_envs/testing.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Codeception Test Suite Configuration
|
||||||
|
|
||||||
|
# suite for acceptance tests.
|
||||||
|
# perform tests in browser using the Selenium-like tools.
|
||||||
|
# powered by Mink (http://mink.behat.org).
|
||||||
|
# (tip: that's what your customer will see).
|
||||||
|
# (tip: test your ajax and javascript by one of Mink drivers).
|
||||||
|
|
||||||
|
# RUN `build` COMMAND AFTER ADDING/REMOVING MODULES.
|
||||||
|
class_name: AcceptanceTester
|
||||||
|
modules:
|
||||||
|
enabled:
|
||||||
|
- WebDriver
|
||||||
|
- \Helper\Acceptance
|
||||||
|
config:
|
||||||
|
WebDriver:
|
||||||
|
url: 'http://localhost:8000'
|
||||||
|
browser: 'phantomjs'
|
|
@ -7,22 +7,12 @@
|
||||||
# (tip: test your ajax and javascript by one of Mink drivers).
|
# (tip: test your ajax and javascript by one of Mink drivers).
|
||||||
|
|
||||||
# RUN `build` COMMAND AFTER ADDING/REMOVING MODULES.
|
# RUN `build` COMMAND AFTER ADDING/REMOVING MODULES.
|
||||||
|
|
||||||
class_name: AcceptanceTester
|
class_name: AcceptanceTester
|
||||||
modules:
|
modules:
|
||||||
enabled:
|
enabled:
|
||||||
- WebDriver:
|
- WebDriver
|
||||||
url: https://snipe-it.dev:1337
|
- \Helper\Acceptance
|
||||||
browser: phantomjs
|
config:
|
||||||
|
WebDriver:
|
||||||
env:
|
url: 'https://snipe-it.dev:1337'
|
||||||
testing-ci:
|
browser: 'firefox'
|
||||||
modules:
|
|
||||||
- WebDriver:
|
|
||||||
url: http://localhost:8000
|
|
||||||
browser: phantomjs
|
|
||||||
testing:
|
|
||||||
modules:
|
|
||||||
- WebDriver:
|
|
||||||
url: http://localhost:8000
|
|
||||||
browser: phantomjs
|
|
||||||
|
|
Loading…
Reference in a new issue