[POC][full-ci] Testing various oCIS env configurations (#6062)
* run api tests * run ocis via wrapper * add context, helpers and steps change ocis config * remove separate pipelines for special test cases * add context to behat config * fix suite name * set wrapper url while running tests * fix cors allow env name * address review * add ociswrapper codebase * add ci pipeline to build and cache wrapper * add step to check ociswrapper cache * invalidate wrapper cache and build new * build on pipeline step * undo unnecessary changes * undo unnecessary changes * fix php code * fix ocis run command * use tag for teardown * exclude wrapper vendor in codacy check * fix typos
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# NOTE: for running this feature locally, you need to run oCIS with the following env var:
|
||||
# CORS_ALLOWED_ORIGINS=https://aphno.badal
|
||||
@api
|
||||
# NOTE: set env OCIS_CORS_ALLOW_ORIGINS=https://aphno.badal while running ocis server
|
||||
@api @env-config
|
||||
Feature: CORS headers
|
||||
As a user
|
||||
I want to send a cross-origin request
|
||||
@@ -8,6 +7,7 @@ Feature: CORS headers
|
||||
|
||||
Background:
|
||||
Given user "Alice" has been created with default attributes and without skeleton files
|
||||
And cors allowed origins has been set to "https://aphno.badal"
|
||||
|
||||
@issue-5195
|
||||
Scenario Outline: CORS headers should be returned when setting CORS domain sending origin header
|
||||
|
||||
Reference in New Issue
Block a user