[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:
Sawjan Gurung
2023-05-11 17:21:52 +05:45
committed by GitHub
parent 26a2db371c
commit 9945dad647
96 changed files with 14477 additions and 28 deletions
@@ -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