diff --git a/.github/workflows/performance.yaml b/.github/workflows/performance.yaml index b7922916ab..c057bb1bd2 100644 --- a/.github/workflows/performance.yaml +++ b/.github/workflows/performance.yaml @@ -36,7 +36,7 @@ jobs: - run: redocly-next --version - run: redocly --version - name: Run Benchmark - run: hyperfine -i --warmup 3 'redocly lint packages/core/src/benchmark/benches/rebilly.yaml' 'redocly-next lint packages/core/src/benchmark/benches/rebilly.yaml' --export-markdown benchmark_check.md --export-json benchmark_check.json + run: hyperfine -i --warmup 3 'redocly lint resources/rebilly.yaml' 'redocly-next lint resources/rebilly.yaml' --export-markdown benchmark_check.md --export-json benchmark_check.json - name: Comment PR if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} @@ -63,12 +63,12 @@ jobs: run: | npm run compile npm run pack:prepare - cd benchmark/ + cd tests/performance/ npm i npm run make-test - name: Run Benchmark run: | - cd benchmark/ + cd tests/performance/ npm test # This command is generated and injected into package.json in the previous step. cat benchmark_check.md npm run chart # Creates benchmark_chart.md with the performance bar chart. @@ -77,5 +77,5 @@ jobs: if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} uses: thollander/actions-comment-pull-request@v2 with: - filePath: benchmark/benchmark_chart.md + filePath: tests/performance/benchmark_chart.md comment_tag: historical-versions-comparison diff --git a/.github/workflows/smoke-plugins.yaml b/.github/workflows/smoke-plugins.yaml index 644cc5b8ef..dca85201a5 100644 --- a/.github/workflows/smoke-plugins.yaml +++ b/.github/workflows/smoke-plugins.yaml @@ -23,10 +23,10 @@ jobs: - name: Install dependencies run: npm ci - name: Prepare Smoke - run: bash ./__tests__/smoke-plugins/prepare-smoke-plugins.sh + run: bash ./tests/smoke/plugins/prepare-smoke-plugins.sh - uses: actions/cache@v3 with: - path: __tests__/smoke-plugins/ + path: tests/smoke/plugins/ key: cache-plugins-${{ github.run_id }}-${{ github.run_attempt }} run-smoke-plugins--npm--node-24: @@ -35,12 +35,12 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke-plugins/ + path: tests/smoke/plugins/ key: cache-plugins-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: node-version: 24 - - run: bash ./__tests__/smoke-plugins/run-smoke.sh + - run: bash ./tests/smoke/plugins/run-smoke.sh run-smoke-plugins--npm--node-24--windows: needs: prepare-smoke-plugins @@ -48,13 +48,13 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke-plugins/ + path: tests/smoke/plugins/ key: cache-plugins-${{ github.run_id }}-${{ github.run_attempt }} enableCrossOsArchive: true - uses: actions/setup-node@v3 with: node-version: 24 - - run: bash ./__tests__/smoke-plugins/run-smoke.sh + - run: bash ./tests/smoke/plugins/run-smoke.sh run-smoke-plugins--npm--node-22: needs: prepare-smoke-plugins @@ -62,12 +62,12 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke-plugins/ + path: tests/smoke/plugins/ key: cache-plugins-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: node-version: 22 - - run: bash ./__tests__/smoke-plugins/run-smoke.sh + - run: bash ./tests/smoke/plugins/run-smoke.sh run-smoke-plugins--npm--node-22--windows: needs: prepare-smoke-plugins @@ -75,13 +75,13 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke-plugins/ + path: tests/smoke/plugins/ key: cache-plugins-${{ github.run_id }}-${{ github.run_attempt }} enableCrossOsArchive: true - uses: actions/setup-node@v3 with: node-version: 22 - - run: bash ./__tests__/smoke-plugins/run-smoke.sh + - run: bash ./tests/smoke/plugins/run-smoke.sh run-smoke-plugins--npm--node-20: needs: prepare-smoke-plugins @@ -89,12 +89,12 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke-plugins/ + path: tests/smoke/plugins/ key: cache-plugins-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: node-version: 20 - - run: bash ./__tests__/smoke-plugins/run-smoke.sh + - run: bash ./tests/smoke/plugins/run-smoke.sh run-smoke-plugins--npm--node-20--windows: needs: prepare-smoke-plugins @@ -102,10 +102,10 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke-plugins/ + path: tests/smoke/plugins/ key: cache-plugins-${{ github.run_id }}-${{ github.run_attempt }} enableCrossOsArchive: true - uses: actions/setup-node@v3 with: node-version: 20 - - run: bash ./__tests__/smoke-plugins/run-smoke.sh + - run: bash ./tests/smoke/plugins/run-smoke.sh diff --git a/.github/workflows/smoke.yaml b/.github/workflows/smoke.yaml index 4c86ddcbd7..36df6afab0 100644 --- a/.github/workflows/smoke.yaml +++ b/.github/workflows/smoke.yaml @@ -23,10 +23,10 @@ jobs: - name: Install dependencies run: npm ci - name: Prepare Smoke - run: bash ./__tests__/smoke/prepare-smoke.sh + run: bash ./tests/smoke/basic/prepare-smoke.sh - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} run-smoke--npm--node-24: @@ -35,12 +35,12 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: node-version: 24 - - run: bash ./__tests__/smoke/run-smoke.sh "npm i redocly-cli.tgz" "npm run" + - run: bash ./tests/smoke/basic/run-smoke.sh "npm i redocly-cli.tgz" "npm run" run-smoke--npm--node-24--redoc: needs: prepare-smoke @@ -48,12 +48,12 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: node-version: 24 - - run: bash ./__tests__/smoke/run-smoke.sh "npm i redoc redocly-cli.tgz" "npm run" + - run: bash ./tests/smoke/basic/run-smoke.sh "npm i redoc redocly-cli.tgz" "npm run" run-smoke--yarn--node-24: needs: prepare-smoke @@ -61,7 +61,7 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: @@ -70,7 +70,7 @@ jobs: run: yarn cache clean - run: | for i in {1..2}; do # workaround for yarn cache issue - sleep 5 && bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break + sleep 5 && bash ./tests/smoke/basic/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break done run-smoke--yarn--node-24--redoc: @@ -79,7 +79,7 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: @@ -88,7 +88,7 @@ jobs: run: yarn cache clean - run: | for i in {1..2}; do # workaround for yarn cache issue - sleep 5 && bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn" && break + sleep 5 && bash ./tests/smoke/basic/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn" && break done run-smoke--pnpm--node-24: needs: prepare-smoke @@ -96,7 +96,7 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: @@ -105,7 +105,7 @@ jobs: uses: pnpm/action-setup@v4 with: version: 10 - - run: bash ./__tests__/smoke/run-smoke.sh "pnpm add ./redocly-cli.tgz" "pnpm run" + - run: bash ./tests/smoke/basic/run-smoke.sh "pnpm add ./redocly-cli.tgz" "pnpm run" # Skipped due to a known Windows + NodeJS v24 issue: https://github.com/nodejs/node/issues/56645 # run-smoke--npm--node-24--windows: @@ -114,13 +114,13 @@ jobs: # steps: # - uses: actions/cache@v3 # with: - # path: __tests__/smoke/ + # path: tests/smoke/basic/ # key: cache-${{ github.run_id }}-${{ github.run_attempt }} # enableCrossOsArchive: true # - uses: actions/setup-node@v3 # with: # node-version: 24 - # - run: bash ./__tests__/smoke/run-smoke.sh "npm i redocly-cli.tgz" "npm run" + # - run: bash ./tests/smoke/basic/run-smoke.sh "npm i redocly-cli.tgz" "npm run" # run-smoke--yarn--node-24--windows: # needs: prepare-smoke @@ -128,7 +128,7 @@ jobs: # steps: # - uses: actions/cache@v3 # with: - # path: __tests__/smoke/ + # path: tests/smoke/basic/ # key: cache-${{ github.run_id }}-${{ github.run_attempt }} # enableCrossOsArchive: true # - uses: actions/setup-node@v3 @@ -139,7 +139,7 @@ jobs: # Start-Sleep -Seconds 20 # workaround for yarn cache issue # for ($i = 1; $i -le 3; $i++) { # try { - # bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000" "yarn" + # bash ./tests/smoke/basic/run-smoke.sh "yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000" "yarn" # if ($LASTEXITCODE -eq 0) { break } # } catch { # if ($i -eq 3) { throw } @@ -153,12 +153,12 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: node-version: 22 - - run: bash ./__tests__/smoke/run-smoke.sh "npm i redocly-cli.tgz" "npm run" + - run: bash ./tests/smoke/basic/run-smoke.sh "npm i redocly-cli.tgz" "npm run" run-smoke--npm--node-22--redoc: needs: prepare-smoke @@ -166,12 +166,12 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: node-version: 22 - - run: bash ./__tests__/smoke/run-smoke.sh "npm i redoc redocly-cli.tgz" "npm run" + - run: bash ./tests/smoke/basic/run-smoke.sh "npm i redoc redocly-cli.tgz" "npm run" run-smoke--yarn--node-22: needs: prepare-smoke @@ -179,7 +179,7 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: @@ -188,7 +188,7 @@ jobs: run: yarn cache clean - run: | for i in {1..2}; do # workaround for yarn cache issue - sleep 5 && bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break + sleep 5 && bash ./tests/smoke/basic/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break done run-smoke--yarn--node-22--redoc: @@ -197,7 +197,7 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: @@ -206,7 +206,7 @@ jobs: run: yarn cache clean - run: | for i in {1..2}; do # workaround for yarn cache issue - sleep 5 && bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn" && break + sleep 5 && bash ./tests/smoke/basic/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn" && break done run-smoke--pnpm--node-22: needs: prepare-smoke @@ -214,7 +214,7 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: @@ -223,7 +223,7 @@ jobs: uses: pnpm/action-setup@v4 with: version: 10 - - run: bash ./__tests__/smoke/run-smoke.sh "pnpm add ./redocly-cli.tgz" "pnpm run" + - run: bash ./tests/smoke/basic/run-smoke.sh "pnpm add ./redocly-cli.tgz" "pnpm run" run-smoke--npm--node-22--windows: needs: prepare-smoke @@ -231,13 +231,13 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} enableCrossOsArchive: true - uses: actions/setup-node@v3 with: node-version: 22 - - run: bash ./__tests__/smoke/run-smoke.sh "npm i redocly-cli.tgz" "npm run" + - run: bash ./tests/smoke/basic/run-smoke.sh "npm i redocly-cli.tgz" "npm run" run-smoke--yarn--node-22--windows: needs: prepare-smoke @@ -245,7 +245,7 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} enableCrossOsArchive: true - uses: actions/setup-node@v3 @@ -256,7 +256,7 @@ jobs: Start-Sleep -Seconds 20 # workaround for yarn cache issue for ($i = 1; $i -le 3; $i++) { try { - bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000" "yarn" + bash ./tests/smoke/basic/run-smoke.sh "yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000" "yarn" if ($LASTEXITCODE -eq 0) { break } } catch { if ($i -eq 3) { throw } @@ -270,12 +270,12 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: node-version: 20 - - run: bash ./__tests__/smoke/run-smoke.sh "npm i redocly-cli.tgz" "npm run" + - run: bash ./tests/smoke/basic/run-smoke.sh "npm i redocly-cli.tgz" "npm run" run-smoke--npm--node-20--redoc: needs: prepare-smoke @@ -283,12 +283,12 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: node-version: 20 - - run: bash ./__tests__/smoke/run-smoke.sh "npm i redoc redocly-cli.tgz" "npm run" + - run: bash ./tests/smoke/basic/run-smoke.sh "npm i redoc redocly-cli.tgz" "npm run" run-smoke--yarn--node-20: needs: prepare-smoke @@ -296,7 +296,7 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} - uses: actions/setup-node@v3 with: @@ -305,25 +305,7 @@ jobs: run: yarn cache clean - run: | for i in {1..2}; do # workaround for yarn cache issue - sleep 5 && bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break - done - - run-smoke--yarn--node-20--redoc: - needs: prepare-smoke - runs-on: ubuntu-latest - steps: - - uses: actions/cache@v3 - with: - path: __tests__/smoke/ - key: cache-${{ github.run_id }}-${{ github.run_attempt }} - - uses: actions/setup-node@v3 - with: - node-version: 20 - - name: Clear Yarn Cache - run: yarn cache clean - - run: | - for i in {1..2}; do # workaround for yarn cache issue - sleep 5 && bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn" && break + sleep 5 && bash ./tests/smoke/basic/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break done run-smoke--npm--node-20--windows: @@ -332,13 +314,13 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} enableCrossOsArchive: true - uses: actions/setup-node@v3 with: node-version: 20 - - run: bash ./__tests__/smoke/run-smoke.sh "npm i redocly-cli.tgz" "npm run" + - run: bash ./tests/smoke/basic/run-smoke.sh "npm i redocly-cli.tgz" "npm run" run-smoke--yarn--node-20--windows: needs: prepare-smoke @@ -346,7 +328,7 @@ jobs: steps: - uses: actions/cache@v3 with: - path: __tests__/smoke/ + path: tests/smoke/basic/ key: cache-${{ github.run_id }}-${{ github.run_attempt }} enableCrossOsArchive: true - uses: actions/setup-node@v3 @@ -357,7 +339,7 @@ jobs: Start-Sleep -Seconds 20 # workaround for yarn cache issue for ($i = 1; $i -le 3; $i++) { try { - bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000" "yarn" + bash ./tests/smoke/basic/run-smoke.sh "yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000" "yarn" if ($LASTEXITCODE -eq 0) { break } } catch { if ($i -eq 3) { throw } @@ -374,8 +356,8 @@ jobs: - name: Run docker image run: | # Prepare - cp resources/pets.yaml resources/museum.yaml resources/museum-tickets.arazzo.yaml __tests__/smoke/ - cd __tests__/smoke/ + cp resources/pets.yaml resources/museum.yaml resources/museum-tickets.arazzo.yaml tests/smoke/basic/ + cd tests/smoke/basic/ # Run commands docker run --rm redocly/cli:latest --version diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index dd93c69ff3..8c397eb8ec 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -46,7 +46,7 @@ jobs: - name: Redocly version run: redocly --version - name: Definition test - run: redocly lint packages/core/src/benchmark/benches/rebilly.yaml --format=stylish + run: redocly lint resources/rebilly.yaml --format=stylish coverage-report: runs-on: ubuntu-latest diff --git a/.prettierignore b/.prettierignore index 2f5f706d27..a4ea6d9a8d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,7 +3,7 @@ lib/ output/ packages/core/src/rules/common/__tests__/fixtures/invalid-yaml.yaml packages/respect-core/src/modules/runtime-expressions/abnf-parser.js -benchmark/api-definitions/ +tests/performance/api-definitions/ LICENSE.md snapshot*.txt .changeset/pre.json diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8ff9bf8d3a..484d3cff9e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -267,7 +267,7 @@ When writing tests, keep in mind that the order of stdout and stderr messages in Smokes are for testing the CLI in different environments. -To run them locally, please follow the steps described in the smoke GitHub actions: [smoke](.github/workflows/smoke.yaml), [smoke-plugins](.github/workflows/smoke-plugins.yaml), [smoke-rebilly](.github/workflows/smoke-rebilly.yaml). +To run them locally, please follow the steps described in the smoke GitHub actions: [smoke-basic](.github/workflows/smoke.yaml), [smoke-plugins](.github/workflows/smoke-plugins.yaml), [smoke-rebilly](.github/workflows/smoke-rebilly.yaml). To update smoke tests for the `build-docs` command (which sometimes fails due to external package updates), please follow the steps below: @@ -278,21 +278,21 @@ npm run pack:prepare npm i -g redocly-cli.tgz # Re-build the docs -(cd __tests__/smoke/ && redocly build-docs openapi.yaml -o pre-built/redoc.html) +(cd tests/smoke/basic/ && redocly build-docs openapi.yaml -o pre-built/redoc.html) ``` For other commands you'd have to do something similar. ### Performance benchmark -To run the performance benchmark locally, you should have `hyperfine` (v1.16.1+) installed on your machine. -Prepare the local build, go to the `benchmark` folder, clean it up, do the preparations, and run the actual benchmark: +To run the performance tests locally, you should have `hyperfine` (v1.16.1+) installed on your machine. +Prepare the local build, go to the `tests/performance` folder, clean it up, do the preparations, and run the actual test: ```sh -(npm run compile && npm run pack:prepare && cd benchmark/ && git clean -dX -f . && git clean -dX -ff . && npm i && npm run make-test && npm test) +(npm run compile && npm run pack:prepare && cd tests/performance/ && git clean -dX -f . && git clean -dX -ff . && npm i && npm run make-test && npm test) ``` -You might need to adjust the CLI versions that need to be tested in the `benchmark/package.json` file. +You might need to adjust the CLI versions that need to be tested in the `tests/performance/package.json` file. ### Manual tests @@ -300,13 +300,14 @@ What should be verified when changes applied to the `respect-core` package: - `mTLS` is working. Can be done by calling API endpoint with mTLA authentication `npm run cli respect {YOUR}.arazzo.yaml -- --verbose --mtls=='{"domain":{"caCert":"ca-cert.pem", "clientKey":"client-key.pem","clientCert":"client-cert.pem"}}'`. [Learn more about mTLS usage in Respect](https://redocly.com/docs/respect/guides/mtls-cli#use-mtls-with-respect-in-redocly-cli). - File upload is working for both `multipart/form-data` and `application/octet-stream`. - 4 ## Project structure -- **`__tests__`**: contains e2e and smoke tests. +- **`tests/e2e`**: contains e2e tests. -- **`benchmark`**: contains the performance benchmark. +- **`tests/performance`**: contains the performance benchmark. + +- **`tests/smoke`**: contains smoke tests. - **`docs`**: contains the documentation source files. When changes to the documentation are merged, they automatically get published on the [Redocly docs website](https://redocly.com/docs/cli/). diff --git a/__tests__/build-docs/simple-build-docs/pets.yaml b/__tests__/build-docs/simple-build-docs/pets.yaml deleted file mode 120000 index ed15b3be3d..0000000000 --- a/__tests__/build-docs/simple-build-docs/pets.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../resources/pets.yaml \ No newline at end of file diff --git a/__tests__/stats/stats-json/museum.yaml b/__tests__/stats/stats-json/museum.yaml deleted file mode 120000 index 6fcf0e9012..0000000000 --- a/__tests__/stats/stats-json/museum.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../resources/museum.yaml \ No newline at end of file diff --git a/__tests__/stats/stats-markdown/museum.yaml b/__tests__/stats/stats-markdown/museum.yaml deleted file mode 120000 index 6fcf0e9012..0000000000 --- a/__tests__/stats/stats-markdown/museum.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../resources/museum.yaml \ No newline at end of file diff --git a/__tests__/stats/stats-stylish/museum.yaml b/__tests__/stats/stats-stylish/museum.yaml deleted file mode 120000 index 6fcf0e9012..0000000000 --- a/__tests__/stats/stats-stylish/museum.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../resources/museum.yaml \ No newline at end of file diff --git a/benchmark/package.json b/benchmark/package.json deleted file mode 100644 index 8af00e2e9a..0000000000 --- a/benchmark/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "benchmark", - "version": "1.0.0", - "description": "Test benchmark for Redocly CLI", - "private": true, - "scripts": { - "chart": "node chart.mjs > benchmark_chart.md", - "make-test": "bash make-test-command.sh" - }, - "dependencies": { - "cli-1.34": "npm:@redocly/cli@1.34.4", - "cli-next-0": "npm:@redocly/cli@2.0.0-next.0", - "cli-next-1": "npm:@redocly/cli@2.0.0-next.1", - "cli-next-2": "npm:@redocly/cli@2.0.0-next.2", - "cli-next-3": "npm:@redocly/cli@2.0.0-next.3", - "cli-next-4": "npm:@redocly/cli@2.0.0-next.4", - "cli-next-5": "npm:@redocly/cli@2.0.0-next.5", - "cli-next-6": "npm:@redocly/cli@2.0.0-next.6", - "cli-next-7": "npm:@redocly/cli@2.0.0-next.7", - "cli-next": "file:../redocly-cli.tgz" - } -} diff --git a/package.json b/package.json index 954e68a297..59e3aa5d0c 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "pack:prepare": "./scripts/local-pack.sh", "respect:parser:generate": "pegjs --format es --output packages/respect-core/lib/modules/runtime-expressions/abnf-parser.js packages/respect-core/src/modules/runtime-expressions/abnf-parser.pegjs && cp packages/respect-core/lib/modules/runtime-expressions/abnf-parser.js packages/respect-core/src/modules/runtime-expressions/abnf-parser.js", "build-docs:copy-assets": "cp packages/cli/src/commands/build-docs/template.hbs packages/cli/lib/commands/build-docs/template.hbs ", - "json-server": "json-server --watch __tests__/respect/local-json-server/fake-db.json --port 3000 --host 0.0.0.0" + "json-server": "json-server --watch tests/e2e/respect/local-json-server/fake-db.json --port 3000 --host 0.0.0.0" }, "workspaces": [ "packages/*" diff --git a/packages/cli/src/commands/split/__tests__/index.test.ts b/packages/cli/src/commands/split/__tests__/index.test.ts index 26480f3ded..0a6cfa8d1b 100644 --- a/packages/cli/src/commands/split/__tests__/index.test.ts +++ b/packages/cli/src/commands/split/__tests__/index.test.ts @@ -8,7 +8,7 @@ import * as utils from '../../../utils/miscellaneous.js'; import { configFixture } from '../../../__tests__/fixtures/config.js'; describe('split', () => { - const openapiDir = 'test'; + const openapiDir = 'output/split-test'; const componentsFiles: ComponentsFiles = {}; beforeEach(() => { @@ -97,7 +97,10 @@ describe('split', () => { ); expect(openapiCore.slash).toHaveBeenCalledWith('paths/test.yaml'); - expect(path.relative).toHaveBeenCalledWith('test', 'test/paths/test.yaml'); + expect(path.relative).toHaveBeenCalledWith( + 'output/split-test', + 'output/split-test/paths/test.yaml' + ); }); it('should have correct path with webhooks', () => { @@ -116,7 +119,10 @@ describe('split', () => { ); expect(openapiCore.slash).toHaveBeenCalledWith('webhooks/test.yaml'); - expect(path.relative).toHaveBeenCalledWith('test', 'test/webhooks/test.yaml'); + expect(path.relative).toHaveBeenCalledWith( + 'output/split-test', + 'output/split-test/webhooks/test.yaml' + ); }); it('should have correct path with x-webhooks', () => { @@ -135,7 +141,10 @@ describe('split', () => { ); expect(openapiCore.slash).toHaveBeenCalledWith('webhooks/test.yaml'); - expect(path.relative).toHaveBeenCalledWith('test', 'test/webhooks/test.yaml'); + expect(path.relative).toHaveBeenCalledWith( + 'output/split-test', + 'output/split-test/webhooks/test.yaml' + ); }); it('should create correct folder name for code samples', async () => { diff --git a/packages/respect-core/src/modules/__tests__/flow-runner/context/create-runtime-expression-ctx.test.ts b/packages/respect-core/src/modules/__tests__/flow-runner/context/create-runtime-expression-ctx.test.ts index ce6cb64b25..b77dcdce7b 100644 --- a/packages/respect-core/src/modules/__tests__/flow-runner/context/create-runtime-expression-ctx.test.ts +++ b/packages/respect-core/src/modules/__tests__/flow-runner/context/create-runtime-expression-ctx.test.ts @@ -10,12 +10,20 @@ const testDescription = { arazzo: '1.0.1', info: { title: 'API', version: '1.0' }, sourceDescriptions: [ - { name: 'cats', type: 'openapi', url: '../../__tests__/respect/cat-fact-api/cats.yaml' }, - { name: 'catsTwo', type: 'openapi', url: '../../__tests__/respect/cat-fact-api/cats.yaml' }, + { + name: 'cats', + type: 'openapi', + url: '../../tests/e2e/respect/cat-fact-api/cats.yaml', + }, + { + name: 'catsTwo', + type: 'openapi', + url: '../../tests/e2e/respect/cat-fact-api/cats.yaml', + }, { name: 'externalWorkflow', type: 'arazzo', - url: '../../__tests__/respect/cat-fact-api/auto-cat.arazzo.yaml', + url: '../../tests/e2e/respect/cat-fact-api/auto-cat.arazzo.yaml', }, ], workflows: [ diff --git a/packages/respect-core/src/modules/__tests__/flow-runner/context/create-test-context.test.ts b/packages/respect-core/src/modules/__tests__/flow-runner/context/create-test-context.test.ts index ddb37be03d..1da52e1dbe 100644 --- a/packages/respect-core/src/modules/__tests__/flow-runner/context/create-test-context.test.ts +++ b/packages/respect-core/src/modules/__tests__/flow-runner/context/create-test-context.test.ts @@ -14,12 +14,20 @@ describe('createTestContext', () => { arazzo: '1.0.1', info: { title: 'API', version: '1.0' }, sourceDescriptions: [ - { name: 'cats', type: 'openapi', url: '../../__tests__/respect/cat-fact-api/cats.yaml' }, - { name: 'catsTwo', type: 'openapi', url: '../../__tests__/respect/cat-fact-api/cats.yaml' }, + { + name: 'cats', + type: 'openapi', + url: '../../tests/e2e/respect/cat-fact-api/cats.yaml', + }, + { + name: 'catsTwo', + type: 'openapi', + url: '../../tests/e2e/respect/cat-fact-api/cats.yaml', + }, { name: 'externalWorkflow', type: 'arazzo', - url: '../../__tests__/respect/cat-fact-api/auto-cat.arazzo.yaml', + url: '../../tests/e2e/respect/cat-fact-api/auto-cat.arazzo.yaml', }, ], workflows: [ @@ -527,12 +535,20 @@ describe('createTestContext', () => { secretsSet: {}, severity: DEFAULT_SEVERITY_CONFIGURATION, sourceDescriptions: [ - { name: 'cats', type: 'openapi', url: '../../__tests__/respect/cat-fact-api/cats.yaml' }, - { name: 'catsTwo', type: 'openapi', url: '../../__tests__/respect/cat-fact-api/cats.yaml' }, + { + name: 'cats', + type: 'openapi', + url: '../../tests/e2e/respect/cat-fact-api/cats.yaml', + }, + { + name: 'catsTwo', + type: 'openapi', + url: '../../tests/e2e/respect/cat-fact-api/cats.yaml', + }, { name: 'externalWorkflow', type: 'arazzo', - url: '../../__tests__/respect/cat-fact-api/auto-cat.arazzo.yaml', + url: '../../tests/e2e/respect/cat-fact-api/auto-cat.arazzo.yaml', }, ], apiClient: expect.any(ApiFetcher), diff --git a/packages/core/src/benchmark/benches/rebilly.yaml b/resources/rebilly.yaml similarity index 100% rename from packages/core/src/benchmark/benches/rebilly.yaml rename to resources/rebilly.yaml diff --git a/__tests__/build-docs/build-docs-with-config-option/index.hbs b/tests/e2e/build-docs/build-docs-with-config-option/index.hbs similarity index 100% rename from __tests__/build-docs/build-docs-with-config-option/index.hbs rename to tests/e2e/build-docs/build-docs-with-config-option/index.hbs diff --git a/__tests__/build-docs/build-docs-with-config-option/nested/message-schema.yaml b/tests/e2e/build-docs/build-docs-with-config-option/nested/message-schema.yaml similarity index 100% rename from __tests__/build-docs/build-docs-with-config-option/nested/message-schema.yaml rename to tests/e2e/build-docs/build-docs-with-config-option/nested/message-schema.yaml diff --git a/__tests__/build-docs/build-docs-with-config-option/nested/openapi.yaml b/tests/e2e/build-docs/build-docs-with-config-option/nested/openapi.yaml similarity index 100% rename from __tests__/build-docs/build-docs-with-config-option/nested/openapi.yaml rename to tests/e2e/build-docs/build-docs-with-config-option/nested/openapi.yaml diff --git a/__tests__/build-docs/build-docs-with-config-option/nested/redocly.yaml b/tests/e2e/build-docs/build-docs-with-config-option/nested/redocly.yaml similarity index 100% rename from __tests__/build-docs/build-docs-with-config-option/nested/redocly.yaml rename to tests/e2e/build-docs/build-docs-with-config-option/nested/redocly.yaml diff --git a/__tests__/build-docs/build-docs-with-config-option/snapshot.txt b/tests/e2e/build-docs/build-docs-with-config-option/snapshot.txt similarity index 100% rename from __tests__/build-docs/build-docs-with-config-option/snapshot.txt rename to tests/e2e/build-docs/build-docs-with-config-option/snapshot.txt diff --git a/__tests__/build-docs/build-docs-with-disabled-search/config-with-alias.yaml b/tests/e2e/build-docs/build-docs-with-disabled-search/config-with-alias.yaml similarity index 100% rename from __tests__/build-docs/build-docs-with-disabled-search/config-with-alias.yaml rename to tests/e2e/build-docs/build-docs-with-disabled-search/config-with-alias.yaml diff --git a/__tests__/build-docs/build-docs-with-disabled-search/config-with-apis-and-root-option.yaml b/tests/e2e/build-docs/build-docs-with-disabled-search/config-with-apis-and-root-option.yaml similarity index 100% rename from __tests__/build-docs/build-docs-with-disabled-search/config-with-apis-and-root-option.yaml rename to tests/e2e/build-docs/build-docs-with-disabled-search/config-with-apis-and-root-option.yaml diff --git a/__tests__/build-docs/build-docs-with-disabled-search/config.yaml b/tests/e2e/build-docs/build-docs-with-disabled-search/config.yaml similarity index 100% rename from __tests__/build-docs/build-docs-with-disabled-search/config.yaml rename to tests/e2e/build-docs/build-docs-with-disabled-search/config.yaml diff --git a/__tests__/build-docs/build-docs-with-disabled-search/openapi.yaml b/tests/e2e/build-docs/build-docs-with-disabled-search/openapi.yaml similarity index 100% rename from __tests__/build-docs/build-docs-with-disabled-search/openapi.yaml rename to tests/e2e/build-docs/build-docs-with-disabled-search/openapi.yaml diff --git a/__tests__/build-docs/build-docs-with-disabled-search/snapshot.txt b/tests/e2e/build-docs/build-docs-with-disabled-search/snapshot.txt similarity index 100% rename from __tests__/build-docs/build-docs-with-disabled-search/snapshot.txt rename to tests/e2e/build-docs/build-docs-with-disabled-search/snapshot.txt diff --git a/tests/e2e/build-docs/simple-build-docs/pets.yaml b/tests/e2e/build-docs/simple-build-docs/pets.yaml new file mode 120000 index 0000000000..ba15b67acd --- /dev/null +++ b/tests/e2e/build-docs/simple-build-docs/pets.yaml @@ -0,0 +1 @@ +../../../../resources/pets.yaml \ No newline at end of file diff --git a/__tests__/build-docs/simple-build-docs/snapshot.txt b/tests/e2e/build-docs/simple-build-docs/snapshot.txt similarity index 100% rename from __tests__/build-docs/simple-build-docs/snapshot.txt rename to tests/e2e/build-docs/simple-build-docs/snapshot.txt diff --git a/__tests__/bundle/async3/UserSignedUp.yaml b/tests/e2e/bundle/async3/UserSignedUp.yaml similarity index 100% rename from __tests__/bundle/async3/UserSignedUp.yaml rename to tests/e2e/bundle/async3/UserSignedUp.yaml diff --git a/__tests__/bundle/async3/redocly.yaml b/tests/e2e/bundle/async3/redocly.yaml similarity index 100% rename from __tests__/bundle/async3/redocly.yaml rename to tests/e2e/bundle/async3/redocly.yaml diff --git a/__tests__/bundle/async3/simple.yml b/tests/e2e/bundle/async3/simple.yml similarity index 100% rename from __tests__/bundle/async3/simple.yml rename to tests/e2e/bundle/async3/simple.yml diff --git a/__tests__/bundle/async3/snapshot.txt b/tests/e2e/bundle/async3/snapshot.txt similarity index 100% rename from __tests__/bundle/async3/snapshot.txt rename to tests/e2e/bundle/async3/snapshot.txt diff --git a/__tests__/bundle/bundle-anchor/redocly.yaml b/tests/e2e/bundle/bundle-anchor/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-anchor/redocly.yaml rename to tests/e2e/bundle/bundle-anchor/redocly.yaml diff --git a/__tests__/bundle/bundle-anchor/snapshot.txt b/tests/e2e/bundle/bundle-anchor/snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-anchor/snapshot.txt rename to tests/e2e/bundle/bundle-anchor/snapshot.txt diff --git a/__tests__/bundle/bundle-anchor/test.yaml b/tests/e2e/bundle/bundle-anchor/test.yaml similarity index 100% rename from __tests__/bundle/bundle-anchor/test.yaml rename to tests/e2e/bundle/bundle-anchor/test.yaml diff --git a/__tests__/bundle/bundle-arazzo-valid-test-description/museum.yaml b/tests/e2e/bundle/bundle-arazzo-valid-test-description/museum.yaml similarity index 100% rename from __tests__/bundle/bundle-arazzo-valid-test-description/museum.yaml rename to tests/e2e/bundle/bundle-arazzo-valid-test-description/museum.yaml diff --git a/__tests__/bundle/bundle-arazzo-valid-test-description/parameter.yaml b/tests/e2e/bundle/bundle-arazzo-valid-test-description/parameter.yaml similarity index 100% rename from __tests__/bundle/bundle-arazzo-valid-test-description/parameter.yaml rename to tests/e2e/bundle/bundle-arazzo-valid-test-description/parameter.yaml diff --git a/__tests__/bundle/bundle-arazzo-valid-test-description/request-body.yaml b/tests/e2e/bundle/bundle-arazzo-valid-test-description/request-body.yaml similarity index 100% rename from __tests__/bundle/bundle-arazzo-valid-test-description/request-body.yaml rename to tests/e2e/bundle/bundle-arazzo-valid-test-description/request-body.yaml diff --git a/__tests__/bundle/bundle-arazzo-valid-test-description/snapshot.txt b/tests/e2e/bundle/bundle-arazzo-valid-test-description/snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-arazzo-valid-test-description/snapshot.txt rename to tests/e2e/bundle/bundle-arazzo-valid-test-description/snapshot.txt diff --git a/__tests__/bundle/bundle-description-dereferenced/redocly.yaml b/tests/e2e/bundle/bundle-description-dereferenced/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-description-dereferenced/redocly.yaml rename to tests/e2e/bundle/bundle-description-dereferenced/redocly.yaml diff --git a/__tests__/bundle/bundle-description-dereferenced/snapshot.txt b/tests/e2e/bundle/bundle-description-dereferenced/snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-description-dereferenced/snapshot.txt rename to tests/e2e/bundle/bundle-description-dereferenced/snapshot.txt diff --git a/__tests__/bundle/bundle-description-dereferenced/snapshot_2.txt b/tests/e2e/bundle/bundle-description-dereferenced/snapshot_2.txt similarity index 100% rename from __tests__/bundle/bundle-description-dereferenced/snapshot_2.txt rename to tests/e2e/bundle/bundle-description-dereferenced/snapshot_2.txt diff --git a/__tests__/bundle/bundle-description-dereferenced/test.yaml b/tests/e2e/bundle/bundle-description-dereferenced/test.yaml similarity index 100% rename from __tests__/bundle/bundle-description-dereferenced/test.yaml rename to tests/e2e/bundle/bundle-description-dereferenced/test.yaml diff --git a/__tests__/bundle/bundle-description-long/redocly.yaml b/tests/e2e/bundle/bundle-description-long/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-description-long/redocly.yaml rename to tests/e2e/bundle/bundle-description-long/redocly.yaml diff --git a/__tests__/bundle/bundle-description-long/snapshot.txt b/tests/e2e/bundle/bundle-description-long/snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-description-long/snapshot.txt rename to tests/e2e/bundle/bundle-description-long/snapshot.txt diff --git a/__tests__/bundle/bundle-description-long/snapshot_2.txt b/tests/e2e/bundle/bundle-description-long/snapshot_2.txt similarity index 100% rename from __tests__/bundle/bundle-description-long/snapshot_2.txt rename to tests/e2e/bundle/bundle-description-long/snapshot_2.txt diff --git a/__tests__/bundle/bundle-description-long/test.yaml b/tests/e2e/bundle/bundle-description-long/test.yaml similarity index 100% rename from __tests__/bundle/bundle-description-long/test.yaml rename to tests/e2e/bundle/bundle-description-long/test.yaml diff --git a/__tests__/bundle/bundle-external-value/external-value.json b/tests/e2e/bundle/bundle-external-value/external-value.json similarity index 100% rename from __tests__/bundle/bundle-external-value/external-value.json rename to tests/e2e/bundle/bundle-external-value/external-value.json diff --git a/__tests__/bundle/bundle-external-value/redocly.yaml b/tests/e2e/bundle/bundle-external-value/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-external-value/redocly.yaml rename to tests/e2e/bundle/bundle-external-value/redocly.yaml diff --git a/__tests__/bundle/bundle-external-value/snapshot.txt b/tests/e2e/bundle/bundle-external-value/snapshot.txt similarity index 93% rename from __tests__/bundle/bundle-external-value/snapshot.txt rename to tests/e2e/bundle/bundle-external-value/snapshot.txt index 84fd657dba..14d0223878 100644 --- a/__tests__/bundle/bundle-external-value/snapshot.txt +++ b/tests/e2e/bundle/bundle-external-value/snapshot.txt @@ -34,7 +34,7 @@ paths: components: {} [1] test-wrong-examples.yaml:27:17 at #/paths/~1/post/requestBody/content/application~1xml/examples/test-wrong-ref -Can't resolve $ref: ENOENT: no such file or directory './__tests__/bundle/bundle-external-value/external-value-bad-path.json' +Can't resolve $ref: ENOENT: no such file or directory './tests/e2e/bundle/bundle-external-value/external-value-bad-path.json' 25 | examples: 26 | test-wrong-ref: diff --git a/__tests__/bundle/bundle-external-value/test-success.yaml b/tests/e2e/bundle/bundle-external-value/test-success.yaml similarity index 100% rename from __tests__/bundle/bundle-external-value/test-success.yaml rename to tests/e2e/bundle/bundle-external-value/test-success.yaml diff --git a/__tests__/bundle/bundle-external-value/test-wrong-examples.yaml b/tests/e2e/bundle/bundle-external-value/test-wrong-examples.yaml similarity index 100% rename from __tests__/bundle/bundle-external-value/test-wrong-examples.yaml rename to tests/e2e/bundle/bundle-external-value/test-wrong-examples.yaml diff --git a/__tests__/bundle/bundle-no-output-without-inline-apis/redocly.yaml b/tests/e2e/bundle/bundle-no-output-without-inline-apis/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-no-output-without-inline-apis/redocly.yaml rename to tests/e2e/bundle/bundle-no-output-without-inline-apis/redocly.yaml diff --git a/__tests__/bundle/bundle-no-output-without-inline-apis/snapshot.txt b/tests/e2e/bundle/bundle-no-output-without-inline-apis/snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-no-output-without-inline-apis/snapshot.txt rename to tests/e2e/bundle/bundle-no-output-without-inline-apis/snapshot.txt diff --git a/__tests__/bundle/bundle-no-output-without-inline-apis/test.yaml b/tests/e2e/bundle/bundle-no-output-without-inline-apis/test.yaml similarity index 100% rename from __tests__/bundle/bundle-no-output-without-inline-apis/test.yaml rename to tests/e2e/bundle/bundle-no-output-without-inline-apis/test.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/keep-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/keep-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/keep-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/keep-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2-without-option/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas2/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas2/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas2/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas2/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas2/remove-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2/remove-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas2/remove-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas2/remove-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/keep-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/keep-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/keep-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/keep-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-turn-off-with-flag/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/keep-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/keep-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/keep-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/keep-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-with-decorator-off/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/keep-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/keep-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/keep-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/keep-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3-without-option/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-api-config/oas3/remove-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3/remove-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-api-config/oas3/remove-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components-from-api-config/oas3/remove-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas2-without-option/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2-without-option/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas2-without-option/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2-without-option/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas2-without-option/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2-without-option/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas2-without-option/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2-without-option/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas2-without-option/ref.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2-without-option/ref.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas2-without-option/ref.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2-without-option/ref.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas2-without-option/without-remove-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2-without-option/without-remove-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas2-without-option/without-remove-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2-without-option/without-remove-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas2/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas2/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas2/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas2/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas2/ref.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2/ref.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas2/ref.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2/ref.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas2/remove-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2/remove-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas2/remove-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas2/remove-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas3-without-option/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3-without-option/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas3-without-option/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3-without-option/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas3-without-option/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3-without-option/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas3-without-option/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3-without-option/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas3-without-option/ref.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3-without-option/ref.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas3-without-option/ref.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3-without-option/ref.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas3-without-option/without-remove-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3-without-option/without-remove-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas3-without-option/without-remove-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3-without-option/without-remove-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas3/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas3/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas3/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas3/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas3/ref.yaml b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3/ref.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas3/ref.yaml rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3/ref.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components-from-config/oas3/remove-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3/remove-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components-from-config/oas3/remove-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components-from-config/oas3/remove-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components/oas2/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components/oas2/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components/oas2/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components/oas2/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components/oas2/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components/oas2/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components/oas2/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components/oas2/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components/oas2/ref.yaml b/tests/e2e/bundle/bundle-remove-unused-components/oas2/ref.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components/oas2/ref.yaml rename to tests/e2e/bundle/bundle-remove-unused-components/oas2/ref.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components/oas2/remove-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components/oas2/remove-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components/oas2/remove-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components/oas2/remove-unused-components-snapshot.txt diff --git a/__tests__/bundle/bundle-remove-unused-components/oas3/openapi.yaml b/tests/e2e/bundle/bundle-remove-unused-components/oas3/openapi.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components/oas3/openapi.yaml rename to tests/e2e/bundle/bundle-remove-unused-components/oas3/openapi.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components/oas3/redocly.yaml b/tests/e2e/bundle/bundle-remove-unused-components/oas3/redocly.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components/oas3/redocly.yaml rename to tests/e2e/bundle/bundle-remove-unused-components/oas3/redocly.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components/oas3/ref.yaml b/tests/e2e/bundle/bundle-remove-unused-components/oas3/ref.yaml similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components/oas3/ref.yaml rename to tests/e2e/bundle/bundle-remove-unused-components/oas3/ref.yaml diff --git a/__tests__/bundle/bundle-remove-unused-components/oas3/remove-unused-components-snapshot.txt b/tests/e2e/bundle/bundle-remove-unused-components/oas3/remove-unused-components-snapshot.txt similarity index 100% rename from __tests__/bundle/bundle-remove-unused-components/oas3/remove-unused-components-snapshot.txt rename to tests/e2e/bundle/bundle-remove-unused-components/oas3/remove-unused-components-snapshot.txt diff --git a/__tests__/bundle/discriminator-mapping/bar.yaml b/tests/e2e/bundle/discriminator-mapping/bar.yaml similarity index 100% rename from __tests__/bundle/discriminator-mapping/bar.yaml rename to tests/e2e/bundle/discriminator-mapping/bar.yaml diff --git a/__tests__/bundle/discriminator-mapping/foo.yaml b/tests/e2e/bundle/discriminator-mapping/foo.yaml similarity index 100% rename from __tests__/bundle/discriminator-mapping/foo.yaml rename to tests/e2e/bundle/discriminator-mapping/foo.yaml diff --git a/__tests__/bundle/discriminator-mapping/main.yaml b/tests/e2e/bundle/discriminator-mapping/main.yaml similarity index 100% rename from __tests__/bundle/discriminator-mapping/main.yaml rename to tests/e2e/bundle/discriminator-mapping/main.yaml diff --git a/__tests__/bundle/discriminator-mapping/redocly.yaml b/tests/e2e/bundle/discriminator-mapping/redocly.yaml similarity index 100% rename from __tests__/bundle/discriminator-mapping/redocly.yaml rename to tests/e2e/bundle/discriminator-mapping/redocly.yaml diff --git a/__tests__/bundle/discriminator-mapping/snapshot.txt b/tests/e2e/bundle/discriminator-mapping/snapshot.txt similarity index 100% rename from __tests__/bundle/discriminator-mapping/snapshot.txt rename to tests/e2e/bundle/discriminator-mapping/snapshot.txt diff --git a/__tests__/bundle/discriminator-mapping/snapshot_2.txt b/tests/e2e/bundle/discriminator-mapping/snapshot_2.txt similarity index 100% rename from __tests__/bundle/discriminator-mapping/snapshot_2.txt rename to tests/e2e/bundle/discriminator-mapping/snapshot_2.txt diff --git a/__tests__/bundle/info-description-override-error/main.yaml b/tests/e2e/bundle/info-description-override-error/main.yaml similarity index 100% rename from __tests__/bundle/info-description-override-error/main.yaml rename to tests/e2e/bundle/info-description-override-error/main.yaml diff --git a/__tests__/bundle/info-description-override-error/redocly.yaml b/tests/e2e/bundle/info-description-override-error/redocly.yaml similarity index 100% rename from __tests__/bundle/info-description-override-error/redocly.yaml rename to tests/e2e/bundle/info-description-override-error/redocly.yaml diff --git a/__tests__/bundle/info-description-override-error/snapshot.txt b/tests/e2e/bundle/info-description-override-error/snapshot.txt similarity index 89% rename from __tests__/bundle/info-description-override-error/snapshot.txt rename to tests/e2e/bundle/info-description-override-error/snapshot.txt index 7bedeafe06..712f4e45f6 100644 --- a/__tests__/bundle/info-description-override-error/snapshot.txt +++ b/tests/e2e/bundle/info-description-override-error/snapshot.txt @@ -1,7 +1,7 @@ [1] main.yaml:8:16 at #/info/description Failed to read markdown override file for "info.description". -ENOENT: no such file or directory, open './__tests__/bundle/info-description-override-error/non-existing.md' +ENOENT: no such file or directory, open './tests/e2e/bundle/info-description-override-error/non-existing.md' 6 | title: Example OpenAPI 3 definition. 7 | version: 1.0.0 diff --git a/__tests__/bundle/info-description-override/main.yaml b/tests/e2e/bundle/info-description-override/main.yaml similarity index 100% rename from __tests__/bundle/info-description-override/main.yaml rename to tests/e2e/bundle/info-description-override/main.yaml diff --git a/__tests__/bundle/info-description-override/redocly.yaml b/tests/e2e/bundle/info-description-override/redocly.yaml similarity index 100% rename from __tests__/bundle/info-description-override/redocly.yaml rename to tests/e2e/bundle/info-description-override/redocly.yaml diff --git a/__tests__/bundle/info-description-override/snapshot.txt b/tests/e2e/bundle/info-description-override/snapshot.txt similarity index 100% rename from __tests__/bundle/info-description-override/snapshot.txt rename to tests/e2e/bundle/info-description-override/snapshot.txt diff --git a/__tests__/bundle/info-description-override/test.md b/tests/e2e/bundle/info-description-override/test.md similarity index 100% rename from __tests__/bundle/info-description-override/test.md rename to tests/e2e/bundle/info-description-override/test.md diff --git a/__tests__/bundle/info-override/main.yaml b/tests/e2e/bundle/info-override/main.yaml similarity index 100% rename from __tests__/bundle/info-override/main.yaml rename to tests/e2e/bundle/info-override/main.yaml diff --git a/__tests__/bundle/info-override/redocly.yaml b/tests/e2e/bundle/info-override/redocly.yaml similarity index 100% rename from __tests__/bundle/info-override/redocly.yaml rename to tests/e2e/bundle/info-override/redocly.yaml diff --git a/__tests__/bundle/info-override/snapshot.txt b/tests/e2e/bundle/info-override/snapshot.txt similarity index 100% rename from __tests__/bundle/info-override/snapshot.txt rename to tests/e2e/bundle/info-override/snapshot.txt diff --git a/__tests__/bundle/media-type-examples-override/examples/request.yaml b/tests/e2e/bundle/media-type-examples-override/examples/request.yaml similarity index 100% rename from __tests__/bundle/media-type-examples-override/examples/request.yaml rename to tests/e2e/bundle/media-type-examples-override/examples/request.yaml diff --git a/__tests__/bundle/media-type-examples-override/examples/response.yaml b/tests/e2e/bundle/media-type-examples-override/examples/response.yaml similarity index 100% rename from __tests__/bundle/media-type-examples-override/examples/response.yaml rename to tests/e2e/bundle/media-type-examples-override/examples/response.yaml diff --git a/__tests__/bundle/media-type-examples-override/openapi.yaml b/tests/e2e/bundle/media-type-examples-override/openapi.yaml similarity index 100% rename from __tests__/bundle/media-type-examples-override/openapi.yaml rename to tests/e2e/bundle/media-type-examples-override/openapi.yaml diff --git a/__tests__/bundle/media-type-examples-override/redocly.yaml b/tests/e2e/bundle/media-type-examples-override/redocly.yaml similarity index 100% rename from __tests__/bundle/media-type-examples-override/redocly.yaml rename to tests/e2e/bundle/media-type-examples-override/redocly.yaml diff --git a/__tests__/bundle/media-type-examples-override/snapshot.txt b/tests/e2e/bundle/media-type-examples-override/snapshot.txt similarity index 100% rename from __tests__/bundle/media-type-examples-override/snapshot.txt rename to tests/e2e/bundle/media-type-examples-override/snapshot.txt diff --git a/__tests__/bundle/no-duplicated-components/Test.yaml b/tests/e2e/bundle/no-duplicated-components/Test.yaml similarity index 100% rename from __tests__/bundle/no-duplicated-components/Test.yaml rename to tests/e2e/bundle/no-duplicated-components/Test.yaml diff --git a/__tests__/bundle/no-duplicated-components/openapi.yaml b/tests/e2e/bundle/no-duplicated-components/openapi.yaml similarity index 100% rename from __tests__/bundle/no-duplicated-components/openapi.yaml rename to tests/e2e/bundle/no-duplicated-components/openapi.yaml diff --git a/__tests__/bundle/no-duplicated-components/paths/path.yaml b/tests/e2e/bundle/no-duplicated-components/paths/path.yaml similarity index 100% rename from __tests__/bundle/no-duplicated-components/paths/path.yaml rename to tests/e2e/bundle/no-duplicated-components/paths/path.yaml diff --git a/__tests__/bundle/no-duplicated-components/redocly.yaml b/tests/e2e/bundle/no-duplicated-components/redocly.yaml similarity index 100% rename from __tests__/bundle/no-duplicated-components/redocly.yaml rename to tests/e2e/bundle/no-duplicated-components/redocly.yaml diff --git a/__tests__/bundle/no-duplicated-components/snapshot.txt b/tests/e2e/bundle/no-duplicated-components/snapshot.txt similarity index 100% rename from __tests__/bundle/no-duplicated-components/snapshot.txt rename to tests/e2e/bundle/no-duplicated-components/snapshot.txt diff --git a/__tests__/bundle/no-self-referenced-components/openapi.yaml b/tests/e2e/bundle/no-self-referenced-components/openapi.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-components/openapi.yaml rename to tests/e2e/bundle/no-self-referenced-components/openapi.yaml diff --git a/__tests__/bundle/no-self-referenced-components/parameters/PetId.yaml b/tests/e2e/bundle/no-self-referenced-components/parameters/PetId.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-components/parameters/PetId.yaml rename to tests/e2e/bundle/no-self-referenced-components/parameters/PetId.yaml diff --git a/__tests__/bundle/no-self-referenced-components/parameters/_index.yaml b/tests/e2e/bundle/no-self-referenced-components/parameters/_index.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-components/parameters/_index.yaml rename to tests/e2e/bundle/no-self-referenced-components/parameters/_index.yaml diff --git a/__tests__/bundle/no-self-referenced-components/paths/Pet.yaml b/tests/e2e/bundle/no-self-referenced-components/paths/Pet.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-components/paths/Pet.yaml rename to tests/e2e/bundle/no-self-referenced-components/paths/Pet.yaml diff --git a/__tests__/bundle/no-self-referenced-components/redocly.yaml b/tests/e2e/bundle/no-self-referenced-components/redocly.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-components/redocly.yaml rename to tests/e2e/bundle/no-self-referenced-components/redocly.yaml diff --git a/__tests__/bundle/no-self-referenced-components/schemas/Pet.yaml b/tests/e2e/bundle/no-self-referenced-components/schemas/Pet.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-components/schemas/Pet.yaml rename to tests/e2e/bundle/no-self-referenced-components/schemas/Pet.yaml diff --git a/__tests__/bundle/no-self-referenced-components/schemas/_index.yaml b/tests/e2e/bundle/no-self-referenced-components/schemas/_index.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-components/schemas/_index.yaml rename to tests/e2e/bundle/no-self-referenced-components/schemas/_index.yaml diff --git a/__tests__/bundle/no-self-referenced-components/snapshot.txt b/tests/e2e/bundle/no-self-referenced-components/snapshot.txt similarity index 100% rename from __tests__/bundle/no-self-referenced-components/snapshot.txt rename to tests/e2e/bundle/no-self-referenced-components/snapshot.txt diff --git a/__tests__/bundle/no-self-referenced-or-duplicated-components/components/schemas.yaml b/tests/e2e/bundle/no-self-referenced-or-duplicated-components/components/schemas.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-or-duplicated-components/components/schemas.yaml rename to tests/e2e/bundle/no-self-referenced-or-duplicated-components/components/schemas.yaml diff --git a/__tests__/bundle/no-self-referenced-or-duplicated-components/folder/myObject.v2.schema.yaml b/tests/e2e/bundle/no-self-referenced-or-duplicated-components/folder/myObject.v2.schema.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-or-duplicated-components/folder/myObject.v2.schema.yaml rename to tests/e2e/bundle/no-self-referenced-or-duplicated-components/folder/myObject.v2.schema.yaml diff --git a/__tests__/bundle/no-self-referenced-or-duplicated-components/openapi.yaml b/tests/e2e/bundle/no-self-referenced-or-duplicated-components/openapi.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-or-duplicated-components/openapi.yaml rename to tests/e2e/bundle/no-self-referenced-or-duplicated-components/openapi.yaml diff --git a/__tests__/bundle/no-self-referenced-or-duplicated-components/redocly.yaml b/tests/e2e/bundle/no-self-referenced-or-duplicated-components/redocly.yaml similarity index 100% rename from __tests__/bundle/no-self-referenced-or-duplicated-components/redocly.yaml rename to tests/e2e/bundle/no-self-referenced-or-duplicated-components/redocly.yaml diff --git a/__tests__/bundle/no-self-referenced-or-duplicated-components/snapshot.txt b/tests/e2e/bundle/no-self-referenced-or-duplicated-components/snapshot.txt similarity index 100% rename from __tests__/bundle/no-self-referenced-or-duplicated-components/snapshot.txt rename to tests/e2e/bundle/no-self-referenced-or-duplicated-components/snapshot.txt diff --git a/__tests__/bundle/oas3_1-pattern-porperties/object.yaml b/tests/e2e/bundle/oas3_1-pattern-porperties/object.yaml similarity index 100% rename from __tests__/bundle/oas3_1-pattern-porperties/object.yaml rename to tests/e2e/bundle/oas3_1-pattern-porperties/object.yaml diff --git a/__tests__/bundle/oas3_1-pattern-porperties/redocly.yaml b/tests/e2e/bundle/oas3_1-pattern-porperties/redocly.yaml similarity index 100% rename from __tests__/bundle/oas3_1-pattern-porperties/redocly.yaml rename to tests/e2e/bundle/oas3_1-pattern-porperties/redocly.yaml diff --git a/__tests__/bundle/oas3_1-pattern-porperties/snapshot.txt b/tests/e2e/bundle/oas3_1-pattern-porperties/snapshot.txt similarity index 100% rename from __tests__/bundle/oas3_1-pattern-porperties/snapshot.txt rename to tests/e2e/bundle/oas3_1-pattern-porperties/snapshot.txt diff --git a/__tests__/bundle/oas3_1-pattern-porperties/test.yaml b/tests/e2e/bundle/oas3_1-pattern-porperties/test.yaml similarity index 100% rename from __tests__/bundle/oas3_1-pattern-porperties/test.yaml rename to tests/e2e/bundle/oas3_1-pattern-porperties/test.yaml diff --git a/__tests__/bundle/operation-description-override-error/openapi.yaml b/tests/e2e/bundle/operation-description-override-error/openapi.yaml similarity index 100% rename from __tests__/bundle/operation-description-override-error/openapi.yaml rename to tests/e2e/bundle/operation-description-override-error/openapi.yaml diff --git a/__tests__/bundle/operation-description-override-error/redocly.yaml b/tests/e2e/bundle/operation-description-override-error/redocly.yaml similarity index 100% rename from __tests__/bundle/operation-description-override-error/redocly.yaml rename to tests/e2e/bundle/operation-description-override-error/redocly.yaml diff --git a/__tests__/bundle/operation-description-override-error/snapshot.txt b/tests/e2e/bundle/operation-description-override-error/snapshot.txt similarity index 89% rename from __tests__/bundle/operation-description-override-error/snapshot.txt rename to tests/e2e/bundle/operation-description-override-error/snapshot.txt index 8382486232..148605d054 100644 --- a/__tests__/bundle/operation-description-override-error/snapshot.txt +++ b/tests/e2e/bundle/operation-description-override-error/snapshot.txt @@ -1,7 +1,7 @@ [1] openapi.yaml:23:7 at #/paths/~1pet/put/operationId Failed to read markdown override file for operation "updatePet". -ENOENT: no such file or directory, open './__tests__/bundle/operation-description-override-error/non-existing.md' +ENOENT: no such file or directory, open './tests/e2e/bundle/operation-description-override-error/non-existing.md' 21 | summary: Update an existing pet 22 | description: '' diff --git a/__tests__/bundle/operation-description-override/create-user-operation-description.md b/tests/e2e/bundle/operation-description-override/create-user-operation-description.md similarity index 100% rename from __tests__/bundle/operation-description-override/create-user-operation-description.md rename to tests/e2e/bundle/operation-description-override/create-user-operation-description.md diff --git a/__tests__/bundle/operation-description-override/openapi.yaml b/tests/e2e/bundle/operation-description-override/openapi.yaml similarity index 100% rename from __tests__/bundle/operation-description-override/openapi.yaml rename to tests/e2e/bundle/operation-description-override/openapi.yaml diff --git a/__tests__/bundle/operation-description-override/redocly.yaml b/tests/e2e/bundle/operation-description-override/redocly.yaml similarity index 100% rename from __tests__/bundle/operation-description-override/redocly.yaml rename to tests/e2e/bundle/operation-description-override/redocly.yaml diff --git a/__tests__/bundle/operation-description-override/snapshot.txt b/tests/e2e/bundle/operation-description-override/snapshot.txt similarity index 100% rename from __tests__/bundle/operation-description-override/snapshot.txt rename to tests/e2e/bundle/operation-description-override/snapshot.txt diff --git a/__tests__/bundle/operation-description-override/update-pet-operation-description.md b/tests/e2e/bundle/operation-description-override/update-pet-operation-description.md similarity index 100% rename from __tests__/bundle/operation-description-override/update-pet-operation-description.md rename to tests/e2e/bundle/operation-description-override/update-pet-operation-description.md diff --git a/__tests__/bundle/primitive-types/openapi.yaml b/tests/e2e/bundle/primitive-types/openapi.yaml similarity index 100% rename from __tests__/bundle/primitive-types/openapi.yaml rename to tests/e2e/bundle/primitive-types/openapi.yaml diff --git a/__tests__/bundle/primitive-types/redocly.yaml b/tests/e2e/bundle/primitive-types/redocly.yaml similarity index 100% rename from __tests__/bundle/primitive-types/redocly.yaml rename to tests/e2e/bundle/primitive-types/redocly.yaml diff --git a/__tests__/bundle/primitive-types/snapshot.txt b/tests/e2e/bundle/primitive-types/snapshot.txt similarity index 100% rename from __tests__/bundle/primitive-types/snapshot.txt rename to tests/e2e/bundle/primitive-types/snapshot.txt diff --git a/__tests__/bundle/reference-ending-in-hash/openapi.yaml b/tests/e2e/bundle/reference-ending-in-hash/openapi.yaml similarity index 100% rename from __tests__/bundle/reference-ending-in-hash/openapi.yaml rename to tests/e2e/bundle/reference-ending-in-hash/openapi.yaml diff --git a/__tests__/bundle/reference-ending-in-hash/redocly.yaml b/tests/e2e/bundle/reference-ending-in-hash/redocly.yaml similarity index 100% rename from __tests__/bundle/reference-ending-in-hash/redocly.yaml rename to tests/e2e/bundle/reference-ending-in-hash/redocly.yaml diff --git a/__tests__/bundle/reference-ending-in-hash/schemas/Pet.json b/tests/e2e/bundle/reference-ending-in-hash/schemas/Pet.json similarity index 100% rename from __tests__/bundle/reference-ending-in-hash/schemas/Pet.json rename to tests/e2e/bundle/reference-ending-in-hash/schemas/Pet.json diff --git a/__tests__/bundle/reference-ending-in-hash/snapshot.txt b/tests/e2e/bundle/reference-ending-in-hash/snapshot.txt similarity index 100% rename from __tests__/bundle/reference-ending-in-hash/snapshot.txt rename to tests/e2e/bundle/reference-ending-in-hash/snapshot.txt diff --git a/__tests__/bundle/remove-x-internal/main.yaml b/tests/e2e/bundle/remove-x-internal/main.yaml similarity index 100% rename from __tests__/bundle/remove-x-internal/main.yaml rename to tests/e2e/bundle/remove-x-internal/main.yaml diff --git a/__tests__/bundle/remove-x-internal/redocly.yaml b/tests/e2e/bundle/remove-x-internal/redocly.yaml similarity index 100% rename from __tests__/bundle/remove-x-internal/redocly.yaml rename to tests/e2e/bundle/remove-x-internal/redocly.yaml diff --git a/__tests__/bundle/remove-x-internal/schemas/candy-cane.yaml b/tests/e2e/bundle/remove-x-internal/schemas/candy-cane.yaml similarity index 100% rename from __tests__/bundle/remove-x-internal/schemas/candy-cane.yaml rename to tests/e2e/bundle/remove-x-internal/schemas/candy-cane.yaml diff --git a/__tests__/bundle/remove-x-internal/schemas/cranberry.yaml b/tests/e2e/bundle/remove-x-internal/schemas/cranberry.yaml similarity index 100% rename from __tests__/bundle/remove-x-internal/schemas/cranberry.yaml rename to tests/e2e/bundle/remove-x-internal/schemas/cranberry.yaml diff --git a/__tests__/bundle/remove-x-internal/schemas/popcorn.yaml b/tests/e2e/bundle/remove-x-internal/schemas/popcorn.yaml similarity index 100% rename from __tests__/bundle/remove-x-internal/schemas/popcorn.yaml rename to tests/e2e/bundle/remove-x-internal/schemas/popcorn.yaml diff --git a/__tests__/bundle/remove-x-internal/snapshot.txt b/tests/e2e/bundle/remove-x-internal/snapshot.txt similarity index 100% rename from __tests__/bundle/remove-x-internal/snapshot.txt rename to tests/e2e/bundle/remove-x-internal/snapshot.txt diff --git a/__tests__/bundle/resolve-refs-from-x-attributes/external.yaml b/tests/e2e/bundle/resolve-refs-from-x-attributes/external.yaml similarity index 100% rename from __tests__/bundle/resolve-refs-from-x-attributes/external.yaml rename to tests/e2e/bundle/resolve-refs-from-x-attributes/external.yaml diff --git a/__tests__/bundle/resolve-refs-from-x-attributes/openapi.yaml b/tests/e2e/bundle/resolve-refs-from-x-attributes/openapi.yaml similarity index 100% rename from __tests__/bundle/resolve-refs-from-x-attributes/openapi.yaml rename to tests/e2e/bundle/resolve-refs-from-x-attributes/openapi.yaml diff --git a/__tests__/bundle/resolve-refs-from-x-attributes/plugin.cjs b/tests/e2e/bundle/resolve-refs-from-x-attributes/plugin.cjs similarity index 100% rename from __tests__/bundle/resolve-refs-from-x-attributes/plugin.cjs rename to tests/e2e/bundle/resolve-refs-from-x-attributes/plugin.cjs diff --git a/__tests__/bundle/resolve-refs-from-x-attributes/redocly.yaml b/tests/e2e/bundle/resolve-refs-from-x-attributes/redocly.yaml similarity index 100% rename from __tests__/bundle/resolve-refs-from-x-attributes/redocly.yaml rename to tests/e2e/bundle/resolve-refs-from-x-attributes/redocly.yaml diff --git a/__tests__/bundle/resolve-refs-from-x-attributes/resolve-x.decorator.cjs b/tests/e2e/bundle/resolve-refs-from-x-attributes/resolve-x.decorator.cjs similarity index 100% rename from __tests__/bundle/resolve-refs-from-x-attributes/resolve-x.decorator.cjs rename to tests/e2e/bundle/resolve-refs-from-x-attributes/resolve-x.decorator.cjs diff --git a/__tests__/bundle/resolve-refs-from-x-attributes/snapshot.txt b/tests/e2e/bundle/resolve-refs-from-x-attributes/snapshot.txt similarity index 100% rename from __tests__/bundle/resolve-refs-from-x-attributes/snapshot.txt rename to tests/e2e/bundle/resolve-refs-from-x-attributes/snapshot.txt diff --git a/__tests__/bundle/self-file-ref-normalization/openapi.yaml b/tests/e2e/bundle/self-file-ref-normalization/openapi.yaml similarity index 100% rename from __tests__/bundle/self-file-ref-normalization/openapi.yaml rename to tests/e2e/bundle/self-file-ref-normalization/openapi.yaml diff --git a/__tests__/bundle/self-file-ref-normalization/redocly.yaml b/tests/e2e/bundle/self-file-ref-normalization/redocly.yaml similarity index 100% rename from __tests__/bundle/self-file-ref-normalization/redocly.yaml rename to tests/e2e/bundle/self-file-ref-normalization/redocly.yaml diff --git a/__tests__/bundle/self-file-ref-normalization/snapshot.txt b/tests/e2e/bundle/self-file-ref-normalization/snapshot.txt similarity index 100% rename from __tests__/bundle/self-file-ref-normalization/snapshot.txt rename to tests/e2e/bundle/self-file-ref-normalization/snapshot.txt diff --git a/__tests__/bundle/sibling-refs-asyncapi/asyncapi.yaml b/tests/e2e/bundle/sibling-refs-asyncapi/asyncapi.yaml similarity index 100% rename from __tests__/bundle/sibling-refs-asyncapi/asyncapi.yaml rename to tests/e2e/bundle/sibling-refs-asyncapi/asyncapi.yaml diff --git a/__tests__/bundle/sibling-refs-asyncapi/description.md b/tests/e2e/bundle/sibling-refs-asyncapi/description.md similarity index 100% rename from __tests__/bundle/sibling-refs-asyncapi/description.md rename to tests/e2e/bundle/sibling-refs-asyncapi/description.md diff --git a/__tests__/bundle/sibling-refs-asyncapi/redocly.yaml b/tests/e2e/bundle/sibling-refs-asyncapi/redocly.yaml similarity index 100% rename from __tests__/bundle/sibling-refs-asyncapi/redocly.yaml rename to tests/e2e/bundle/sibling-refs-asyncapi/redocly.yaml diff --git a/__tests__/bundle/sibling-refs-asyncapi/snapshot.txt b/tests/e2e/bundle/sibling-refs-asyncapi/snapshot.txt similarity index 100% rename from __tests__/bundle/sibling-refs-asyncapi/snapshot.txt rename to tests/e2e/bundle/sibling-refs-asyncapi/snapshot.txt diff --git a/__tests__/bundle/sibling-refs-asyncapi/summary.md b/tests/e2e/bundle/sibling-refs-asyncapi/summary.md similarity index 100% rename from __tests__/bundle/sibling-refs-asyncapi/summary.md rename to tests/e2e/bundle/sibling-refs-asyncapi/summary.md diff --git a/__tests__/bundle/sibling-refs-oas/description.md b/tests/e2e/bundle/sibling-refs-oas/description.md similarity index 100% rename from __tests__/bundle/sibling-refs-oas/description.md rename to tests/e2e/bundle/sibling-refs-oas/description.md diff --git a/__tests__/bundle/sibling-refs-oas/openapi.yaml b/tests/e2e/bundle/sibling-refs-oas/openapi.yaml similarity index 100% rename from __tests__/bundle/sibling-refs-oas/openapi.yaml rename to tests/e2e/bundle/sibling-refs-oas/openapi.yaml diff --git a/__tests__/bundle/sibling-refs-oas/redocly.yaml b/tests/e2e/bundle/sibling-refs-oas/redocly.yaml similarity index 100% rename from __tests__/bundle/sibling-refs-oas/redocly.yaml rename to tests/e2e/bundle/sibling-refs-oas/redocly.yaml diff --git a/__tests__/bundle/sibling-refs-oas/snapshot.txt b/tests/e2e/bundle/sibling-refs-oas/snapshot.txt similarity index 100% rename from __tests__/bundle/sibling-refs-oas/snapshot.txt rename to tests/e2e/bundle/sibling-refs-oas/snapshot.txt diff --git a/__tests__/bundle/sibling-refs-oas/summary.md b/tests/e2e/bundle/sibling-refs-oas/summary.md similarity index 100% rename from __tests__/bundle/sibling-refs-oas/summary.md rename to tests/e2e/bundle/sibling-refs-oas/summary.md diff --git a/__tests__/bundle/tag-description-override-error/main.yaml b/tests/e2e/bundle/tag-description-override-error/main.yaml similarity index 100% rename from __tests__/bundle/tag-description-override-error/main.yaml rename to tests/e2e/bundle/tag-description-override-error/main.yaml diff --git a/__tests__/bundle/tag-description-override-error/redocly.yaml b/tests/e2e/bundle/tag-description-override-error/redocly.yaml similarity index 100% rename from __tests__/bundle/tag-description-override-error/redocly.yaml rename to tests/e2e/bundle/tag-description-override-error/redocly.yaml diff --git a/__tests__/bundle/tag-description-override-error/snapshot.txt b/tests/e2e/bundle/tag-description-override-error/snapshot.txt similarity index 90% rename from __tests__/bundle/tag-description-override-error/snapshot.txt rename to tests/e2e/bundle/tag-description-override-error/snapshot.txt index d135d4bc8d..b4d2c8ce2d 100644 --- a/__tests__/bundle/tag-description-override-error/snapshot.txt +++ b/tests/e2e/bundle/tag-description-override-error/snapshot.txt @@ -1,7 +1,7 @@ [1] main.yaml:17:5 at #/tags/0 Failed to read markdown override file for tag "pet". -ENOENT: no such file or directory, open './__tests__/bundle/tag-description-override-error/non-existing.md' +ENOENT: no such file or directory, open './tests/e2e/bundle/tag-description-override-error/non-existing.md' 15 | email: email@redocly.com 16 | tags: diff --git a/__tests__/bundle/tag-description-override/main.yaml b/tests/e2e/bundle/tag-description-override/main.yaml similarity index 100% rename from __tests__/bundle/tag-description-override/main.yaml rename to tests/e2e/bundle/tag-description-override/main.yaml diff --git a/__tests__/bundle/tag-description-override/pet-tag-description.md b/tests/e2e/bundle/tag-description-override/pet-tag-description.md similarity index 100% rename from __tests__/bundle/tag-description-override/pet-tag-description.md rename to tests/e2e/bundle/tag-description-override/pet-tag-description.md diff --git a/__tests__/bundle/tag-description-override/redocly.yaml b/tests/e2e/bundle/tag-description-override/redocly.yaml similarity index 100% rename from __tests__/bundle/tag-description-override/redocly.yaml rename to tests/e2e/bundle/tag-description-override/redocly.yaml diff --git a/__tests__/bundle/tag-description-override/snapshot.txt b/tests/e2e/bundle/tag-description-override/snapshot.txt similarity index 100% rename from __tests__/bundle/tag-description-override/snapshot.txt rename to tests/e2e/bundle/tag-description-override/snapshot.txt diff --git a/__tests__/bundle/tag-description-override/store-tag-description.md b/tests/e2e/bundle/tag-description-override/store-tag-description.md similarity index 100% rename from __tests__/bundle/tag-description-override/store-tag-description.md rename to tests/e2e/bundle/tag-description-override/store-tag-description.md diff --git a/__tests__/check-config/config-type-extensions-in-assertions/openapi.yaml b/tests/e2e/check-config/config-type-extensions-in-assertions/openapi.yaml similarity index 100% rename from __tests__/check-config/config-type-extensions-in-assertions/openapi.yaml rename to tests/e2e/check-config/config-type-extensions-in-assertions/openapi.yaml diff --git a/__tests__/check-config/config-type-extensions-in-assertions/plugins/type-extention.cjs b/tests/e2e/check-config/config-type-extensions-in-assertions/plugins/type-extention.cjs similarity index 100% rename from __tests__/check-config/config-type-extensions-in-assertions/plugins/type-extention.cjs rename to tests/e2e/check-config/config-type-extensions-in-assertions/plugins/type-extention.cjs diff --git a/__tests__/check-config/config-type-extensions-in-assertions/redocly.yaml b/tests/e2e/check-config/config-type-extensions-in-assertions/redocly.yaml similarity index 100% rename from __tests__/check-config/config-type-extensions-in-assertions/redocly.yaml rename to tests/e2e/check-config/config-type-extensions-in-assertions/redocly.yaml diff --git a/__tests__/check-config/config-type-extensions-in-assertions/snapshot.txt b/tests/e2e/check-config/config-type-extensions-in-assertions/snapshot.txt similarity index 100% rename from __tests__/check-config/config-type-extensions-in-assertions/snapshot.txt rename to tests/e2e/check-config/config-type-extensions-in-assertions/snapshot.txt diff --git a/__tests__/check-config/empty-config-null/redocly.yaml b/tests/e2e/check-config/empty-config-null/redocly.yaml similarity index 100% rename from __tests__/check-config/empty-config-null/redocly.yaml rename to tests/e2e/check-config/empty-config-null/redocly.yaml diff --git a/__tests__/check-config/empty-config-null/snapshot.txt b/tests/e2e/check-config/empty-config-null/snapshot.txt similarity index 100% rename from __tests__/check-config/empty-config-null/snapshot.txt rename to tests/e2e/check-config/empty-config-null/snapshot.txt diff --git a/__tests__/check-config/invalid-config--lint-config-error/redocly.yaml b/tests/e2e/check-config/invalid-config--lint-config-error/redocly.yaml similarity index 100% rename from __tests__/check-config/invalid-config--lint-config-error/redocly.yaml rename to tests/e2e/check-config/invalid-config--lint-config-error/redocly.yaml diff --git a/__tests__/check-config/invalid-config--lint-config-error/snapshot.txt b/tests/e2e/check-config/invalid-config--lint-config-error/snapshot.txt similarity index 100% rename from __tests__/check-config/invalid-config--lint-config-error/snapshot.txt rename to tests/e2e/check-config/invalid-config--lint-config-error/snapshot.txt diff --git a/__tests__/check-config/invalid-config--lint-config-warn/redocly.yaml b/tests/e2e/check-config/invalid-config--lint-config-warn/redocly.yaml similarity index 100% rename from __tests__/check-config/invalid-config--lint-config-warn/redocly.yaml rename to tests/e2e/check-config/invalid-config--lint-config-warn/redocly.yaml diff --git a/__tests__/check-config/invalid-config--lint-config-warn/snapshot.txt b/tests/e2e/check-config/invalid-config--lint-config-warn/snapshot.txt similarity index 100% rename from __tests__/check-config/invalid-config--lint-config-warn/snapshot.txt rename to tests/e2e/check-config/invalid-config--lint-config-warn/snapshot.txt diff --git a/__tests__/check-config/invalid-config--no-option/redocly.yaml b/tests/e2e/check-config/invalid-config--no-option/redocly.yaml similarity index 100% rename from __tests__/check-config/invalid-config--no-option/redocly.yaml rename to tests/e2e/check-config/invalid-config--no-option/redocly.yaml diff --git a/__tests__/check-config/invalid-config--no-option/snapshot.txt b/tests/e2e/check-config/invalid-config--no-option/snapshot.txt similarity index 100% rename from __tests__/check-config/invalid-config--no-option/snapshot.txt rename to tests/e2e/check-config/invalid-config--no-option/snapshot.txt diff --git a/__tests__/check-config/valid-config-with-config-option/nested/redocly.yaml b/tests/e2e/check-config/valid-config-with-config-option/nested/redocly.yaml similarity index 100% rename from __tests__/check-config/valid-config-with-config-option/nested/redocly.yaml rename to tests/e2e/check-config/valid-config-with-config-option/nested/redocly.yaml diff --git a/__tests__/check-config/valid-config-with-config-option/snapshot.txt b/tests/e2e/check-config/valid-config-with-config-option/snapshot.txt similarity index 100% rename from __tests__/check-config/valid-config-with-config-option/snapshot.txt rename to tests/e2e/check-config/valid-config-with-config-option/snapshot.txt diff --git a/__tests__/check-config/valid-config/redocly.yaml b/tests/e2e/check-config/valid-config/redocly.yaml similarity index 100% rename from __tests__/check-config/valid-config/redocly.yaml rename to tests/e2e/check-config/valid-config/redocly.yaml diff --git a/__tests__/check-config/valid-config/snapshot.txt b/tests/e2e/check-config/valid-config/snapshot.txt similarity index 100% rename from __tests__/check-config/valid-config/snapshot.txt rename to tests/e2e/check-config/valid-config/snapshot.txt diff --git a/__tests__/check-config/wrong-config-type-extensions-in-assertions/openapi.yaml b/tests/e2e/check-config/wrong-config-type-extensions-in-assertions/openapi.yaml similarity index 100% rename from __tests__/check-config/wrong-config-type-extensions-in-assertions/openapi.yaml rename to tests/e2e/check-config/wrong-config-type-extensions-in-assertions/openapi.yaml diff --git a/__tests__/check-config/wrong-config-type-extensions-in-assertions/plugins/type-extention.cjs b/tests/e2e/check-config/wrong-config-type-extensions-in-assertions/plugins/type-extention.cjs similarity index 100% rename from __tests__/check-config/wrong-config-type-extensions-in-assertions/plugins/type-extention.cjs rename to tests/e2e/check-config/wrong-config-type-extensions-in-assertions/plugins/type-extention.cjs diff --git a/__tests__/check-config/wrong-config-type-extensions-in-assertions/redocly.yaml b/tests/e2e/check-config/wrong-config-type-extensions-in-assertions/redocly.yaml similarity index 100% rename from __tests__/check-config/wrong-config-type-extensions-in-assertions/redocly.yaml rename to tests/e2e/check-config/wrong-config-type-extensions-in-assertions/redocly.yaml diff --git a/__tests__/check-config/wrong-config-type-extensions-in-assertions/snapshot.txt b/tests/e2e/check-config/wrong-config-type-extensions-in-assertions/snapshot.txt similarity index 100% rename from __tests__/check-config/wrong-config-type-extensions-in-assertions/snapshot.txt rename to tests/e2e/check-config/wrong-config-type-extensions-in-assertions/snapshot.txt diff --git a/__tests__/commands.test.ts b/tests/e2e/commands.test.ts similarity index 98% rename from __tests__/commands.test.ts rename to tests/e2e/commands.test.ts index b84ac18a65..e78ab446d6 100644 --- a/__tests__/commands.test.ts +++ b/tests/e2e/commands.test.ts @@ -290,10 +290,7 @@ describe('E2E', () => { test('without option: outDir', async () => { const testPath = join(__dirname, `split/missing-outDir`); - const args = getParams(indexEntryPoint, [ - 'split', - '../../../__tests__/split/test-split/spec.json', - ]); + const args = getParams(indexEntryPoint, ['split', '../test-split/spec.json']); const result = getCommandOutput(args, {}, { testPath }); await expect(cleanupOutput(result)).toMatchFileSnapshot(join(testPath, 'snapshot.txt')); @@ -302,11 +299,7 @@ describe('E2E', () => { test('swagger', async () => { const testPath = join(__dirname, `split/oas2`); - const args = getParams(indexEntryPoint, [ - 'split', - '../../../__tests__/split/oas2/openapi.yaml', - '--outDir=output', - ]); + const args = getParams(indexEntryPoint, ['split', 'openapi.yaml', '--outDir=output']); const result = getCommandOutput(args, {}, { testPath }); await expect(cleanupOutput(result)).toMatchFileSnapshot(join(testPath, 'snapshot.txt')); @@ -314,7 +307,7 @@ describe('E2E', () => { test('openapi with no errors', async () => { const testPath = join(__dirname, `split/oas3-no-errors`); - const file = '../../../__tests__/split/oas3-no-errors/openapi.yaml'; + const file = 'openapi.yaml'; const args = getParams(indexEntryPoint, ['split', file, '--outDir=output']); @@ -324,7 +317,7 @@ describe('E2E', () => { test('with separator: /', async () => { const testPath = join(__dirname, `split/slash-separator`); - const file = '../../../__tests__/split/slash-separator/openapi.yaml'; + const file = 'openapi.yaml'; const args = getParams(indexEntryPoint, ['split', file, '--separator=/', '--outDir=output']); @@ -334,7 +327,7 @@ describe('E2E', () => { test('openapi json file', async () => { const testPath = join(__dirname, `split/openapi-json-file`); - const file = '../../../__tests__/split/openapi-json-file/openapi.json'; + const file = 'openapi.json'; const args = getParams(indexEntryPoint, ['split', file, '--outDir=output']); @@ -344,7 +337,7 @@ describe('E2E', () => { test('openapi json file refs validation', async () => { const testPath = join(__dirname, `split/refs-in-json`); - const file = '../../../__tests__/split/refs-in-json/openapi.json'; + const file = 'openapi.json'; const args = getParams(indexEntryPoint, ['split', file, '--outDir=output']); @@ -365,7 +358,7 @@ describe('E2E', () => { test('openapi json file with discriminator', async () => { const testPath = join(__dirname, `split/discriminator-in-json`); - const file = '../../../__tests__/split/discriminator-in-json/openapi.json'; + const file = 'openapi.json'; const args = getParams(indexEntryPoint, ['split', file, '--outDir=output']); diff --git a/__tests__/fixtures/constructor-property/openapi.yaml b/tests/e2e/fixtures/constructor-property/openapi.yaml similarity index 100% rename from __tests__/fixtures/constructor-property/openapi.yaml rename to tests/e2e/fixtures/constructor-property/openapi.yaml diff --git a/__tests__/fixtures/constructor-property/snapshot.txt b/tests/e2e/fixtures/constructor-property/snapshot.txt similarity index 100% rename from __tests__/fixtures/constructor-property/snapshot.txt rename to tests/e2e/fixtures/constructor-property/snapshot.txt diff --git a/__tests__/helpers.ts b/tests/e2e/helpers.ts similarity index 92% rename from __tests__/helpers.ts rename to tests/e2e/helpers.ts index 61ae155087..dd2428f752 100644 --- a/__tests__/helpers.ts +++ b/tests/e2e/helpers.ts @@ -1,7 +1,7 @@ import { readFileSync } from 'node:fs'; import { join } from 'node:path'; import { spawnSync } from 'node:child_process'; -import { parseYaml } from '../packages/core/src/utils/yaml-fs-helper.js'; // not able to import from @redocly/openapi-core +import { parseYaml } from '../../packages/core/src/utils/yaml-fs-helper.js'; // not able to import from @redocly/openapi-core export function getParams(indexEntryPoint: string, args: string[] = []): string[] { return [indexEntryPoint, ...args]; diff --git a/__tests__/join/fails-if-component-conflicts/bar.yaml b/tests/e2e/join/fails-if-component-conflicts/bar.yaml similarity index 100% rename from __tests__/join/fails-if-component-conflicts/bar.yaml rename to tests/e2e/join/fails-if-component-conflicts/bar.yaml diff --git a/__tests__/join/fails-if-component-conflicts/foo.yaml b/tests/e2e/join/fails-if-component-conflicts/foo.yaml similarity index 100% rename from __tests__/join/fails-if-component-conflicts/foo.yaml rename to tests/e2e/join/fails-if-component-conflicts/foo.yaml diff --git a/__tests__/join/fails-if-component-conflicts/snapshot.txt b/tests/e2e/join/fails-if-component-conflicts/snapshot.txt similarity index 100% rename from __tests__/join/fails-if-component-conflicts/snapshot.txt rename to tests/e2e/join/fails-if-component-conflicts/snapshot.txt diff --git a/__tests__/join/fails-if-no-info-section/bar.yaml b/tests/e2e/join/fails-if-no-info-section/bar.yaml similarity index 100% rename from __tests__/join/fails-if-no-info-section/bar.yaml rename to tests/e2e/join/fails-if-no-info-section/bar.yaml diff --git a/__tests__/join/fails-if-no-info-section/foo.yaml b/tests/e2e/join/fails-if-no-info-section/foo.yaml similarity index 100% rename from __tests__/join/fails-if-no-info-section/foo.yaml rename to tests/e2e/join/fails-if-no-info-section/foo.yaml diff --git a/__tests__/join/fails-if-no-info-section/snapshot.txt b/tests/e2e/join/fails-if-no-info-section/snapshot.txt similarity index 100% rename from __tests__/join/fails-if-no-info-section/snapshot.txt rename to tests/e2e/join/fails-if-no-info-section/snapshot.txt diff --git a/__tests__/join/fails-if-tags-duplication/bar.yaml b/tests/e2e/join/fails-if-tags-duplication/bar.yaml similarity index 100% rename from __tests__/join/fails-if-tags-duplication/bar.yaml rename to tests/e2e/join/fails-if-tags-duplication/bar.yaml diff --git a/__tests__/join/fails-if-tags-duplication/foo.yaml b/tests/e2e/join/fails-if-tags-duplication/foo.yaml similarity index 100% rename from __tests__/join/fails-if-tags-duplication/foo.yaml rename to tests/e2e/join/fails-if-tags-duplication/foo.yaml diff --git a/__tests__/join/fails-if-tags-duplication/snapshot.txt b/tests/e2e/join/fails-if-tags-duplication/snapshot.txt similarity index 100% rename from __tests__/join/fails-if-tags-duplication/snapshot.txt rename to tests/e2e/join/fails-if-tags-duplication/snapshot.txt diff --git a/__tests__/join/ignore-decorators/bar.yaml b/tests/e2e/join/ignore-decorators/bar.yaml similarity index 100% rename from __tests__/join/ignore-decorators/bar.yaml rename to tests/e2e/join/ignore-decorators/bar.yaml diff --git a/__tests__/join/ignore-decorators/foo.yaml b/tests/e2e/join/ignore-decorators/foo.yaml similarity index 100% rename from __tests__/join/ignore-decorators/foo.yaml rename to tests/e2e/join/ignore-decorators/foo.yaml diff --git a/__tests__/join/ignore-decorators/redocly.yaml b/tests/e2e/join/ignore-decorators/redocly.yaml similarity index 100% rename from __tests__/join/ignore-decorators/redocly.yaml rename to tests/e2e/join/ignore-decorators/redocly.yaml diff --git a/__tests__/join/ignore-decorators/snapshot.txt b/tests/e2e/join/ignore-decorators/snapshot.txt similarity index 100% rename from __tests__/join/ignore-decorators/snapshot.txt rename to tests/e2e/join/ignore-decorators/snapshot.txt diff --git a/__tests__/join/json-and-yaml-input/bar.yaml b/tests/e2e/join/json-and-yaml-input/bar.yaml similarity index 100% rename from __tests__/join/json-and-yaml-input/bar.yaml rename to tests/e2e/join/json-and-yaml-input/bar.yaml diff --git a/__tests__/join/json-and-yaml-input/foo.json b/tests/e2e/join/json-and-yaml-input/foo.json similarity index 100% rename from __tests__/join/json-and-yaml-input/foo.json rename to tests/e2e/join/json-and-yaml-input/foo.json diff --git a/__tests__/join/json-and-yaml-input/json-output.snapshot.txt b/tests/e2e/join/json-and-yaml-input/json-output.snapshot.txt similarity index 100% rename from __tests__/join/json-and-yaml-input/json-output.snapshot.txt rename to tests/e2e/join/json-and-yaml-input/json-output.snapshot.txt diff --git a/__tests__/join/json-and-yaml-input/yaml-output.snapshot.txt b/tests/e2e/join/json-and-yaml-input/yaml-output.snapshot.txt similarity index 100% rename from __tests__/join/json-and-yaml-input/yaml-output.snapshot.txt rename to tests/e2e/join/json-and-yaml-input/yaml-output.snapshot.txt diff --git a/__tests__/join/multi-references-to-one-file/bar.yaml b/tests/e2e/join/multi-references-to-one-file/bar.yaml similarity index 100% rename from __tests__/join/multi-references-to-one-file/bar.yaml rename to tests/e2e/join/multi-references-to-one-file/bar.yaml diff --git a/__tests__/join/multi-references-to-one-file/foo.yaml b/tests/e2e/join/multi-references-to-one-file/foo.yaml similarity index 100% rename from __tests__/join/multi-references-to-one-file/foo.yaml rename to tests/e2e/join/multi-references-to-one-file/foo.yaml diff --git a/__tests__/join/multi-references-to-one-file/nested/FooObject.yaml b/tests/e2e/join/multi-references-to-one-file/nested/FooObject.yaml similarity index 100% rename from __tests__/join/multi-references-to-one-file/nested/FooObject.yaml rename to tests/e2e/join/multi-references-to-one-file/nested/FooObject.yaml diff --git a/__tests__/join/multi-references-to-one-file/nested/Response.yaml b/tests/e2e/join/multi-references-to-one-file/nested/Response.yaml similarity index 100% rename from __tests__/join/multi-references-to-one-file/nested/Response.yaml rename to tests/e2e/join/multi-references-to-one-file/nested/Response.yaml diff --git a/__tests__/join/multi-references-to-one-file/openapi.yaml b/tests/e2e/join/multi-references-to-one-file/openapi.yaml similarity index 100% rename from __tests__/join/multi-references-to-one-file/openapi.yaml rename to tests/e2e/join/multi-references-to-one-file/openapi.yaml diff --git a/__tests__/join/multi-references-to-one-file/snapshot.txt b/tests/e2e/join/multi-references-to-one-file/snapshot.txt similarity index 100% rename from __tests__/join/multi-references-to-one-file/snapshot.txt rename to tests/e2e/join/multi-references-to-one-file/snapshot.txt diff --git a/__tests__/join/multiple-tags-in-same-files/bar.yaml b/tests/e2e/join/multiple-tags-in-same-files/bar.yaml similarity index 100% rename from __tests__/join/multiple-tags-in-same-files/bar.yaml rename to tests/e2e/join/multiple-tags-in-same-files/bar.yaml diff --git a/__tests__/join/multiple-tags-in-same-files/foo.yaml b/tests/e2e/join/multiple-tags-in-same-files/foo.yaml similarity index 100% rename from __tests__/join/multiple-tags-in-same-files/foo.yaml rename to tests/e2e/join/multiple-tags-in-same-files/foo.yaml diff --git a/__tests__/join/multiple-tags-in-same-files/snapshot.txt b/tests/e2e/join/multiple-tags-in-same-files/snapshot.txt similarity index 100% rename from __tests__/join/multiple-tags-in-same-files/snapshot.txt rename to tests/e2e/join/multiple-tags-in-same-files/snapshot.txt diff --git a/__tests__/join/oas3.2/bar.yaml b/tests/e2e/join/oas3.2/bar.yaml similarity index 100% rename from __tests__/join/oas3.2/bar.yaml rename to tests/e2e/join/oas3.2/bar.yaml diff --git a/__tests__/join/oas3.2/foo.yaml b/tests/e2e/join/oas3.2/foo.yaml similarity index 100% rename from __tests__/join/oas3.2/foo.yaml rename to tests/e2e/join/oas3.2/foo.yaml diff --git a/__tests__/join/oas3.2/snapshot.txt b/tests/e2e/join/oas3.2/snapshot.txt similarity index 100% rename from __tests__/join/oas3.2/snapshot.txt rename to tests/e2e/join/oas3.2/snapshot.txt diff --git a/__tests__/join/prefix-components-with-info-prop/bar.yaml b/tests/e2e/join/prefix-components-with-info-prop/bar.yaml similarity index 100% rename from __tests__/join/prefix-components-with-info-prop/bar.yaml rename to tests/e2e/join/prefix-components-with-info-prop/bar.yaml diff --git a/__tests__/join/prefix-components-with-info-prop/foo.yaml b/tests/e2e/join/prefix-components-with-info-prop/foo.yaml similarity index 100% rename from __tests__/join/prefix-components-with-info-prop/foo.yaml rename to tests/e2e/join/prefix-components-with-info-prop/foo.yaml diff --git a/__tests__/join/prefix-components-with-info-prop/snapshot.txt b/tests/e2e/join/prefix-components-with-info-prop/snapshot.txt similarity index 100% rename from __tests__/join/prefix-components-with-info-prop/snapshot.txt rename to tests/e2e/join/prefix-components-with-info-prop/snapshot.txt diff --git a/__tests__/join/prefix-tags-with-filename/bar.yaml b/tests/e2e/join/prefix-tags-with-filename/bar.yaml similarity index 100% rename from __tests__/join/prefix-tags-with-filename/bar.yaml rename to tests/e2e/join/prefix-tags-with-filename/bar.yaml diff --git a/__tests__/join/prefix-tags-with-filename/foo.yaml b/tests/e2e/join/prefix-tags-with-filename/foo.yaml similarity index 100% rename from __tests__/join/prefix-tags-with-filename/foo.yaml rename to tests/e2e/join/prefix-tags-with-filename/foo.yaml diff --git a/__tests__/join/prefix-tags-with-filename/snapshot.txt b/tests/e2e/join/prefix-tags-with-filename/snapshot.txt similarity index 100% rename from __tests__/join/prefix-tags-with-filename/snapshot.txt rename to tests/e2e/join/prefix-tags-with-filename/snapshot.txt diff --git a/__tests__/join/prefix-tags-with-info-prop/bar.yaml b/tests/e2e/join/prefix-tags-with-info-prop/bar.yaml similarity index 100% rename from __tests__/join/prefix-tags-with-info-prop/bar.yaml rename to tests/e2e/join/prefix-tags-with-info-prop/bar.yaml diff --git a/__tests__/join/prefix-tags-with-info-prop/foo.yaml b/tests/e2e/join/prefix-tags-with-info-prop/foo.yaml similarity index 100% rename from __tests__/join/prefix-tags-with-info-prop/foo.yaml rename to tests/e2e/join/prefix-tags-with-info-prop/foo.yaml diff --git a/__tests__/join/prefix-tags-with-info-prop/snapshot.txt b/tests/e2e/join/prefix-tags-with-info-prop/snapshot.txt similarity index 100% rename from __tests__/join/prefix-tags-with-info-prop/snapshot.txt rename to tests/e2e/join/prefix-tags-with-info-prop/snapshot.txt diff --git a/__tests__/join/reference-in-description/bar.yaml b/tests/e2e/join/reference-in-description/bar.yaml similarity index 100% rename from __tests__/join/reference-in-description/bar.yaml rename to tests/e2e/join/reference-in-description/bar.yaml diff --git a/__tests__/join/reference-in-description/description.md b/tests/e2e/join/reference-in-description/description.md similarity index 100% rename from __tests__/join/reference-in-description/description.md rename to tests/e2e/join/reference-in-description/description.md diff --git a/__tests__/join/reference-in-description/foo.yaml b/tests/e2e/join/reference-in-description/foo.yaml similarity index 100% rename from __tests__/join/reference-in-description/foo.yaml rename to tests/e2e/join/reference-in-description/foo.yaml diff --git a/__tests__/join/reference-in-description/snapshot.txt b/tests/e2e/join/reference-in-description/snapshot.txt similarity index 100% rename from __tests__/join/reference-in-description/snapshot.txt rename to tests/e2e/join/reference-in-description/snapshot.txt diff --git a/__tests__/join/references-in-parameters/bar.yaml b/tests/e2e/join/references-in-parameters/bar.yaml similarity index 100% rename from __tests__/join/references-in-parameters/bar.yaml rename to tests/e2e/join/references-in-parameters/bar.yaml diff --git a/__tests__/join/references-in-parameters/foo.yaml b/tests/e2e/join/references-in-parameters/foo.yaml similarity index 100% rename from __tests__/join/references-in-parameters/foo.yaml rename to tests/e2e/join/references-in-parameters/foo.yaml diff --git a/__tests__/join/references-in-parameters/snapshot.txt b/tests/e2e/join/references-in-parameters/snapshot.txt similarity index 100% rename from __tests__/join/references-in-parameters/snapshot.txt rename to tests/e2e/join/references-in-parameters/snapshot.txt diff --git a/__tests__/join/three-files-one-without-servers/bar.yaml b/tests/e2e/join/three-files-one-without-servers/bar.yaml similarity index 100% rename from __tests__/join/three-files-one-without-servers/bar.yaml rename to tests/e2e/join/three-files-one-without-servers/bar.yaml diff --git a/__tests__/join/three-files-one-without-servers/baz.yaml b/tests/e2e/join/three-files-one-without-servers/baz.yaml similarity index 100% rename from __tests__/join/three-files-one-without-servers/baz.yaml rename to tests/e2e/join/three-files-one-without-servers/baz.yaml diff --git a/__tests__/join/three-files-one-without-servers/foo.yaml b/tests/e2e/join/three-files-one-without-servers/foo.yaml similarity index 100% rename from __tests__/join/three-files-one-without-servers/foo.yaml rename to tests/e2e/join/three-files-one-without-servers/foo.yaml diff --git a/__tests__/join/three-files-one-without-servers/snapshot.txt b/tests/e2e/join/three-files-one-without-servers/snapshot.txt similarity index 100% rename from __tests__/join/three-files-one-without-servers/snapshot.txt rename to tests/e2e/join/three-files-one-without-servers/snapshot.txt diff --git a/__tests__/join/two-files-with-no-errors/bar.yaml b/tests/e2e/join/two-files-with-no-errors/bar.yaml similarity index 100% rename from __tests__/join/two-files-with-no-errors/bar.yaml rename to tests/e2e/join/two-files-with-no-errors/bar.yaml diff --git a/__tests__/join/two-files-with-no-errors/foo.yaml b/tests/e2e/join/two-files-with-no-errors/foo.yaml similarity index 100% rename from __tests__/join/two-files-with-no-errors/foo.yaml rename to tests/e2e/join/two-files-with-no-errors/foo.yaml diff --git a/__tests__/join/two-files-with-no-errors/snapshot.txt b/tests/e2e/join/two-files-with-no-errors/snapshot.txt similarity index 100% rename from __tests__/join/two-files-with-no-errors/snapshot.txt rename to tests/e2e/join/two-files-with-no-errors/snapshot.txt diff --git a/__tests__/join/with-metadata/pet.yaml b/tests/e2e/join/with-metadata/pet.yaml similarity index 100% rename from __tests__/join/with-metadata/pet.yaml rename to tests/e2e/join/with-metadata/pet.yaml diff --git a/__tests__/join/with-metadata/snapshot.txt b/tests/e2e/join/with-metadata/snapshot.txt similarity index 100% rename from __tests__/join/with-metadata/snapshot.txt rename to tests/e2e/join/with-metadata/snapshot.txt diff --git a/__tests__/join/with-metadata/test.yaml b/tests/e2e/join/with-metadata/test.yaml similarity index 100% rename from __tests__/join/with-metadata/test.yaml rename to tests/e2e/join/with-metadata/test.yaml diff --git a/__tests__/join/without-x-tag-groups/bar.yaml b/tests/e2e/join/without-x-tag-groups/bar.yaml similarity index 100% rename from __tests__/join/without-x-tag-groups/bar.yaml rename to tests/e2e/join/without-x-tag-groups/bar.yaml diff --git a/__tests__/join/without-x-tag-groups/foo.yaml b/tests/e2e/join/without-x-tag-groups/foo.yaml similarity index 100% rename from __tests__/join/without-x-tag-groups/foo.yaml rename to tests/e2e/join/without-x-tag-groups/foo.yaml diff --git a/__tests__/join/without-x-tag-groups/snapshot.txt b/tests/e2e/join/without-x-tag-groups/snapshot.txt similarity index 100% rename from __tests__/join/without-x-tag-groups/snapshot.txt rename to tests/e2e/join/without-x-tag-groups/snapshot.txt diff --git a/__tests__/join/yaml-input-and-json-output/bar.yaml b/tests/e2e/join/yaml-input-and-json-output/bar.yaml similarity index 100% rename from __tests__/join/yaml-input-and-json-output/bar.yaml rename to tests/e2e/join/yaml-input-and-json-output/bar.yaml diff --git a/__tests__/join/yaml-input-and-json-output/foo.yaml b/tests/e2e/join/yaml-input-and-json-output/foo.yaml similarity index 100% rename from __tests__/join/yaml-input-and-json-output/foo.yaml rename to tests/e2e/join/yaml-input-and-json-output/foo.yaml diff --git a/__tests__/join/yaml-input-and-json-output/snapshot.txt b/tests/e2e/join/yaml-input-and-json-output/snapshot.txt similarity index 100% rename from __tests__/join/yaml-input-and-json-output/snapshot.txt rename to tests/e2e/join/yaml-input-and-json-output/snapshot.txt diff --git a/__tests__/lint-config/__fixtures__/invalid-openapi.yaml b/tests/e2e/lint-config/__fixtures__/invalid-openapi.yaml similarity index 100% rename from __tests__/lint-config/__fixtures__/invalid-openapi.yaml rename to tests/e2e/lint-config/__fixtures__/invalid-openapi.yaml diff --git a/__tests__/lint-config/__fixtures__/valid-openapi.yaml b/tests/e2e/lint-config/__fixtures__/valid-openapi.yaml similarity index 100% rename from __tests__/lint-config/__fixtures__/valid-openapi.yaml rename to tests/e2e/lint-config/__fixtures__/valid-openapi.yaml diff --git a/__tests__/lint-config/config-structure/env.yaml b/tests/e2e/lint-config/config-structure/env.yaml similarity index 100% rename from __tests__/lint-config/config-structure/env.yaml rename to tests/e2e/lint-config/config-structure/env.yaml diff --git a/__tests__/lint-config/config-structure/redocly.yaml b/tests/e2e/lint-config/config-structure/redocly.yaml similarity index 100% rename from __tests__/lint-config/config-structure/redocly.yaml rename to tests/e2e/lint-config/config-structure/redocly.yaml diff --git a/__tests__/lint-config/config-structure/snapshot.txt b/tests/e2e/lint-config/config-structure/snapshot.txt similarity index 100% rename from __tests__/lint-config/config-structure/snapshot.txt rename to tests/e2e/lint-config/config-structure/snapshot.txt diff --git a/__tests__/lint-config/config-with-refs-extended/apis.yaml b/tests/e2e/lint-config/config-with-refs-extended/apis.yaml similarity index 100% rename from __tests__/lint-config/config-with-refs-extended/apis.yaml rename to tests/e2e/lint-config/config-with-refs-extended/apis.yaml diff --git a/__tests__/lint-config/config-with-refs-extended/redocly.yaml b/tests/e2e/lint-config/config-with-refs-extended/redocly.yaml similarity index 100% rename from __tests__/lint-config/config-with-refs-extended/redocly.yaml rename to tests/e2e/lint-config/config-with-refs-extended/redocly.yaml diff --git a/__tests__/lint-config/config-with-refs-extended/rules.yaml b/tests/e2e/lint-config/config-with-refs-extended/rules.yaml similarity index 100% rename from __tests__/lint-config/config-with-refs-extended/rules.yaml rename to tests/e2e/lint-config/config-with-refs-extended/rules.yaml diff --git a/__tests__/lint-config/config-with-refs-extended/seo.yaml b/tests/e2e/lint-config/config-with-refs-extended/seo.yaml similarity index 100% rename from __tests__/lint-config/config-with-refs-extended/seo.yaml rename to tests/e2e/lint-config/config-with-refs-extended/seo.yaml diff --git a/__tests__/lint-config/config-with-refs-extended/snapshot.txt b/tests/e2e/lint-config/config-with-refs-extended/snapshot.txt similarity index 100% rename from __tests__/lint-config/config-with-refs-extended/snapshot.txt rename to tests/e2e/lint-config/config-with-refs-extended/snapshot.txt diff --git a/__tests__/lint-config/config-with-refs-extended/theme-openapi.yaml b/tests/e2e/lint-config/config-with-refs-extended/theme-openapi.yaml similarity index 100% rename from __tests__/lint-config/config-with-refs-extended/theme-openapi.yaml rename to tests/e2e/lint-config/config-with-refs-extended/theme-openapi.yaml diff --git a/__tests__/lint-config/config-with-refs-extended/v1.yaml b/tests/e2e/lint-config/config-with-refs-extended/v1.yaml similarity index 100% rename from __tests__/lint-config/config-with-refs-extended/v1.yaml rename to tests/e2e/lint-config/config-with-refs-extended/v1.yaml diff --git a/__tests__/lint-config/config-with-refs/redocly.yaml b/tests/e2e/lint-config/config-with-refs/redocly.yaml similarity index 100% rename from __tests__/lint-config/config-with-refs/redocly.yaml rename to tests/e2e/lint-config/config-with-refs/redocly.yaml diff --git a/__tests__/lint-config/config-with-refs/rules.yaml b/tests/e2e/lint-config/config-with-refs/rules.yaml similarity index 100% rename from __tests__/lint-config/config-with-refs/rules.yaml rename to tests/e2e/lint-config/config-with-refs/rules.yaml diff --git a/__tests__/lint-config/config-with-refs/snapshot.txt b/tests/e2e/lint-config/config-with-refs/snapshot.txt similarity index 100% rename from __tests__/lint-config/config-with-refs/snapshot.txt rename to tests/e2e/lint-config/config-with-refs/snapshot.txt diff --git a/__tests__/lint-config/config-with-refs/theme-openapi.yaml b/tests/e2e/lint-config/config-with-refs/theme-openapi.yaml similarity index 100% rename from __tests__/lint-config/config-with-refs/theme-openapi.yaml rename to tests/e2e/lint-config/config-with-refs/theme-openapi.yaml diff --git a/__tests__/lint-config/invalid-config--lint-config-error/redocly.yaml b/tests/e2e/lint-config/invalid-config--lint-config-error/redocly.yaml similarity index 100% rename from __tests__/lint-config/invalid-config--lint-config-error/redocly.yaml rename to tests/e2e/lint-config/invalid-config--lint-config-error/redocly.yaml diff --git a/__tests__/lint-config/invalid-config--lint-config-error/snapshot.txt b/tests/e2e/lint-config/invalid-config--lint-config-error/snapshot.txt similarity index 100% rename from __tests__/lint-config/invalid-config--lint-config-error/snapshot.txt rename to tests/e2e/lint-config/invalid-config--lint-config-error/snapshot.txt diff --git a/__tests__/lint-config/invalid-config--lint-config-off/redocly.yaml b/tests/e2e/lint-config/invalid-config--lint-config-off/redocly.yaml similarity index 100% rename from __tests__/lint-config/invalid-config--lint-config-off/redocly.yaml rename to tests/e2e/lint-config/invalid-config--lint-config-off/redocly.yaml diff --git a/__tests__/lint-config/invalid-config--lint-config-off/snapshot.txt b/tests/e2e/lint-config/invalid-config--lint-config-off/snapshot.txt similarity index 100% rename from __tests__/lint-config/invalid-config--lint-config-off/snapshot.txt rename to tests/e2e/lint-config/invalid-config--lint-config-off/snapshot.txt diff --git a/__tests__/lint-config/invalid-config--lint-config-warn/redocly.yaml b/tests/e2e/lint-config/invalid-config--lint-config-warn/redocly.yaml similarity index 100% rename from __tests__/lint-config/invalid-config--lint-config-warn/redocly.yaml rename to tests/e2e/lint-config/invalid-config--lint-config-warn/redocly.yaml diff --git a/__tests__/lint-config/invalid-config--lint-config-warn/snapshot.txt b/tests/e2e/lint-config/invalid-config--lint-config-warn/snapshot.txt similarity index 100% rename from __tests__/lint-config/invalid-config--lint-config-warn/snapshot.txt rename to tests/e2e/lint-config/invalid-config--lint-config-warn/snapshot.txt diff --git a/__tests__/lint-config/invalid-config--no-option/redocly.yaml b/tests/e2e/lint-config/invalid-config--no-option/redocly.yaml similarity index 100% rename from __tests__/lint-config/invalid-config--no-option/redocly.yaml rename to tests/e2e/lint-config/invalid-config--no-option/redocly.yaml diff --git a/__tests__/lint-config/invalid-config--no-option/snapshot.txt b/tests/e2e/lint-config/invalid-config--no-option/snapshot.txt similarity index 100% rename from __tests__/lint-config/invalid-config--no-option/snapshot.txt rename to tests/e2e/lint-config/invalid-config--no-option/snapshot.txt diff --git a/__tests__/lint-config/invalid-config-assertation-config-type/redocly.yaml b/tests/e2e/lint-config/invalid-config-assertation-config-type/redocly.yaml similarity index 100% rename from __tests__/lint-config/invalid-config-assertation-config-type/redocly.yaml rename to tests/e2e/lint-config/invalid-config-assertation-config-type/redocly.yaml diff --git a/__tests__/lint-config/invalid-config-assertation-config-type/snapshot.txt b/tests/e2e/lint-config/invalid-config-assertation-config-type/snapshot.txt similarity index 100% rename from __tests__/lint-config/invalid-config-assertation-config-type/snapshot.txt rename to tests/e2e/lint-config/invalid-config-assertation-config-type/snapshot.txt diff --git a/__tests__/lint-config/invalid-config-assertation-name/redocly.yaml b/tests/e2e/lint-config/invalid-config-assertation-name/redocly.yaml similarity index 100% rename from __tests__/lint-config/invalid-config-assertation-name/redocly.yaml rename to tests/e2e/lint-config/invalid-config-assertation-name/redocly.yaml diff --git a/__tests__/lint-config/invalid-config-assertation-name/snapshot.txt b/tests/e2e/lint-config/invalid-config-assertation-name/snapshot.txt similarity index 100% rename from __tests__/lint-config/invalid-config-assertation-name/snapshot.txt rename to tests/e2e/lint-config/invalid-config-assertation-name/snapshot.txt diff --git a/__tests__/lint-config/invalid-config-format-json/redocly.yaml b/tests/e2e/lint-config/invalid-config-format-json/redocly.yaml similarity index 100% rename from __tests__/lint-config/invalid-config-format-json/redocly.yaml rename to tests/e2e/lint-config/invalid-config-format-json/redocly.yaml diff --git a/__tests__/lint-config/invalid-config-format-json/snapshot.txt b/tests/e2e/lint-config/invalid-config-format-json/snapshot.txt similarity index 100% rename from __tests__/lint-config/invalid-config-format-json/snapshot.txt rename to tests/e2e/lint-config/invalid-config-format-json/snapshot.txt diff --git a/__tests__/lint-config/invalid-definition-and-config/config-with-error.snapshot.txt b/tests/e2e/lint-config/invalid-definition-and-config/config-with-error.snapshot.txt similarity index 100% rename from __tests__/lint-config/invalid-definition-and-config/config-with-error.snapshot.txt rename to tests/e2e/lint-config/invalid-definition-and-config/config-with-error.snapshot.txt diff --git a/__tests__/lint-config/invalid-definition-and-config/config-with-warn.snapshot.txt b/tests/e2e/lint-config/invalid-definition-and-config/config-with-warn.snapshot.txt similarity index 100% rename from __tests__/lint-config/invalid-definition-and-config/config-with-warn.snapshot.txt rename to tests/e2e/lint-config/invalid-definition-and-config/config-with-warn.snapshot.txt diff --git a/__tests__/lint-config/invalid-definition-and-config/redocly.yaml b/tests/e2e/lint-config/invalid-definition-and-config/redocly.yaml similarity index 100% rename from __tests__/lint-config/invalid-definition-and-config/redocly.yaml rename to tests/e2e/lint-config/invalid-definition-and-config/redocly.yaml diff --git a/__tests__/lint-config/invalid-lint-config-severity/redocly.yaml b/tests/e2e/lint-config/invalid-lint-config-severity/redocly.yaml similarity index 100% rename from __tests__/lint-config/invalid-lint-config-severity/redocly.yaml rename to tests/e2e/lint-config/invalid-lint-config-severity/redocly.yaml diff --git a/__tests__/lint-config/invalid-lint-config-severity/snapshot.txt b/tests/e2e/lint-config/invalid-lint-config-severity/snapshot.txt similarity index 100% rename from __tests__/lint-config/invalid-lint-config-severity/snapshot.txt rename to tests/e2e/lint-config/invalid-lint-config-severity/snapshot.txt diff --git a/__tests__/lint/arazzo-not-valid-test-description/museum.yaml b/tests/e2e/lint/arazzo-not-valid-test-description/museum.yaml similarity index 100% rename from __tests__/lint/arazzo-not-valid-test-description/museum.yaml rename to tests/e2e/lint/arazzo-not-valid-test-description/museum.yaml diff --git a/__tests__/lint/arazzo-not-valid-test-description/snapshot.txt b/tests/e2e/lint/arazzo-not-valid-test-description/snapshot.txt similarity index 100% rename from __tests__/lint/arazzo-not-valid-test-description/snapshot.txt rename to tests/e2e/lint/arazzo-not-valid-test-description/snapshot.txt diff --git a/__tests__/lint/arazzo-type-extensions-with-plugin/museum.yaml b/tests/e2e/lint/arazzo-type-extensions-with-plugin/museum.yaml similarity index 100% rename from __tests__/lint/arazzo-type-extensions-with-plugin/museum.yaml rename to tests/e2e/lint/arazzo-type-extensions-with-plugin/museum.yaml diff --git a/__tests__/lint/arazzo-type-extensions-with-plugin/plugins/type-extention.cjs b/tests/e2e/lint/arazzo-type-extensions-with-plugin/plugins/type-extention.cjs similarity index 100% rename from __tests__/lint/arazzo-type-extensions-with-plugin/plugins/type-extention.cjs rename to tests/e2e/lint/arazzo-type-extensions-with-plugin/plugins/type-extention.cjs diff --git a/__tests__/lint/arazzo-type-extensions-with-plugin/redocly.yaml b/tests/e2e/lint/arazzo-type-extensions-with-plugin/redocly.yaml similarity index 100% rename from __tests__/lint/arazzo-type-extensions-with-plugin/redocly.yaml rename to tests/e2e/lint/arazzo-type-extensions-with-plugin/redocly.yaml diff --git a/__tests__/lint/arazzo-type-extensions-with-plugin/snapshot.txt b/tests/e2e/lint/arazzo-type-extensions-with-plugin/snapshot.txt similarity index 100% rename from __tests__/lint/arazzo-type-extensions-with-plugin/snapshot.txt rename to tests/e2e/lint/arazzo-type-extensions-with-plugin/snapshot.txt diff --git a/__tests__/lint/arazzo-valid-test-description/museum.yaml b/tests/e2e/lint/arazzo-valid-test-description/museum.yaml similarity index 100% rename from __tests__/lint/arazzo-valid-test-description/museum.yaml rename to tests/e2e/lint/arazzo-valid-test-description/museum.yaml diff --git a/__tests__/lint/arazzo-valid-test-description/snapshot.txt b/tests/e2e/lint/arazzo-valid-test-description/snapshot.txt similarity index 100% rename from __tests__/lint/arazzo-valid-test-description/snapshot.txt rename to tests/e2e/lint/arazzo-valid-test-description/snapshot.txt diff --git a/__tests__/lint/assertion-string-property-min-length/openapi.yaml b/tests/e2e/lint/assertion-string-property-min-length/openapi.yaml similarity index 100% rename from __tests__/lint/assertion-string-property-min-length/openapi.yaml rename to tests/e2e/lint/assertion-string-property-min-length/openapi.yaml diff --git a/__tests__/lint/assertion-string-property-min-length/plugin.mjs b/tests/e2e/lint/assertion-string-property-min-length/plugin.mjs similarity index 100% rename from __tests__/lint/assertion-string-property-min-length/plugin.mjs rename to tests/e2e/lint/assertion-string-property-min-length/plugin.mjs diff --git a/__tests__/lint/assertion-string-property-min-length/redocly.yaml b/tests/e2e/lint/assertion-string-property-min-length/redocly.yaml similarity index 100% rename from __tests__/lint/assertion-string-property-min-length/redocly.yaml rename to tests/e2e/lint/assertion-string-property-min-length/redocly.yaml diff --git a/__tests__/lint/assertion-string-property-min-length/snapshot.txt b/tests/e2e/lint/assertion-string-property-min-length/snapshot.txt similarity index 100% rename from __tests__/lint/assertion-string-property-min-length/snapshot.txt rename to tests/e2e/lint/assertion-string-property-min-length/snapshot.txt diff --git a/__tests__/lint/assertions-camel-case-twice/openapi.yaml b/tests/e2e/lint/assertions-camel-case-twice/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-camel-case-twice/openapi.yaml rename to tests/e2e/lint/assertions-camel-case-twice/openapi.yaml diff --git a/__tests__/lint/assertions-camel-case-twice/redocly.yaml b/tests/e2e/lint/assertions-camel-case-twice/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-camel-case-twice/redocly.yaml rename to tests/e2e/lint/assertions-camel-case-twice/redocly.yaml diff --git a/__tests__/lint/assertions-camel-case-twice/snapshot.txt b/tests/e2e/lint/assertions-camel-case-twice/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-camel-case-twice/snapshot.txt rename to tests/e2e/lint/assertions-camel-case-twice/snapshot.txt diff --git a/__tests__/lint/assertions-casing-camel-case-error/openapi.yaml b/tests/e2e/lint/assertions-casing-camel-case-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-casing-camel-case-error/openapi.yaml rename to tests/e2e/lint/assertions-casing-camel-case-error/openapi.yaml diff --git a/__tests__/lint/assertions-casing-camel-case-error/redocly.yaml b/tests/e2e/lint/assertions-casing-camel-case-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-casing-camel-case-error/redocly.yaml rename to tests/e2e/lint/assertions-casing-camel-case-error/redocly.yaml diff --git a/__tests__/lint/assertions-casing-camel-case-error/snapshot.txt b/tests/e2e/lint/assertions-casing-camel-case-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-casing-camel-case-error/snapshot.txt rename to tests/e2e/lint/assertions-casing-camel-case-error/snapshot.txt diff --git a/__tests__/lint/assertions-casing-kebab-case-error/openapi.yaml b/tests/e2e/lint/assertions-casing-kebab-case-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-casing-kebab-case-error/openapi.yaml rename to tests/e2e/lint/assertions-casing-kebab-case-error/openapi.yaml diff --git a/__tests__/lint/assertions-casing-kebab-case-error/redocly.yaml b/tests/e2e/lint/assertions-casing-kebab-case-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-casing-kebab-case-error/redocly.yaml rename to tests/e2e/lint/assertions-casing-kebab-case-error/redocly.yaml diff --git a/__tests__/lint/assertions-casing-kebab-case-error/snapshot.txt b/tests/e2e/lint/assertions-casing-kebab-case-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-casing-kebab-case-error/snapshot.txt rename to tests/e2e/lint/assertions-casing-kebab-case-error/snapshot.txt diff --git a/__tests__/lint/assertions-casing-pascal-case-error/openapi.yaml b/tests/e2e/lint/assertions-casing-pascal-case-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-casing-pascal-case-error/openapi.yaml rename to tests/e2e/lint/assertions-casing-pascal-case-error/openapi.yaml diff --git a/__tests__/lint/assertions-casing-pascal-case-error/redocly.yaml b/tests/e2e/lint/assertions-casing-pascal-case-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-casing-pascal-case-error/redocly.yaml rename to tests/e2e/lint/assertions-casing-pascal-case-error/redocly.yaml diff --git a/__tests__/lint/assertions-casing-pascal-case-error/snapshot.txt b/tests/e2e/lint/assertions-casing-pascal-case-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-casing-pascal-case-error/snapshot.txt rename to tests/e2e/lint/assertions-casing-pascal-case-error/snapshot.txt diff --git a/__tests__/lint/assertions-casing-snake-case-error/openapi.yaml b/tests/e2e/lint/assertions-casing-snake-case-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-casing-snake-case-error/openapi.yaml rename to tests/e2e/lint/assertions-casing-snake-case-error/openapi.yaml diff --git a/__tests__/lint/assertions-casing-snake-case-error/redocly.yaml b/tests/e2e/lint/assertions-casing-snake-case-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-casing-snake-case-error/redocly.yaml rename to tests/e2e/lint/assertions-casing-snake-case-error/redocly.yaml diff --git a/__tests__/lint/assertions-casing-snake-case-error/snapshot.txt b/tests/e2e/lint/assertions-casing-snake-case-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-casing-snake-case-error/snapshot.txt rename to tests/e2e/lint/assertions-casing-snake-case-error/snapshot.txt diff --git a/__tests__/lint/assertions-custom-function-options/openapi.yaml b/tests/e2e/lint/assertions-custom-function-options/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-custom-function-options/openapi.yaml rename to tests/e2e/lint/assertions-custom-function-options/openapi.yaml diff --git a/__tests__/lint/assertions-custom-function-options/plugin.mjs b/tests/e2e/lint/assertions-custom-function-options/plugin.mjs similarity index 100% rename from __tests__/lint/assertions-custom-function-options/plugin.mjs rename to tests/e2e/lint/assertions-custom-function-options/plugin.mjs diff --git a/__tests__/lint/assertions-custom-function-options/redocly.yaml b/tests/e2e/lint/assertions-custom-function-options/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-custom-function-options/redocly.yaml rename to tests/e2e/lint/assertions-custom-function-options/redocly.yaml diff --git a/__tests__/lint/assertions-custom-function-options/snapshot.txt b/tests/e2e/lint/assertions-custom-function-options/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-custom-function-options/snapshot.txt rename to tests/e2e/lint/assertions-custom-function-options/snapshot.txt diff --git a/__tests__/lint/assertions-defined-error/openapi.yaml b/tests/e2e/lint/assertions-defined-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-defined-error/openapi.yaml rename to tests/e2e/lint/assertions-defined-error/openapi.yaml diff --git a/__tests__/lint/assertions-defined-error/redocly.yaml b/tests/e2e/lint/assertions-defined-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-defined-error/redocly.yaml rename to tests/e2e/lint/assertions-defined-error/redocly.yaml diff --git a/__tests__/lint/assertions-defined-error/snapshot.txt b/tests/e2e/lint/assertions-defined-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-defined-error/snapshot.txt rename to tests/e2e/lint/assertions-defined-error/snapshot.txt diff --git a/__tests__/lint/assertions-enum-error/openapi.yaml b/tests/e2e/lint/assertions-enum-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-enum-error/openapi.yaml rename to tests/e2e/lint/assertions-enum-error/openapi.yaml diff --git a/__tests__/lint/assertions-enum-error/redocly.yaml b/tests/e2e/lint/assertions-enum-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-enum-error/redocly.yaml rename to tests/e2e/lint/assertions-enum-error/redocly.yaml diff --git a/__tests__/lint/assertions-enum-error/snapshot.txt b/tests/e2e/lint/assertions-enum-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-enum-error/snapshot.txt rename to tests/e2e/lint/assertions-enum-error/snapshot.txt diff --git a/__tests__/lint/assertions-enum-on-keys-error/openapi.yaml b/tests/e2e/lint/assertions-enum-on-keys-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-enum-on-keys-error/openapi.yaml rename to tests/e2e/lint/assertions-enum-on-keys-error/openapi.yaml diff --git a/__tests__/lint/assertions-enum-on-keys-error/redocly.yaml b/tests/e2e/lint/assertions-enum-on-keys-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-enum-on-keys-error/redocly.yaml rename to tests/e2e/lint/assertions-enum-on-keys-error/redocly.yaml diff --git a/__tests__/lint/assertions-enum-on-keys-error/snapshot.txt b/tests/e2e/lint/assertions-enum-on-keys-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-enum-on-keys-error/snapshot.txt rename to tests/e2e/lint/assertions-enum-on-keys-error/snapshot.txt diff --git a/__tests__/lint/assertions-error/openapi.yaml b/tests/e2e/lint/assertions-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-error/openapi.yaml rename to tests/e2e/lint/assertions-error/openapi.yaml diff --git a/__tests__/lint/assertions-error/redocly.yaml b/tests/e2e/lint/assertions-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-error/redocly.yaml rename to tests/e2e/lint/assertions-error/redocly.yaml diff --git a/__tests__/lint/assertions-error/snapshot.txt b/tests/e2e/lint/assertions-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-error/snapshot.txt rename to tests/e2e/lint/assertions-error/snapshot.txt diff --git a/__tests__/lint/assertions-list-types/openapi.yaml b/tests/e2e/lint/assertions-list-types/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-list-types/openapi.yaml rename to tests/e2e/lint/assertions-list-types/openapi.yaml diff --git a/__tests__/lint/assertions-list-types/redocly.yaml b/tests/e2e/lint/assertions-list-types/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-list-types/redocly.yaml rename to tests/e2e/lint/assertions-list-types/redocly.yaml diff --git a/__tests__/lint/assertions-list-types/snapshot.txt b/tests/e2e/lint/assertions-list-types/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-list-types/snapshot.txt rename to tests/e2e/lint/assertions-list-types/snapshot.txt diff --git a/__tests__/lint/assertions-map-types/openapi.yaml b/tests/e2e/lint/assertions-map-types/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-map-types/openapi.yaml rename to tests/e2e/lint/assertions-map-types/openapi.yaml diff --git a/__tests__/lint/assertions-map-types/redocly.yaml b/tests/e2e/lint/assertions-map-types/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-map-types/redocly.yaml rename to tests/e2e/lint/assertions-map-types/redocly.yaml diff --git a/__tests__/lint/assertions-map-types/snapshot.txt b/tests/e2e/lint/assertions-map-types/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-map-types/snapshot.txt rename to tests/e2e/lint/assertions-map-types/snapshot.txt diff --git a/__tests__/lint/assertions-match-parent-keys/openapi.yaml b/tests/e2e/lint/assertions-match-parent-keys/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-match-parent-keys/openapi.yaml rename to tests/e2e/lint/assertions-match-parent-keys/openapi.yaml diff --git a/__tests__/lint/assertions-match-parent-keys/redocly.yaml b/tests/e2e/lint/assertions-match-parent-keys/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-match-parent-keys/redocly.yaml rename to tests/e2e/lint/assertions-match-parent-keys/redocly.yaml diff --git a/__tests__/lint/assertions-match-parent-keys/snapshot.txt b/tests/e2e/lint/assertions-match-parent-keys/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-match-parent-keys/snapshot.txt rename to tests/e2e/lint/assertions-match-parent-keys/snapshot.txt diff --git a/__tests__/lint/assertions-max-length-array-error/openapi.yaml b/tests/e2e/lint/assertions-max-length-array-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-max-length-array-error/openapi.yaml rename to tests/e2e/lint/assertions-max-length-array-error/openapi.yaml diff --git a/__tests__/lint/assertions-max-length-array-error/redocly.yaml b/tests/e2e/lint/assertions-max-length-array-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-max-length-array-error/redocly.yaml rename to tests/e2e/lint/assertions-max-length-array-error/redocly.yaml diff --git a/__tests__/lint/assertions-max-length-array-error/snapshot.txt b/tests/e2e/lint/assertions-max-length-array-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-max-length-array-error/snapshot.txt rename to tests/e2e/lint/assertions-max-length-array-error/snapshot.txt diff --git a/__tests__/lint/assertions-max-length-string-error/openapi.yaml b/tests/e2e/lint/assertions-max-length-string-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-max-length-string-error/openapi.yaml rename to tests/e2e/lint/assertions-max-length-string-error/openapi.yaml diff --git a/__tests__/lint/assertions-max-length-string-error/redocly.yaml b/tests/e2e/lint/assertions-max-length-string-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-max-length-string-error/redocly.yaml rename to tests/e2e/lint/assertions-max-length-string-error/redocly.yaml diff --git a/__tests__/lint/assertions-max-length-string-error/snapshot.txt b/tests/e2e/lint/assertions-max-length-string-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-max-length-string-error/snapshot.txt rename to tests/e2e/lint/assertions-max-length-string-error/snapshot.txt diff --git a/__tests__/lint/assertions-min-length-array-error/openapi.yaml b/tests/e2e/lint/assertions-min-length-array-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-min-length-array-error/openapi.yaml rename to tests/e2e/lint/assertions-min-length-array-error/openapi.yaml diff --git a/__tests__/lint/assertions-min-length-array-error/redocly.yaml b/tests/e2e/lint/assertions-min-length-array-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-min-length-array-error/redocly.yaml rename to tests/e2e/lint/assertions-min-length-array-error/redocly.yaml diff --git a/__tests__/lint/assertions-min-length-array-error/snapshot.txt b/tests/e2e/lint/assertions-min-length-array-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-min-length-array-error/snapshot.txt rename to tests/e2e/lint/assertions-min-length-array-error/snapshot.txt diff --git a/__tests__/lint/assertions-min-length-string-error/openapi.yaml b/tests/e2e/lint/assertions-min-length-string-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-min-length-string-error/openapi.yaml rename to tests/e2e/lint/assertions-min-length-string-error/openapi.yaml diff --git a/__tests__/lint/assertions-min-length-string-error/redocly.yaml b/tests/e2e/lint/assertions-min-length-string-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-min-length-string-error/redocly.yaml rename to tests/e2e/lint/assertions-min-length-string-error/redocly.yaml diff --git a/__tests__/lint/assertions-min-length-string-error/snapshot.txt b/tests/e2e/lint/assertions-min-length-string-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-min-length-string-error/snapshot.txt rename to tests/e2e/lint/assertions-min-length-string-error/snapshot.txt diff --git a/__tests__/lint/assertions-mutually-exclusive-error/openapi.yaml b/tests/e2e/lint/assertions-mutually-exclusive-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-mutually-exclusive-error/openapi.yaml rename to tests/e2e/lint/assertions-mutually-exclusive-error/openapi.yaml diff --git a/__tests__/lint/assertions-mutually-exclusive-error/redocly.yaml b/tests/e2e/lint/assertions-mutually-exclusive-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-mutually-exclusive-error/redocly.yaml rename to tests/e2e/lint/assertions-mutually-exclusive-error/redocly.yaml diff --git a/__tests__/lint/assertions-mutually-exclusive-error/snapshot.txt b/tests/e2e/lint/assertions-mutually-exclusive-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-mutually-exclusive-error/snapshot.txt rename to tests/e2e/lint/assertions-mutually-exclusive-error/snapshot.txt diff --git a/__tests__/lint/assertions-mutually-required-error/openapi.yaml b/tests/e2e/lint/assertions-mutually-required-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-mutually-required-error/openapi.yaml rename to tests/e2e/lint/assertions-mutually-required-error/openapi.yaml diff --git a/__tests__/lint/assertions-mutually-required-error/redocly.yaml b/tests/e2e/lint/assertions-mutually-required-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-mutually-required-error/redocly.yaml rename to tests/e2e/lint/assertions-mutually-required-error/redocly.yaml diff --git a/__tests__/lint/assertions-mutually-required-error/snapshot.txt b/tests/e2e/lint/assertions-mutually-required-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-mutually-required-error/snapshot.txt rename to tests/e2e/lint/assertions-mutually-required-error/snapshot.txt diff --git a/__tests__/lint/assertions-non-empty-error/openapi.yaml b/tests/e2e/lint/assertions-non-empty-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-non-empty-error/openapi.yaml rename to tests/e2e/lint/assertions-non-empty-error/openapi.yaml diff --git a/__tests__/lint/assertions-non-empty-error/redocly.yaml b/tests/e2e/lint/assertions-non-empty-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-non-empty-error/redocly.yaml rename to tests/e2e/lint/assertions-non-empty-error/redocly.yaml diff --git a/__tests__/lint/assertions-non-empty-error/snapshot.txt b/tests/e2e/lint/assertions-non-empty-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-non-empty-error/snapshot.txt rename to tests/e2e/lint/assertions-non-empty-error/snapshot.txt diff --git a/__tests__/lint/assertions-non-empty-off/openapi.yaml b/tests/e2e/lint/assertions-non-empty-off/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-non-empty-off/openapi.yaml rename to tests/e2e/lint/assertions-non-empty-off/openapi.yaml diff --git a/__tests__/lint/assertions-non-empty-off/redocly.yaml b/tests/e2e/lint/assertions-non-empty-off/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-non-empty-off/redocly.yaml rename to tests/e2e/lint/assertions-non-empty-off/redocly.yaml diff --git a/__tests__/lint/assertions-non-empty-off/snapshot.txt b/tests/e2e/lint/assertions-non-empty-off/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-non-empty-off/snapshot.txt rename to tests/e2e/lint/assertions-non-empty-off/snapshot.txt diff --git a/__tests__/lint/assertions-non-empty-warn/openapi.yaml b/tests/e2e/lint/assertions-non-empty-warn/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-non-empty-warn/openapi.yaml rename to tests/e2e/lint/assertions-non-empty-warn/openapi.yaml diff --git a/__tests__/lint/assertions-non-empty-warn/redocly.yaml b/tests/e2e/lint/assertions-non-empty-warn/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-non-empty-warn/redocly.yaml rename to tests/e2e/lint/assertions-non-empty-warn/redocly.yaml diff --git a/__tests__/lint/assertions-non-empty-warn/snapshot.txt b/tests/e2e/lint/assertions-non-empty-warn/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-non-empty-warn/snapshot.txt rename to tests/e2e/lint/assertions-non-empty-warn/snapshot.txt diff --git a/__tests__/lint/assertions-pattern-error/openapi.yaml b/tests/e2e/lint/assertions-pattern-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-pattern-error/openapi.yaml rename to tests/e2e/lint/assertions-pattern-error/openapi.yaml diff --git a/__tests__/lint/assertions-pattern-error/redocly.yaml b/tests/e2e/lint/assertions-pattern-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-pattern-error/redocly.yaml rename to tests/e2e/lint/assertions-pattern-error/redocly.yaml diff --git a/__tests__/lint/assertions-pattern-error/snapshot.txt b/tests/e2e/lint/assertions-pattern-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-pattern-error/snapshot.txt rename to tests/e2e/lint/assertions-pattern-error/snapshot.txt diff --git a/__tests__/lint/assertions-pattern-report-location/openapi.yaml b/tests/e2e/lint/assertions-pattern-report-location/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-pattern-report-location/openapi.yaml rename to tests/e2e/lint/assertions-pattern-report-location/openapi.yaml diff --git a/__tests__/lint/assertions-pattern-report-location/redocly.yaml b/tests/e2e/lint/assertions-pattern-report-location/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-pattern-report-location/redocly.yaml rename to tests/e2e/lint/assertions-pattern-report-location/redocly.yaml diff --git a/__tests__/lint/assertions-pattern-report-location/snapshot.txt b/tests/e2e/lint/assertions-pattern-report-location/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-pattern-report-location/snapshot.txt rename to tests/e2e/lint/assertions-pattern-report-location/snapshot.txt diff --git a/__tests__/lint/assertions-pattern-with-object/openapi.yaml b/tests/e2e/lint/assertions-pattern-with-object/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-pattern-with-object/openapi.yaml rename to tests/e2e/lint/assertions-pattern-with-object/openapi.yaml diff --git a/__tests__/lint/assertions-pattern-with-object/redocly.yaml b/tests/e2e/lint/assertions-pattern-with-object/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-pattern-with-object/redocly.yaml rename to tests/e2e/lint/assertions-pattern-with-object/redocly.yaml diff --git a/__tests__/lint/assertions-pattern-with-object/snapshot.txt b/tests/e2e/lint/assertions-pattern-with-object/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-pattern-with-object/snapshot.txt rename to tests/e2e/lint/assertions-pattern-with-object/snapshot.txt diff --git a/__tests__/lint/assertions-patternProperties/openapi.yaml b/tests/e2e/lint/assertions-patternProperties/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-patternProperties/openapi.yaml rename to tests/e2e/lint/assertions-patternProperties/openapi.yaml diff --git a/__tests__/lint/assertions-patternProperties/redocly.yaml b/tests/e2e/lint/assertions-patternProperties/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-patternProperties/redocly.yaml rename to tests/e2e/lint/assertions-patternProperties/redocly.yaml diff --git a/__tests__/lint/assertions-patternProperties/schema.json b/tests/e2e/lint/assertions-patternProperties/schema.json similarity index 100% rename from __tests__/lint/assertions-patternProperties/schema.json rename to tests/e2e/lint/assertions-patternProperties/schema.json diff --git a/__tests__/lint/assertions-patternProperties/snapshot.txt b/tests/e2e/lint/assertions-patternProperties/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-patternProperties/snapshot.txt rename to tests/e2e/lint/assertions-patternProperties/snapshot.txt diff --git a/__tests__/lint/assertions-property-key-not-allowed/openapi.yaml b/tests/e2e/lint/assertions-property-key-not-allowed/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-property-key-not-allowed/openapi.yaml rename to tests/e2e/lint/assertions-property-key-not-allowed/openapi.yaml diff --git a/__tests__/lint/assertions-property-key-not-allowed/redocly.yaml b/tests/e2e/lint/assertions-property-key-not-allowed/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-property-key-not-allowed/redocly.yaml rename to tests/e2e/lint/assertions-property-key-not-allowed/redocly.yaml diff --git a/__tests__/lint/assertions-property-key-not-allowed/snapshot.txt b/tests/e2e/lint/assertions-property-key-not-allowed/snapshot.txt similarity index 75% rename from __tests__/lint/assertions-property-key-not-allowed/snapshot.txt rename to tests/e2e/lint/assertions-property-key-not-allowed/snapshot.txt index d511af4358..506c9262d7 100644 --- a/__tests__/lint/assertions-property-key-not-allowed/snapshot.txt +++ b/tests/e2e/lint/assertions-property-key-not-allowed/snapshot.txt @@ -1,6 +1,6 @@ validating openapi.yaml using lint rules for api 'main'... -Something went wrong when processing ./__tests__/lint/assertions-property-key-not-allowed/openapi.yaml: +Something went wrong when processing ./tests/e2e/lint/assertions-property-key-not-allowed/openapi.yaml: - The 'disallowed' assertion can't be used on properties. Please remove the 'property' key. diff --git a/__tests__/lint/assertions-property-key-required/openapi.yaml b/tests/e2e/lint/assertions-property-key-required/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-property-key-required/openapi.yaml rename to tests/e2e/lint/assertions-property-key-required/openapi.yaml diff --git a/__tests__/lint/assertions-property-key-required/redocly.yaml b/tests/e2e/lint/assertions-property-key-required/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-property-key-required/redocly.yaml rename to tests/e2e/lint/assertions-property-key-required/redocly.yaml diff --git a/__tests__/lint/assertions-property-key-required/snapshot.txt b/tests/e2e/lint/assertions-property-key-required/snapshot.txt similarity index 74% rename from __tests__/lint/assertions-property-key-required/snapshot.txt rename to tests/e2e/lint/assertions-property-key-required/snapshot.txt index fe95a886c7..155c486c70 100644 --- a/__tests__/lint/assertions-property-key-required/snapshot.txt +++ b/tests/e2e/lint/assertions-property-key-required/snapshot.txt @@ -1,6 +1,6 @@ validating openapi.yaml using lint rules for api 'main'... -Something went wrong when processing ./__tests__/lint/assertions-property-key-required/openapi.yaml: +Something went wrong when processing ./tests/e2e/lint/assertions-property-key-required/openapi.yaml: - The 'nonEmpty' assertion can't be used on all keys. Please provide a single property. diff --git a/__tests__/lint/assertions-query-in-parameters/openapi.yaml b/tests/e2e/lint/assertions-query-in-parameters/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-query-in-parameters/openapi.yaml rename to tests/e2e/lint/assertions-query-in-parameters/openapi.yaml diff --git a/__tests__/lint/assertions-query-in-parameters/redocly.yaml b/tests/e2e/lint/assertions-query-in-parameters/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-query-in-parameters/redocly.yaml rename to tests/e2e/lint/assertions-query-in-parameters/redocly.yaml diff --git a/__tests__/lint/assertions-query-in-parameters/snapshot.txt b/tests/e2e/lint/assertions-query-in-parameters/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-query-in-parameters/snapshot.txt rename to tests/e2e/lint/assertions-query-in-parameters/snapshot.txt diff --git a/__tests__/lint/assertions-ref-forbidden-error/components/paths/Owners.yaml b/tests/e2e/lint/assertions-ref-forbidden-error/components/paths/Owners.yaml similarity index 100% rename from __tests__/lint/assertions-ref-forbidden-error/components/paths/Owners.yaml rename to tests/e2e/lint/assertions-ref-forbidden-error/components/paths/Owners.yaml diff --git a/__tests__/lint/assertions-ref-forbidden-error/components/schemas/Error.yaml b/tests/e2e/lint/assertions-ref-forbidden-error/components/schemas/Error.yaml similarity index 100% rename from __tests__/lint/assertions-ref-forbidden-error/components/schemas/Error.yaml rename to tests/e2e/lint/assertions-ref-forbidden-error/components/schemas/Error.yaml diff --git a/__tests__/lint/assertions-ref-forbidden-error/openapi.yaml b/tests/e2e/lint/assertions-ref-forbidden-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-ref-forbidden-error/openapi.yaml rename to tests/e2e/lint/assertions-ref-forbidden-error/openapi.yaml diff --git a/__tests__/lint/assertions-ref-forbidden-error/redocly.yaml b/tests/e2e/lint/assertions-ref-forbidden-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-ref-forbidden-error/redocly.yaml rename to tests/e2e/lint/assertions-ref-forbidden-error/redocly.yaml diff --git a/__tests__/lint/assertions-ref-forbidden-error/snapshot.txt b/tests/e2e/lint/assertions-ref-forbidden-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-ref-forbidden-error/snapshot.txt rename to tests/e2e/lint/assertions-ref-forbidden-error/snapshot.txt diff --git a/__tests__/lint/assertions-ref-pattern-error/components/Vets.yaml b/tests/e2e/lint/assertions-ref-pattern-error/components/Vets.yaml similarity index 100% rename from __tests__/lint/assertions-ref-pattern-error/components/Vets.yaml rename to tests/e2e/lint/assertions-ref-pattern-error/components/Vets.yaml diff --git a/__tests__/lint/assertions-ref-pattern-error/components/paths/Owners.yaml b/tests/e2e/lint/assertions-ref-pattern-error/components/paths/Owners.yaml similarity index 100% rename from __tests__/lint/assertions-ref-pattern-error/components/paths/Owners.yaml rename to tests/e2e/lint/assertions-ref-pattern-error/components/paths/Owners.yaml diff --git a/__tests__/lint/assertions-ref-pattern-error/components/schemas/Error.yaml b/tests/e2e/lint/assertions-ref-pattern-error/components/schemas/Error.yaml similarity index 100% rename from __tests__/lint/assertions-ref-pattern-error/components/schemas/Error.yaml rename to tests/e2e/lint/assertions-ref-pattern-error/components/schemas/Error.yaml diff --git a/__tests__/lint/assertions-ref-pattern-error/openapi.yaml b/tests/e2e/lint/assertions-ref-pattern-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-ref-pattern-error/openapi.yaml rename to tests/e2e/lint/assertions-ref-pattern-error/openapi.yaml diff --git a/__tests__/lint/assertions-ref-pattern-error/redocly.yaml b/tests/e2e/lint/assertions-ref-pattern-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-ref-pattern-error/redocly.yaml rename to tests/e2e/lint/assertions-ref-pattern-error/redocly.yaml diff --git a/__tests__/lint/assertions-ref-pattern-error/snapshot.txt b/tests/e2e/lint/assertions-ref-pattern-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-ref-pattern-error/snapshot.txt rename to tests/e2e/lint/assertions-ref-pattern-error/snapshot.txt diff --git a/__tests__/lint/assertions-ref-required-error/components/paths/Owners.yaml b/tests/e2e/lint/assertions-ref-required-error/components/paths/Owners.yaml similarity index 100% rename from __tests__/lint/assertions-ref-required-error/components/paths/Owners.yaml rename to tests/e2e/lint/assertions-ref-required-error/components/paths/Owners.yaml diff --git a/__tests__/lint/assertions-ref-required-error/components/schemas/Error.yaml b/tests/e2e/lint/assertions-ref-required-error/components/schemas/Error.yaml similarity index 100% rename from __tests__/lint/assertions-ref-required-error/components/schemas/Error.yaml rename to tests/e2e/lint/assertions-ref-required-error/components/schemas/Error.yaml diff --git a/__tests__/lint/assertions-ref-required-error/openapi.yaml b/tests/e2e/lint/assertions-ref-required-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-ref-required-error/openapi.yaml rename to tests/e2e/lint/assertions-ref-required-error/openapi.yaml diff --git a/__tests__/lint/assertions-ref-required-error/redocly.yaml b/tests/e2e/lint/assertions-ref-required-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-ref-required-error/redocly.yaml rename to tests/e2e/lint/assertions-ref-required-error/redocly.yaml diff --git a/__tests__/lint/assertions-ref-required-error/snapshot.txt b/tests/e2e/lint/assertions-ref-required-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-ref-required-error/snapshot.txt rename to tests/e2e/lint/assertions-ref-required-error/snapshot.txt diff --git a/__tests__/lint/assertions-require-any-error/openapi.yaml b/tests/e2e/lint/assertions-require-any-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-require-any-error/openapi.yaml rename to tests/e2e/lint/assertions-require-any-error/openapi.yaml diff --git a/__tests__/lint/assertions-require-any-error/redocly.yaml b/tests/e2e/lint/assertions-require-any-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-require-any-error/redocly.yaml rename to tests/e2e/lint/assertions-require-any-error/redocly.yaml diff --git a/__tests__/lint/assertions-require-any-error/snapshot.txt b/tests/e2e/lint/assertions-require-any-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-require-any-error/snapshot.txt rename to tests/e2e/lint/assertions-require-any-error/snapshot.txt diff --git a/__tests__/lint/assertions-severity-override-without-extends/openapi.yaml b/tests/e2e/lint/assertions-severity-override-without-extends/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-severity-override-without-extends/openapi.yaml rename to tests/e2e/lint/assertions-severity-override-without-extends/openapi.yaml diff --git a/__tests__/lint/assertions-severity-override-without-extends/redocly.yaml b/tests/e2e/lint/assertions-severity-override-without-extends/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-severity-override-without-extends/redocly.yaml rename to tests/e2e/lint/assertions-severity-override-without-extends/redocly.yaml diff --git a/__tests__/lint/assertions-severity-override-without-extends/snapshot.txt b/tests/e2e/lint/assertions-severity-override-without-extends/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-severity-override-without-extends/snapshot.txt rename to tests/e2e/lint/assertions-severity-override-without-extends/snapshot.txt diff --git a/__tests__/lint/assertions-severity-override-without-extends/snapshot_2.txt b/tests/e2e/lint/assertions-severity-override-without-extends/snapshot_2.txt similarity index 76% rename from __tests__/lint/assertions-severity-override-without-extends/snapshot_2.txt rename to tests/e2e/lint/assertions-severity-override-without-extends/snapshot_2.txt index 550828a853..ea537da2b6 100644 --- a/__tests__/lint/assertions-severity-override-without-extends/snapshot_2.txt +++ b/tests/e2e/lint/assertions-severity-override-without-extends/snapshot_2.txt @@ -1,4 +1,4 @@ -[1] __tests__/lint/assertions-severity-override-without-extends/openapi.yaml:3:3 at #/info/description +[1] tests/e2e/lint/assertions-severity-override-without-extends/openapi.yaml:3:3 at #/info/description rule/test-description failed because the Info description didn't meet the assertions: Should be defined @@ -13,7 +13,7 @@ rule/test-description failed because the Info description didn't meet the assert Error was generated by the rule/test-description rule. -[2] __tests__/lint/assertions-severity-override-without-extends/openapi.yaml:3:3 at #/info/license +[2] tests/e2e/lint/assertions-severity-override-without-extends/openapi.yaml:3:3 at #/info/license rule/test-license failed because the Info license didn't meet the assertions: Should be defined @@ -29,8 +29,8 @@ Warning was generated by the rule/test-license rule. -validating __tests__/lint/assertions-severity-override-without-extends/openapi.yaml using lint rules for api 'main'... -__tests__/lint/assertions-severity-override-without-extends/openapi.yaml: validated in ms +validating tests/e2e/lint/assertions-severity-override-without-extends/openapi.yaml using lint rules for api 'main'... +tests/e2e/lint/assertions-severity-override-without-extends/openapi.yaml: validated in ms ❌ Validation failed with 1 error and 1 warning. run `redocly lint --generate-ignore-file` to add all problems to the ignore file. diff --git a/__tests__/lint/assertions-severity-override/openapi.yaml b/tests/e2e/lint/assertions-severity-override/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-severity-override/openapi.yaml rename to tests/e2e/lint/assertions-severity-override/openapi.yaml diff --git a/__tests__/lint/assertions-severity-override/redocly.yaml b/tests/e2e/lint/assertions-severity-override/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-severity-override/redocly.yaml rename to tests/e2e/lint/assertions-severity-override/redocly.yaml diff --git a/__tests__/lint/assertions-severity-override/ruleset.yaml b/tests/e2e/lint/assertions-severity-override/ruleset.yaml similarity index 100% rename from __tests__/lint/assertions-severity-override/ruleset.yaml rename to tests/e2e/lint/assertions-severity-override/ruleset.yaml diff --git a/__tests__/lint/assertions-severity-override/snapshot.txt b/tests/e2e/lint/assertions-severity-override/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-severity-override/snapshot.txt rename to tests/e2e/lint/assertions-severity-override/snapshot.txt diff --git a/__tests__/lint/assertions-severity-override/snapshot_2.txt b/tests/e2e/lint/assertions-severity-override/snapshot_2.txt similarity index 75% rename from __tests__/lint/assertions-severity-override/snapshot_2.txt rename to tests/e2e/lint/assertions-severity-override/snapshot_2.txt index 8ccc7e516f..faf71a282e 100644 --- a/__tests__/lint/assertions-severity-override/snapshot_2.txt +++ b/tests/e2e/lint/assertions-severity-override/snapshot_2.txt @@ -1,4 +1,4 @@ -[1] __tests__/lint/assertions-severity-override/openapi.yaml:3:3 at #/info/description +[1] tests/e2e/lint/assertions-severity-override/openapi.yaml:3:3 at #/info/description rule/test-description failed because the Info description didn't meet the assertions: Should be defined @@ -13,7 +13,7 @@ rule/test-description failed because the Info description didn't meet the assert Error was generated by the rule/test-description rule. -[2] __tests__/lint/assertions-severity-override/openapi.yaml:3:3 at #/info/license +[2] tests/e2e/lint/assertions-severity-override/openapi.yaml:3:3 at #/info/license rule/test-license failed because the Info license didn't meet the assertions: Should be defined @@ -29,8 +29,8 @@ Warning was generated by the rule/test-license rule. -validating __tests__/lint/assertions-severity-override/openapi.yaml using lint rules for api 'main'... -__tests__/lint/assertions-severity-override/openapi.yaml: validated in ms +validating tests/e2e/lint/assertions-severity-override/openapi.yaml using lint rules for api 'main'... +tests/e2e/lint/assertions-severity-override/openapi.yaml: validated in ms ❌ Validation failed with 1 error and 1 warning. run `redocly lint --generate-ignore-file` to add all problems to the ignore file. diff --git a/__tests__/lint/assertions-show-suggestions/openapi.yaml b/tests/e2e/lint/assertions-show-suggestions/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-show-suggestions/openapi.yaml rename to tests/e2e/lint/assertions-show-suggestions/openapi.yaml diff --git a/__tests__/lint/assertions-show-suggestions/redocly.yaml b/tests/e2e/lint/assertions-show-suggestions/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-show-suggestions/redocly.yaml rename to tests/e2e/lint/assertions-show-suggestions/redocly.yaml diff --git a/__tests__/lint/assertions-show-suggestions/snapshot.txt b/tests/e2e/lint/assertions-show-suggestions/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-show-suggestions/snapshot.txt rename to tests/e2e/lint/assertions-show-suggestions/snapshot.txt diff --git a/__tests__/lint/assertions-type-integer-in-parameter/openapi.yaml b/tests/e2e/lint/assertions-type-integer-in-parameter/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-type-integer-in-parameter/openapi.yaml rename to tests/e2e/lint/assertions-type-integer-in-parameter/openapi.yaml diff --git a/__tests__/lint/assertions-type-integer-in-parameter/redocly.yaml b/tests/e2e/lint/assertions-type-integer-in-parameter/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-type-integer-in-parameter/redocly.yaml rename to tests/e2e/lint/assertions-type-integer-in-parameter/redocly.yaml diff --git a/__tests__/lint/assertions-type-integer-in-parameter/snapshot.txt b/tests/e2e/lint/assertions-type-integer-in-parameter/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-type-integer-in-parameter/snapshot.txt rename to tests/e2e/lint/assertions-type-integer-in-parameter/snapshot.txt diff --git a/__tests__/lint/assertions-type-integer-in-schema-response/openapi.yaml b/tests/e2e/lint/assertions-type-integer-in-schema-response/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-type-integer-in-schema-response/openapi.yaml rename to tests/e2e/lint/assertions-type-integer-in-schema-response/openapi.yaml diff --git a/__tests__/lint/assertions-type-integer-in-schema-response/redocly.yaml b/tests/e2e/lint/assertions-type-integer-in-schema-response/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-type-integer-in-schema-response/redocly.yaml rename to tests/e2e/lint/assertions-type-integer-in-schema-response/redocly.yaml diff --git a/__tests__/lint/assertions-type-integer-in-schema-response/snapshot.txt b/tests/e2e/lint/assertions-type-integer-in-schema-response/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-type-integer-in-schema-response/snapshot.txt rename to tests/e2e/lint/assertions-type-integer-in-schema-response/snapshot.txt diff --git a/__tests__/lint/assertions-undefined-error/openapi.yaml b/tests/e2e/lint/assertions-undefined-error/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-undefined-error/openapi.yaml rename to tests/e2e/lint/assertions-undefined-error/openapi.yaml diff --git a/__tests__/lint/assertions-undefined-error/redocly.yaml b/tests/e2e/lint/assertions-undefined-error/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-undefined-error/redocly.yaml rename to tests/e2e/lint/assertions-undefined-error/redocly.yaml diff --git a/__tests__/lint/assertions-undefined-error/snapshot.txt b/tests/e2e/lint/assertions-undefined-error/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-undefined-error/snapshot.txt rename to tests/e2e/lint/assertions-undefined-error/snapshot.txt diff --git a/__tests__/lint/assertions-vendor-extensions/openapi.yaml b/tests/e2e/lint/assertions-vendor-extensions/openapi.yaml similarity index 100% rename from __tests__/lint/assertions-vendor-extensions/openapi.yaml rename to tests/e2e/lint/assertions-vendor-extensions/openapi.yaml diff --git a/__tests__/lint/assertions-vendor-extensions/redocly.yaml b/tests/e2e/lint/assertions-vendor-extensions/redocly.yaml similarity index 100% rename from __tests__/lint/assertions-vendor-extensions/redocly.yaml rename to tests/e2e/lint/assertions-vendor-extensions/redocly.yaml diff --git a/__tests__/lint/assertions-vendor-extensions/snapshot.txt b/tests/e2e/lint/assertions-vendor-extensions/snapshot.txt similarity index 100% rename from __tests__/lint/assertions-vendor-extensions/snapshot.txt rename to tests/e2e/lint/assertions-vendor-extensions/snapshot.txt diff --git a/__tests__/lint/assertions/description.md b/tests/e2e/lint/assertions/description.md similarity index 100% rename from __tests__/lint/assertions/description.md rename to tests/e2e/lint/assertions/description.md diff --git a/__tests__/lint/assertions/openapi.yaml b/tests/e2e/lint/assertions/openapi.yaml similarity index 100% rename from __tests__/lint/assertions/openapi.yaml rename to tests/e2e/lint/assertions/openapi.yaml diff --git a/__tests__/lint/assertions/redocly.yaml b/tests/e2e/lint/assertions/redocly.yaml similarity index 100% rename from __tests__/lint/assertions/redocly.yaml rename to tests/e2e/lint/assertions/redocly.yaml diff --git a/__tests__/lint/assertions/snapshot.txt b/tests/e2e/lint/assertions/snapshot.txt similarity index 100% rename from __tests__/lint/assertions/snapshot.txt rename to tests/e2e/lint/assertions/snapshot.txt diff --git a/__tests__/lint/async2/anyof.yml b/tests/e2e/lint/async2/anyof.yml similarity index 100% rename from __tests__/lint/async2/anyof.yml rename to tests/e2e/lint/async2/anyof.yml diff --git a/__tests__/lint/async2/application-headers.yml b/tests/e2e/lint/async2/application-headers.yml similarity index 100% rename from __tests__/lint/async2/application-headers.yml rename to tests/e2e/lint/async2/application-headers.yml diff --git a/__tests__/lint/async2/correlation-id.yml b/tests/e2e/lint/async2/correlation-id.yml similarity index 100% rename from __tests__/lint/async2/correlation-id.yml rename to tests/e2e/lint/async2/correlation-id.yml diff --git a/__tests__/lint/async2/gitter-streaming.yml b/tests/e2e/lint/async2/gitter-streaming.yml similarity index 100% rename from __tests__/lint/async2/gitter-streaming.yml rename to tests/e2e/lint/async2/gitter-streaming.yml diff --git a/__tests__/lint/async2/mercure.yml b/tests/e2e/lint/async2/mercure.yml similarity index 100% rename from __tests__/lint/async2/mercure.yml rename to tests/e2e/lint/async2/mercure.yml diff --git a/__tests__/lint/async2/not.yml b/tests/e2e/lint/async2/not.yml similarity index 100% rename from __tests__/lint/async2/not.yml rename to tests/e2e/lint/async2/not.yml diff --git a/__tests__/lint/async2/oneof.yml b/tests/e2e/lint/async2/oneof.yml similarity index 100% rename from __tests__/lint/async2/oneof.yml rename to tests/e2e/lint/async2/oneof.yml diff --git a/__tests__/lint/async2/operation-security.yml b/tests/e2e/lint/async2/operation-security.yml similarity index 100% rename from __tests__/lint/async2/operation-security.yml rename to tests/e2e/lint/async2/operation-security.yml diff --git a/__tests__/lint/async2/operation-with-tags.yml b/tests/e2e/lint/async2/operation-with-tags.yml similarity index 100% rename from __tests__/lint/async2/operation-with-tags.yml rename to tests/e2e/lint/async2/operation-with-tags.yml diff --git a/__tests__/lint/async2/redocly.yaml b/tests/e2e/lint/async2/redocly.yaml similarity index 100% rename from __tests__/lint/async2/redocly.yaml rename to tests/e2e/lint/async2/redocly.yaml diff --git a/__tests__/lint/async2/rpc-client.yml b/tests/e2e/lint/async2/rpc-client.yml similarity index 100% rename from __tests__/lint/async2/rpc-client.yml rename to tests/e2e/lint/async2/rpc-client.yml diff --git a/__tests__/lint/async2/rpc-server.yml b/tests/e2e/lint/async2/rpc-server.yml similarity index 100% rename from __tests__/lint/async2/rpc-server.yml rename to tests/e2e/lint/async2/rpc-server.yml diff --git a/__tests__/lint/async2/simple.yml b/tests/e2e/lint/async2/simple.yml similarity index 100% rename from __tests__/lint/async2/simple.yml rename to tests/e2e/lint/async2/simple.yml diff --git a/__tests__/lint/async2/slack-rtm.yml b/tests/e2e/lint/async2/slack-rtm.yml similarity index 100% rename from __tests__/lint/async2/slack-rtm.yml rename to tests/e2e/lint/async2/slack-rtm.yml diff --git a/__tests__/lint/async2/snapshot.txt b/tests/e2e/lint/async2/snapshot.txt similarity index 100% rename from __tests__/lint/async2/snapshot.txt rename to tests/e2e/lint/async2/snapshot.txt diff --git a/__tests__/lint/async2/streetlights-kafka.yml b/tests/e2e/lint/async2/streetlights-kafka.yml similarity index 100% rename from __tests__/lint/async2/streetlights-kafka.yml rename to tests/e2e/lint/async2/streetlights-kafka.yml diff --git a/__tests__/lint/async2/streetlights-mqtt.yml b/tests/e2e/lint/async2/streetlights-mqtt.yml similarity index 100% rename from __tests__/lint/async2/streetlights-mqtt.yml rename to tests/e2e/lint/async2/streetlights-mqtt.yml diff --git a/__tests__/lint/async2/streetlights-operation-security.yml b/tests/e2e/lint/async2/streetlights-operation-security.yml similarity index 100% rename from __tests__/lint/async2/streetlights-operation-security.yml rename to tests/e2e/lint/async2/streetlights-operation-security.yml diff --git a/__tests__/lint/async2/websocket-gemini.yml b/tests/e2e/lint/async2/websocket-gemini.yml similarity index 100% rename from __tests__/lint/async2/websocket-gemini.yml rename to tests/e2e/lint/async2/websocket-gemini.yml diff --git a/__tests__/lint/async3/anyof.yml b/tests/e2e/lint/async3/anyof.yml similarity index 100% rename from __tests__/lint/async3/anyof.yml rename to tests/e2e/lint/async3/anyof.yml diff --git a/__tests__/lint/async3/application-headers.yml b/tests/e2e/lint/async3/application-headers.yml similarity index 100% rename from __tests__/lint/async3/application-headers.yml rename to tests/e2e/lint/async3/application-headers.yml diff --git a/__tests__/lint/async3/correlation-id.yml b/tests/e2e/lint/async3/correlation-id.yml similarity index 100% rename from __tests__/lint/async3/correlation-id.yml rename to tests/e2e/lint/async3/correlation-id.yml diff --git a/__tests__/lint/async3/gitter-streaming.yml b/tests/e2e/lint/async3/gitter-streaming.yml similarity index 100% rename from __tests__/lint/async3/gitter-streaming.yml rename to tests/e2e/lint/async3/gitter-streaming.yml diff --git a/__tests__/lint/async3/mercure.yml b/tests/e2e/lint/async3/mercure.yml similarity index 100% rename from __tests__/lint/async3/mercure.yml rename to tests/e2e/lint/async3/mercure.yml diff --git a/__tests__/lint/async3/not.yml b/tests/e2e/lint/async3/not.yml similarity index 100% rename from __tests__/lint/async3/not.yml rename to tests/e2e/lint/async3/not.yml diff --git a/__tests__/lint/async3/oneof.yml b/tests/e2e/lint/async3/oneof.yml similarity index 100% rename from __tests__/lint/async3/oneof.yml rename to tests/e2e/lint/async3/oneof.yml diff --git a/__tests__/lint/async3/operation-security.yml b/tests/e2e/lint/async3/operation-security.yml similarity index 100% rename from __tests__/lint/async3/operation-security.yml rename to tests/e2e/lint/async3/operation-security.yml diff --git a/__tests__/lint/async3/redocly.yaml b/tests/e2e/lint/async3/redocly.yaml similarity index 100% rename from __tests__/lint/async3/redocly.yaml rename to tests/e2e/lint/async3/redocly.yaml diff --git a/__tests__/lint/async3/rpc-client.yml b/tests/e2e/lint/async3/rpc-client.yml similarity index 100% rename from __tests__/lint/async3/rpc-client.yml rename to tests/e2e/lint/async3/rpc-client.yml diff --git a/__tests__/lint/async3/rpc-server.yml b/tests/e2e/lint/async3/rpc-server.yml similarity index 100% rename from __tests__/lint/async3/rpc-server.yml rename to tests/e2e/lint/async3/rpc-server.yml diff --git a/__tests__/lint/async3/simple.yml b/tests/e2e/lint/async3/simple.yml similarity index 100% rename from __tests__/lint/async3/simple.yml rename to tests/e2e/lint/async3/simple.yml diff --git a/__tests__/lint/async3/slack-rtm.yml b/tests/e2e/lint/async3/slack-rtm.yml similarity index 100% rename from __tests__/lint/async3/slack-rtm.yml rename to tests/e2e/lint/async3/slack-rtm.yml diff --git a/__tests__/lint/async3/snapshot.txt b/tests/e2e/lint/async3/snapshot.txt similarity index 100% rename from __tests__/lint/async3/snapshot.txt rename to tests/e2e/lint/async3/snapshot.txt diff --git a/__tests__/lint/async3/streetlights-kafka.yml b/tests/e2e/lint/async3/streetlights-kafka.yml similarity index 100% rename from __tests__/lint/async3/streetlights-kafka.yml rename to tests/e2e/lint/async3/streetlights-kafka.yml diff --git a/__tests__/lint/async3/streetlights-mqtt.yml b/tests/e2e/lint/async3/streetlights-mqtt.yml similarity index 100% rename from __tests__/lint/async3/streetlights-mqtt.yml rename to tests/e2e/lint/async3/streetlights-mqtt.yml diff --git a/__tests__/lint/async3/streetlights-operation-security.yml b/tests/e2e/lint/async3/streetlights-operation-security.yml similarity index 100% rename from __tests__/lint/async3/streetlights-operation-security.yml rename to tests/e2e/lint/async3/streetlights-operation-security.yml diff --git a/__tests__/lint/async3/websocket-gemini.yml b/tests/e2e/lint/async3/websocket-gemini.yml similarity index 100% rename from __tests__/lint/async3/websocket-gemini.yml rename to tests/e2e/lint/async3/websocket-gemini.yml diff --git a/__tests__/lint/default-message-override/openapi.yaml b/tests/e2e/lint/default-message-override/openapi.yaml similarity index 100% rename from __tests__/lint/default-message-override/openapi.yaml rename to tests/e2e/lint/default-message-override/openapi.yaml diff --git a/__tests__/lint/default-message-override/redocly.yaml b/tests/e2e/lint/default-message-override/redocly.yaml similarity index 100% rename from __tests__/lint/default-message-override/redocly.yaml rename to tests/e2e/lint/default-message-override/redocly.yaml diff --git a/__tests__/lint/default-message-override/snapshot.txt b/tests/e2e/lint/default-message-override/snapshot.txt similarity index 100% rename from __tests__/lint/default-message-override/snapshot.txt rename to tests/e2e/lint/default-message-override/snapshot.txt diff --git a/__tests__/lint/default-message-override/split/info.yaml b/tests/e2e/lint/default-message-override/split/info.yaml similarity index 100% rename from __tests__/lint/default-message-override/split/info.yaml rename to tests/e2e/lint/default-message-override/split/info.yaml diff --git a/__tests__/lint/default-message-override/split/openapi.yaml b/tests/e2e/lint/default-message-override/split/openapi.yaml similarity index 100% rename from __tests__/lint/default-message-override/split/openapi.yaml rename to tests/e2e/lint/default-message-override/split/openapi.yaml diff --git a/__tests__/lint/default-message-override/split/paths/test.yaml b/tests/e2e/lint/default-message-override/split/paths/test.yaml similarity index 100% rename from __tests__/lint/default-message-override/split/paths/test.yaml rename to tests/e2e/lint/default-message-override/split/paths/test.yaml diff --git a/__tests__/lint/extends-empty-array/openapi.yaml b/tests/e2e/lint/extends-empty-array/openapi.yaml similarity index 100% rename from __tests__/lint/extends-empty-array/openapi.yaml rename to tests/e2e/lint/extends-empty-array/openapi.yaml diff --git a/__tests__/lint/extends-empty-array/redocly.yaml b/tests/e2e/lint/extends-empty-array/redocly.yaml similarity index 100% rename from __tests__/lint/extends-empty-array/redocly.yaml rename to tests/e2e/lint/extends-empty-array/redocly.yaml diff --git a/__tests__/lint/extends-empty-array/snapshot.txt b/tests/e2e/lint/extends-empty-array/snapshot.txt similarity index 100% rename from __tests__/lint/extends-empty-array/snapshot.txt rename to tests/e2e/lint/extends-empty-array/snapshot.txt diff --git a/__tests__/lint/info-contact--lint-in-apis/openapi.yaml b/tests/e2e/lint/info-contact--lint-in-apis/openapi.yaml similarity index 100% rename from __tests__/lint/info-contact--lint-in-apis/openapi.yaml rename to tests/e2e/lint/info-contact--lint-in-apis/openapi.yaml diff --git a/__tests__/lint/info-contact--lint-in-apis/redocly.yaml b/tests/e2e/lint/info-contact--lint-in-apis/redocly.yaml similarity index 100% rename from __tests__/lint/info-contact--lint-in-apis/redocly.yaml rename to tests/e2e/lint/info-contact--lint-in-apis/redocly.yaml diff --git a/__tests__/lint/info-contact--lint-in-apis/snapshot.txt b/tests/e2e/lint/info-contact--lint-in-apis/snapshot.txt similarity index 100% rename from __tests__/lint/info-contact--lint-in-apis/snapshot.txt rename to tests/e2e/lint/info-contact--lint-in-apis/snapshot.txt diff --git a/__tests__/lint/info-contact-not-present-warning/openapi.yaml b/tests/e2e/lint/info-contact-not-present-warning/openapi.yaml similarity index 100% rename from __tests__/lint/info-contact-not-present-warning/openapi.yaml rename to tests/e2e/lint/info-contact-not-present-warning/openapi.yaml diff --git a/__tests__/lint/info-contact-not-present-warning/redocly.yaml b/tests/e2e/lint/info-contact-not-present-warning/redocly.yaml similarity index 100% rename from __tests__/lint/info-contact-not-present-warning/redocly.yaml rename to tests/e2e/lint/info-contact-not-present-warning/redocly.yaml diff --git a/__tests__/lint/info-contact-not-present-warning/snapshot.txt b/tests/e2e/lint/info-contact-not-present-warning/snapshot.txt similarity index 100% rename from __tests__/lint/info-contact-not-present-warning/snapshot.txt rename to tests/e2e/lint/info-contact-not-present-warning/snapshot.txt diff --git a/__tests__/lint/info-contact/openapi.yaml b/tests/e2e/lint/info-contact/openapi.yaml similarity index 100% rename from __tests__/lint/info-contact/openapi.yaml rename to tests/e2e/lint/info-contact/openapi.yaml diff --git a/__tests__/lint/info-contact/redocly.yaml b/tests/e2e/lint/info-contact/redocly.yaml similarity index 100% rename from __tests__/lint/info-contact/redocly.yaml rename to tests/e2e/lint/info-contact/redocly.yaml diff --git a/__tests__/lint/info-contact/snapshot.txt b/tests/e2e/lint/info-contact/snapshot.txt similarity index 100% rename from __tests__/lint/info-contact/snapshot.txt rename to tests/e2e/lint/info-contact/snapshot.txt diff --git a/__tests__/lint/info-license-rule-not-present-warning/openapi.yaml b/tests/e2e/lint/info-license-rule-not-present-warning/openapi.yaml similarity index 100% rename from __tests__/lint/info-license-rule-not-present-warning/openapi.yaml rename to tests/e2e/lint/info-license-rule-not-present-warning/openapi.yaml diff --git a/__tests__/lint/info-license-rule-not-present-warning/redocly.yaml b/tests/e2e/lint/info-license-rule-not-present-warning/redocly.yaml similarity index 100% rename from __tests__/lint/info-license-rule-not-present-warning/redocly.yaml rename to tests/e2e/lint/info-license-rule-not-present-warning/redocly.yaml diff --git a/__tests__/lint/info-license-rule-not-present-warning/snapshot.txt b/tests/e2e/lint/info-license-rule-not-present-warning/snapshot.txt similarity index 100% rename from __tests__/lint/info-license-rule-not-present-warning/snapshot.txt rename to tests/e2e/lint/info-license-rule-not-present-warning/snapshot.txt diff --git a/__tests__/lint/info-license-rule/openapi.yaml b/tests/e2e/lint/info-license-rule/openapi.yaml similarity index 100% rename from __tests__/lint/info-license-rule/openapi.yaml rename to tests/e2e/lint/info-license-rule/openapi.yaml diff --git a/__tests__/lint/info-license-rule/redocly.yaml b/tests/e2e/lint/info-license-rule/redocly.yaml similarity index 100% rename from __tests__/lint/info-license-rule/redocly.yaml rename to tests/e2e/lint/info-license-rule/redocly.yaml diff --git a/__tests__/lint/info-license-rule/snapshot.txt b/tests/e2e/lint/info-license-rule/snapshot.txt similarity index 100% rename from __tests__/lint/info-license-rule/snapshot.txt rename to tests/e2e/lint/info-license-rule/snapshot.txt diff --git a/__tests__/lint/info-license-strict-missing-warning/openapi.yaml b/tests/e2e/lint/info-license-strict-missing-warning/openapi.yaml similarity index 100% rename from __tests__/lint/info-license-strict-missing-warning/openapi.yaml rename to tests/e2e/lint/info-license-strict-missing-warning/openapi.yaml diff --git a/__tests__/lint/info-license-strict-missing-warning/redocly.yaml b/tests/e2e/lint/info-license-strict-missing-warning/redocly.yaml similarity index 100% rename from __tests__/lint/info-license-strict-missing-warning/redocly.yaml rename to tests/e2e/lint/info-license-strict-missing-warning/redocly.yaml diff --git a/__tests__/lint/info-license-strict-missing-warning/snapshot.txt b/tests/e2e/lint/info-license-strict-missing-warning/snapshot.txt similarity index 100% rename from __tests__/lint/info-license-strict-missing-warning/snapshot.txt rename to tests/e2e/lint/info-license-strict-missing-warning/snapshot.txt diff --git a/__tests__/lint/info-license-strict-rule/openapi.yaml b/tests/e2e/lint/info-license-strict-rule/openapi.yaml similarity index 100% rename from __tests__/lint/info-license-strict-rule/openapi.yaml rename to tests/e2e/lint/info-license-strict-rule/openapi.yaml diff --git a/__tests__/lint/info-license-strict-rule/redocly.yaml b/tests/e2e/lint/info-license-strict-rule/redocly.yaml similarity index 100% rename from __tests__/lint/info-license-strict-rule/redocly.yaml rename to tests/e2e/lint/info-license-strict-rule/redocly.yaml diff --git a/__tests__/lint/info-license-strict-rule/snapshot.txt b/tests/e2e/lint/info-license-strict-rule/snapshot.txt similarity index 100% rename from __tests__/lint/info-license-strict-rule/snapshot.txt rename to tests/e2e/lint/info-license-strict-rule/snapshot.txt diff --git a/__tests__/lint/merge-lint-configs/openapi.yaml b/tests/e2e/lint/merge-lint-configs/openapi.yaml similarity index 100% rename from __tests__/lint/merge-lint-configs/openapi.yaml rename to tests/e2e/lint/merge-lint-configs/openapi.yaml diff --git a/__tests__/lint/merge-lint-configs/redocly.yaml b/tests/e2e/lint/merge-lint-configs/redocly.yaml similarity index 100% rename from __tests__/lint/merge-lint-configs/redocly.yaml rename to tests/e2e/lint/merge-lint-configs/redocly.yaml diff --git a/__tests__/lint/merge-lint-configs/snapshot.txt b/tests/e2e/lint/merge-lint-configs/snapshot.txt similarity index 100% rename from __tests__/lint/merge-lint-configs/snapshot.txt rename to tests/e2e/lint/merge-lint-configs/snapshot.txt diff --git a/__tests__/lint/nested-extends-two-level/nested-config-2.yaml b/tests/e2e/lint/nested-extends-two-level/nested-config-2.yaml similarity index 100% rename from __tests__/lint/nested-extends-two-level/nested-config-2.yaml rename to tests/e2e/lint/nested-extends-two-level/nested-config-2.yaml diff --git a/__tests__/lint/nested-extends-two-level/nested-config.yaml b/tests/e2e/lint/nested-extends-two-level/nested-config.yaml similarity index 100% rename from __tests__/lint/nested-extends-two-level/nested-config.yaml rename to tests/e2e/lint/nested-extends-two-level/nested-config.yaml diff --git a/__tests__/lint/nested-extends-two-level/openapi.yaml b/tests/e2e/lint/nested-extends-two-level/openapi.yaml similarity index 100% rename from __tests__/lint/nested-extends-two-level/openapi.yaml rename to tests/e2e/lint/nested-extends-two-level/openapi.yaml diff --git a/__tests__/lint/nested-extends-two-level/redocly.yaml b/tests/e2e/lint/nested-extends-two-level/redocly.yaml similarity index 100% rename from __tests__/lint/nested-extends-two-level/redocly.yaml rename to tests/e2e/lint/nested-extends-two-level/redocly.yaml diff --git a/__tests__/lint/nested-extends-two-level/snapshot.txt b/tests/e2e/lint/nested-extends-two-level/snapshot.txt similarity index 100% rename from __tests__/lint/nested-extends-two-level/snapshot.txt rename to tests/e2e/lint/nested-extends-two-level/snapshot.txt diff --git a/__tests__/lint/nested-extends/nested-config.yaml b/tests/e2e/lint/nested-extends/nested-config.yaml similarity index 100% rename from __tests__/lint/nested-extends/nested-config.yaml rename to tests/e2e/lint/nested-extends/nested-config.yaml diff --git a/__tests__/lint/nested-extends/openapi.yaml b/tests/e2e/lint/nested-extends/openapi.yaml similarity index 100% rename from __tests__/lint/nested-extends/openapi.yaml rename to tests/e2e/lint/nested-extends/openapi.yaml diff --git a/__tests__/lint/nested-extends/redocly.yaml b/tests/e2e/lint/nested-extends/redocly.yaml similarity index 100% rename from __tests__/lint/nested-extends/redocly.yaml rename to tests/e2e/lint/nested-extends/redocly.yaml diff --git a/__tests__/lint/nested-extends/snapshot.txt b/tests/e2e/lint/nested-extends/snapshot.txt similarity index 100% rename from __tests__/lint/nested-extends/snapshot.txt rename to tests/e2e/lint/nested-extends/snapshot.txt diff --git a/__tests__/lint/no-duplicated-tag-names/openapi.yaml b/tests/e2e/lint/no-duplicated-tag-names/openapi.yaml similarity index 100% rename from __tests__/lint/no-duplicated-tag-names/openapi.yaml rename to tests/e2e/lint/no-duplicated-tag-names/openapi.yaml diff --git a/__tests__/lint/no-duplicated-tag-names/redocly.yaml b/tests/e2e/lint/no-duplicated-tag-names/redocly.yaml similarity index 100% rename from __tests__/lint/no-duplicated-tag-names/redocly.yaml rename to tests/e2e/lint/no-duplicated-tag-names/redocly.yaml diff --git a/__tests__/lint/no-duplicated-tag-names/snapshot.txt b/tests/e2e/lint/no-duplicated-tag-names/snapshot.txt similarity index 100% rename from __tests__/lint/no-duplicated-tag-names/snapshot.txt rename to tests/e2e/lint/no-duplicated-tag-names/snapshot.txt diff --git a/__tests__/lint/no-empty-servers-rule/openapi.yaml b/tests/e2e/lint/no-empty-servers-rule/openapi.yaml similarity index 100% rename from __tests__/lint/no-empty-servers-rule/openapi.yaml rename to tests/e2e/lint/no-empty-servers-rule/openapi.yaml diff --git a/__tests__/lint/no-empty-servers-rule/redocly.yaml b/tests/e2e/lint/no-empty-servers-rule/redocly.yaml similarity index 100% rename from __tests__/lint/no-empty-servers-rule/redocly.yaml rename to tests/e2e/lint/no-empty-servers-rule/redocly.yaml diff --git a/__tests__/lint/no-empty-servers-rule/snapshot.txt b/tests/e2e/lint/no-empty-servers-rule/snapshot.txt similarity index 100% rename from __tests__/lint/no-empty-servers-rule/snapshot.txt rename to tests/e2e/lint/no-empty-servers-rule/snapshot.txt diff --git a/__tests__/lint/no-empty-servers-warning/openapi.yaml b/tests/e2e/lint/no-empty-servers-warning/openapi.yaml similarity index 100% rename from __tests__/lint/no-empty-servers-warning/openapi.yaml rename to tests/e2e/lint/no-empty-servers-warning/openapi.yaml diff --git a/__tests__/lint/no-empty-servers-warning/redocly.yaml b/tests/e2e/lint/no-empty-servers-warning/redocly.yaml similarity index 100% rename from __tests__/lint/no-empty-servers-warning/redocly.yaml rename to tests/e2e/lint/no-empty-servers-warning/redocly.yaml diff --git a/__tests__/lint/no-empty-servers-warning/snapshot.txt b/tests/e2e/lint/no-empty-servers-warning/snapshot.txt similarity index 100% rename from __tests__/lint/no-empty-servers-warning/snapshot.txt rename to tests/e2e/lint/no-empty-servers-warning/snapshot.txt diff --git a/__tests__/lint/no-enum-type-mismatch-error-recommended-config/openapi.yaml b/tests/e2e/lint/no-enum-type-mismatch-error-recommended-config/openapi.yaml similarity index 100% rename from __tests__/lint/no-enum-type-mismatch-error-recommended-config/openapi.yaml rename to tests/e2e/lint/no-enum-type-mismatch-error-recommended-config/openapi.yaml diff --git a/__tests__/lint/no-enum-type-mismatch-error-recommended-config/redocly.yaml b/tests/e2e/lint/no-enum-type-mismatch-error-recommended-config/redocly.yaml similarity index 100% rename from __tests__/lint/no-enum-type-mismatch-error-recommended-config/redocly.yaml rename to tests/e2e/lint/no-enum-type-mismatch-error-recommended-config/redocly.yaml diff --git a/__tests__/lint/no-enum-type-mismatch-error-recommended-config/snapshot.txt b/tests/e2e/lint/no-enum-type-mismatch-error-recommended-config/snapshot.txt similarity index 100% rename from __tests__/lint/no-enum-type-mismatch-error-recommended-config/snapshot.txt rename to tests/e2e/lint/no-enum-type-mismatch-error-recommended-config/snapshot.txt diff --git a/__tests__/lint/no-enum-type-mismatch-error/openapi.yaml b/tests/e2e/lint/no-enum-type-mismatch-error/openapi.yaml similarity index 100% rename from __tests__/lint/no-enum-type-mismatch-error/openapi.yaml rename to tests/e2e/lint/no-enum-type-mismatch-error/openapi.yaml diff --git a/__tests__/lint/no-enum-type-mismatch-error/redocly.yaml b/tests/e2e/lint/no-enum-type-mismatch-error/redocly.yaml similarity index 100% rename from __tests__/lint/no-enum-type-mismatch-error/redocly.yaml rename to tests/e2e/lint/no-enum-type-mismatch-error/redocly.yaml diff --git a/__tests__/lint/no-enum-type-mismatch-error/snapshot.txt b/tests/e2e/lint/no-enum-type-mismatch-error/snapshot.txt similarity index 100% rename from __tests__/lint/no-enum-type-mismatch-error/snapshot.txt rename to tests/e2e/lint/no-enum-type-mismatch-error/snapshot.txt diff --git a/__tests__/lint/no-enum-type-mismatch/openapi.yaml b/tests/e2e/lint/no-enum-type-mismatch/openapi.yaml similarity index 100% rename from __tests__/lint/no-enum-type-mismatch/openapi.yaml rename to tests/e2e/lint/no-enum-type-mismatch/openapi.yaml diff --git a/__tests__/lint/no-enum-type-mismatch/redocly.yaml b/tests/e2e/lint/no-enum-type-mismatch/redocly.yaml similarity index 100% rename from __tests__/lint/no-enum-type-mismatch/redocly.yaml rename to tests/e2e/lint/no-enum-type-mismatch/redocly.yaml diff --git a/__tests__/lint/no-enum-type-mismatch/snapshot.txt b/tests/e2e/lint/no-enum-type-mismatch/snapshot.txt similarity index 100% rename from __tests__/lint/no-enum-type-mismatch/snapshot.txt rename to tests/e2e/lint/no-enum-type-mismatch/snapshot.txt diff --git a/__tests__/lint/no-http-verbs-in-paths-error/openapi.yaml b/tests/e2e/lint/no-http-verbs-in-paths-error/openapi.yaml similarity index 100% rename from __tests__/lint/no-http-verbs-in-paths-error/openapi.yaml rename to tests/e2e/lint/no-http-verbs-in-paths-error/openapi.yaml diff --git a/__tests__/lint/no-http-verbs-in-paths-error/redocly.yaml b/tests/e2e/lint/no-http-verbs-in-paths-error/redocly.yaml similarity index 100% rename from __tests__/lint/no-http-verbs-in-paths-error/redocly.yaml rename to tests/e2e/lint/no-http-verbs-in-paths-error/redocly.yaml diff --git a/__tests__/lint/no-http-verbs-in-paths-error/snapshot.txt b/tests/e2e/lint/no-http-verbs-in-paths-error/snapshot.txt similarity index 100% rename from __tests__/lint/no-http-verbs-in-paths-error/snapshot.txt rename to tests/e2e/lint/no-http-verbs-in-paths-error/snapshot.txt diff --git a/__tests__/lint/no-http-verbs-in-paths-split-words-error/openapi.yaml b/tests/e2e/lint/no-http-verbs-in-paths-split-words-error/openapi.yaml similarity index 100% rename from __tests__/lint/no-http-verbs-in-paths-split-words-error/openapi.yaml rename to tests/e2e/lint/no-http-verbs-in-paths-split-words-error/openapi.yaml diff --git a/__tests__/lint/no-http-verbs-in-paths-split-words-error/redocly.yaml b/tests/e2e/lint/no-http-verbs-in-paths-split-words-error/redocly.yaml similarity index 100% rename from __tests__/lint/no-http-verbs-in-paths-split-words-error/redocly.yaml rename to tests/e2e/lint/no-http-verbs-in-paths-split-words-error/redocly.yaml diff --git a/__tests__/lint/no-http-verbs-in-paths-split-words-error/snapshot.txt b/tests/e2e/lint/no-http-verbs-in-paths-split-words-error/snapshot.txt similarity index 100% rename from __tests__/lint/no-http-verbs-in-paths-split-words-error/snapshot.txt rename to tests/e2e/lint/no-http-verbs-in-paths-split-words-error/snapshot.txt diff --git a/__tests__/lint/no-invalid-media-type-examples-invalid-schema/openapi.yaml b/tests/e2e/lint/no-invalid-media-type-examples-invalid-schema/openapi.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-invalid-schema/openapi.yaml rename to tests/e2e/lint/no-invalid-media-type-examples-invalid-schema/openapi.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples-invalid-schema/redocly.yaml b/tests/e2e/lint/no-invalid-media-type-examples-invalid-schema/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-invalid-schema/redocly.yaml rename to tests/e2e/lint/no-invalid-media-type-examples-invalid-schema/redocly.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples-invalid-schema/snapshot.txt b/tests/e2e/lint/no-invalid-media-type-examples-invalid-schema/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-invalid-schema/snapshot.txt rename to tests/e2e/lint/no-invalid-media-type-examples-invalid-schema/snapshot.txt diff --git a/__tests__/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/components.yaml b/tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/components.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/components.yaml rename to tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/components.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/openapi.yaml b/tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/openapi.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/openapi.yaml rename to tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/openapi.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/redocly.yaml b/tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/redocly.yaml rename to tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/redocly.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/snapshot.txt b/tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/snapshot.txt rename to tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs-different-files/snapshot.txt diff --git a/__tests__/lint/no-invalid-media-type-examples-multiple-valid-refs/openapi.yaml b/tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs/openapi.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-multiple-valid-refs/openapi.yaml rename to tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs/openapi.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples-multiple-valid-refs/redocly.yaml b/tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-multiple-valid-refs/redocly.yaml rename to tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs/redocly.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples-multiple-valid-refs/snapshot.txt b/tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-multiple-valid-refs/snapshot.txt rename to tests/e2e/lint/no-invalid-media-type-examples-multiple-valid-refs/snapshot.txt diff --git a/__tests__/lint/no-invalid-media-type-examples-recursion-oneOf/openapi.json b/tests/e2e/lint/no-invalid-media-type-examples-recursion-oneOf/openapi.json similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-recursion-oneOf/openapi.json rename to tests/e2e/lint/no-invalid-media-type-examples-recursion-oneOf/openapi.json diff --git a/__tests__/lint/no-invalid-media-type-examples-recursion-oneOf/redocly.yaml b/tests/e2e/lint/no-invalid-media-type-examples-recursion-oneOf/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-recursion-oneOf/redocly.yaml rename to tests/e2e/lint/no-invalid-media-type-examples-recursion-oneOf/redocly.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples-recursion-oneOf/snapshot.txt b/tests/e2e/lint/no-invalid-media-type-examples-recursion-oneOf/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-recursion-oneOf/snapshot.txt rename to tests/e2e/lint/no-invalid-media-type-examples-recursion-oneOf/snapshot.txt diff --git a/__tests__/lint/no-invalid-media-type-examples-recursion/openapi.json b/tests/e2e/lint/no-invalid-media-type-examples-recursion/openapi.json similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-recursion/openapi.json rename to tests/e2e/lint/no-invalid-media-type-examples-recursion/openapi.json diff --git a/__tests__/lint/no-invalid-media-type-examples-recursion/redocly.yaml b/tests/e2e/lint/no-invalid-media-type-examples-recursion/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-recursion/redocly.yaml rename to tests/e2e/lint/no-invalid-media-type-examples-recursion/redocly.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples-recursion/snapshot.txt b/tests/e2e/lint/no-invalid-media-type-examples-recursion/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples-recursion/snapshot.txt rename to tests/e2e/lint/no-invalid-media-type-examples-recursion/snapshot.txt diff --git a/__tests__/lint/no-invalid-media-type-examples/example.yaml b/tests/e2e/lint/no-invalid-media-type-examples/example.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples/example.yaml rename to tests/e2e/lint/no-invalid-media-type-examples/example.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples/openapi.yaml b/tests/e2e/lint/no-invalid-media-type-examples/openapi.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples/openapi.yaml rename to tests/e2e/lint/no-invalid-media-type-examples/openapi.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples/redocly.yaml b/tests/e2e/lint/no-invalid-media-type-examples/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples/redocly.yaml rename to tests/e2e/lint/no-invalid-media-type-examples/redocly.yaml diff --git a/__tests__/lint/no-invalid-media-type-examples/snapshot.txt b/tests/e2e/lint/no-invalid-media-type-examples/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-media-type-examples/snapshot.txt rename to tests/e2e/lint/no-invalid-media-type-examples/snapshot.txt diff --git a/__tests__/lint/no-invalid-schema-examples-array-error/openapi.yaml b/tests/e2e/lint/no-invalid-schema-examples-array-error/openapi.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-array-error/openapi.yaml rename to tests/e2e/lint/no-invalid-schema-examples-array-error/openapi.yaml diff --git a/__tests__/lint/no-invalid-schema-examples-array-error/redocly.yaml b/tests/e2e/lint/no-invalid-schema-examples-array-error/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-array-error/redocly.yaml rename to tests/e2e/lint/no-invalid-schema-examples-array-error/redocly.yaml diff --git a/__tests__/lint/no-invalid-schema-examples-array-error/snapshot.txt b/tests/e2e/lint/no-invalid-schema-examples-array-error/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-array-error/snapshot.txt rename to tests/e2e/lint/no-invalid-schema-examples-array-error/snapshot.txt diff --git a/__tests__/lint/no-invalid-schema-examples-nested-error/openapi.yaml b/tests/e2e/lint/no-invalid-schema-examples-nested-error/openapi.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-nested-error/openapi.yaml rename to tests/e2e/lint/no-invalid-schema-examples-nested-error/openapi.yaml diff --git a/__tests__/lint/no-invalid-schema-examples-nested-error/redocly.yaml b/tests/e2e/lint/no-invalid-schema-examples-nested-error/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-nested-error/redocly.yaml rename to tests/e2e/lint/no-invalid-schema-examples-nested-error/redocly.yaml diff --git a/__tests__/lint/no-invalid-schema-examples-nested-error/snapshot.txt b/tests/e2e/lint/no-invalid-schema-examples-nested-error/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-nested-error/snapshot.txt rename to tests/e2e/lint/no-invalid-schema-examples-nested-error/snapshot.txt diff --git a/__tests__/lint/no-invalid-schema-examples-oas3.1-error/openapi.yaml b/tests/e2e/lint/no-invalid-schema-examples-oas3.1-error/openapi.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-oas3.1-error/openapi.yaml rename to tests/e2e/lint/no-invalid-schema-examples-oas3.1-error/openapi.yaml diff --git a/__tests__/lint/no-invalid-schema-examples-oas3.1-error/redocly.yaml b/tests/e2e/lint/no-invalid-schema-examples-oas3.1-error/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-oas3.1-error/redocly.yaml rename to tests/e2e/lint/no-invalid-schema-examples-oas3.1-error/redocly.yaml diff --git a/__tests__/lint/no-invalid-schema-examples-oas3.1-error/snapshot.txt b/tests/e2e/lint/no-invalid-schema-examples-oas3.1-error/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-oas3.1-error/snapshot.txt rename to tests/e2e/lint/no-invalid-schema-examples-oas3.1-error/snapshot.txt diff --git a/__tests__/lint/no-invalid-schema-examples-oas3.1/openapi.yaml b/tests/e2e/lint/no-invalid-schema-examples-oas3.1/openapi.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-oas3.1/openapi.yaml rename to tests/e2e/lint/no-invalid-schema-examples-oas3.1/openapi.yaml diff --git a/__tests__/lint/no-invalid-schema-examples-oas3.1/redocly.yaml b/tests/e2e/lint/no-invalid-schema-examples-oas3.1/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-oas3.1/redocly.yaml rename to tests/e2e/lint/no-invalid-schema-examples-oas3.1/redocly.yaml diff --git a/__tests__/lint/no-invalid-schema-examples-oas3.1/snapshot.txt b/tests/e2e/lint/no-invalid-schema-examples-oas3.1/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-oas3.1/snapshot.txt rename to tests/e2e/lint/no-invalid-schema-examples-oas3.1/snapshot.txt diff --git a/__tests__/lint/no-invalid-schema-examples-string-number-error/openapi.yaml b/tests/e2e/lint/no-invalid-schema-examples-string-number-error/openapi.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-string-number-error/openapi.yaml rename to tests/e2e/lint/no-invalid-schema-examples-string-number-error/openapi.yaml diff --git a/__tests__/lint/no-invalid-schema-examples-string-number-error/redocly.yaml b/tests/e2e/lint/no-invalid-schema-examples-string-number-error/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-string-number-error/redocly.yaml rename to tests/e2e/lint/no-invalid-schema-examples-string-number-error/redocly.yaml diff --git a/__tests__/lint/no-invalid-schema-examples-string-number-error/snapshot.txt b/tests/e2e/lint/no-invalid-schema-examples-string-number-error/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-schema-examples-string-number-error/snapshot.txt rename to tests/e2e/lint/no-invalid-schema-examples-string-number-error/snapshot.txt diff --git a/__tests__/lint/no-invalid-schema-examples/openapi.yaml b/tests/e2e/lint/no-invalid-schema-examples/openapi.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples/openapi.yaml rename to tests/e2e/lint/no-invalid-schema-examples/openapi.yaml diff --git a/__tests__/lint/no-invalid-schema-examples/redocly.yaml b/tests/e2e/lint/no-invalid-schema-examples/redocly.yaml similarity index 100% rename from __tests__/lint/no-invalid-schema-examples/redocly.yaml rename to tests/e2e/lint/no-invalid-schema-examples/redocly.yaml diff --git a/__tests__/lint/no-invalid-schema-examples/snapshot.txt b/tests/e2e/lint/no-invalid-schema-examples/snapshot.txt similarity index 100% rename from __tests__/lint/no-invalid-schema-examples/snapshot.txt rename to tests/e2e/lint/no-invalid-schema-examples/snapshot.txt diff --git a/__tests__/lint/no-path-trailing-slash-error/openapi.yaml b/tests/e2e/lint/no-path-trailing-slash-error/openapi.yaml similarity index 100% rename from __tests__/lint/no-path-trailing-slash-error/openapi.yaml rename to tests/e2e/lint/no-path-trailing-slash-error/openapi.yaml diff --git a/__tests__/lint/no-path-trailing-slash-error/redocly.yaml b/tests/e2e/lint/no-path-trailing-slash-error/redocly.yaml similarity index 100% rename from __tests__/lint/no-path-trailing-slash-error/redocly.yaml rename to tests/e2e/lint/no-path-trailing-slash-error/redocly.yaml diff --git a/__tests__/lint/no-path-trailing-slash-error/snapshot.txt b/tests/e2e/lint/no-path-trailing-slash-error/snapshot.txt similarity index 100% rename from __tests__/lint/no-path-trailing-slash-error/snapshot.txt rename to tests/e2e/lint/no-path-trailing-slash-error/snapshot.txt diff --git a/__tests__/lint/no-path-trailing-slash-off/openapi.yaml b/tests/e2e/lint/no-path-trailing-slash-off/openapi.yaml similarity index 100% rename from __tests__/lint/no-path-trailing-slash-off/openapi.yaml rename to tests/e2e/lint/no-path-trailing-slash-off/openapi.yaml diff --git a/__tests__/lint/no-path-trailing-slash-off/redocly.yaml b/tests/e2e/lint/no-path-trailing-slash-off/redocly.yaml similarity index 100% rename from __tests__/lint/no-path-trailing-slash-off/redocly.yaml rename to tests/e2e/lint/no-path-trailing-slash-off/redocly.yaml diff --git a/__tests__/lint/no-path-trailing-slash-off/snapshot.txt b/tests/e2e/lint/no-path-trailing-slash-off/snapshot.txt similarity index 100% rename from __tests__/lint/no-path-trailing-slash-off/snapshot.txt rename to tests/e2e/lint/no-path-trailing-slash-off/snapshot.txt diff --git a/__tests__/lint/no-path-trailing-slash-rule/openapi.yaml b/tests/e2e/lint/no-path-trailing-slash-rule/openapi.yaml similarity index 100% rename from __tests__/lint/no-path-trailing-slash-rule/openapi.yaml rename to tests/e2e/lint/no-path-trailing-slash-rule/openapi.yaml diff --git a/__tests__/lint/no-path-trailing-slash-rule/redocly.yaml b/tests/e2e/lint/no-path-trailing-slash-rule/redocly.yaml similarity index 100% rename from __tests__/lint/no-path-trailing-slash-rule/redocly.yaml rename to tests/e2e/lint/no-path-trailing-slash-rule/redocly.yaml diff --git a/__tests__/lint/no-path-trailing-slash-rule/snapshot.txt b/tests/e2e/lint/no-path-trailing-slash-rule/snapshot.txt similarity index 100% rename from __tests__/lint/no-path-trailing-slash-rule/snapshot.txt rename to tests/e2e/lint/no-path-trailing-slash-rule/snapshot.txt diff --git a/__tests__/lint/no-server-example-rule/openapi.yaml b/tests/e2e/lint/no-server-example-rule/openapi.yaml similarity index 100% rename from __tests__/lint/no-server-example-rule/openapi.yaml rename to tests/e2e/lint/no-server-example-rule/openapi.yaml diff --git a/__tests__/lint/no-server-example-rule/redocly.yaml b/tests/e2e/lint/no-server-example-rule/redocly.yaml similarity index 100% rename from __tests__/lint/no-server-example-rule/redocly.yaml rename to tests/e2e/lint/no-server-example-rule/redocly.yaml diff --git a/__tests__/lint/no-server-example-rule/snapshot.txt b/tests/e2e/lint/no-server-example-rule/snapshot.txt similarity index 100% rename from __tests__/lint/no-server-example-rule/snapshot.txt rename to tests/e2e/lint/no-server-example-rule/snapshot.txt diff --git a/__tests__/lint/no-server-trailing-slash-error/openapi.yaml b/tests/e2e/lint/no-server-trailing-slash-error/openapi.yaml similarity index 100% rename from __tests__/lint/no-server-trailing-slash-error/openapi.yaml rename to tests/e2e/lint/no-server-trailing-slash-error/openapi.yaml diff --git a/__tests__/lint/no-server-trailing-slash-error/redocly.yaml b/tests/e2e/lint/no-server-trailing-slash-error/redocly.yaml similarity index 100% rename from __tests__/lint/no-server-trailing-slash-error/redocly.yaml rename to tests/e2e/lint/no-server-trailing-slash-error/redocly.yaml diff --git a/__tests__/lint/no-server-trailing-slash-error/snapshot.txt b/tests/e2e/lint/no-server-trailing-slash-error/snapshot.txt similarity index 100% rename from __tests__/lint/no-server-trailing-slash-error/snapshot.txt rename to tests/e2e/lint/no-server-trailing-slash-error/snapshot.txt diff --git a/__tests__/lint/no-server-trailing-slash-rule/openapi.yaml b/tests/e2e/lint/no-server-trailing-slash-rule/openapi.yaml similarity index 100% rename from __tests__/lint/no-server-trailing-slash-rule/openapi.yaml rename to tests/e2e/lint/no-server-trailing-slash-rule/openapi.yaml diff --git a/__tests__/lint/no-server-trailing-slash-rule/redocly.yaml b/tests/e2e/lint/no-server-trailing-slash-rule/redocly.yaml similarity index 100% rename from __tests__/lint/no-server-trailing-slash-rule/redocly.yaml rename to tests/e2e/lint/no-server-trailing-slash-rule/redocly.yaml diff --git a/__tests__/lint/no-server-trailing-slash-rule/snapshot.txt b/tests/e2e/lint/no-server-trailing-slash-rule/snapshot.txt similarity index 100% rename from __tests__/lint/no-server-trailing-slash-rule/snapshot.txt rename to tests/e2e/lint/no-server-trailing-slash-rule/snapshot.txt diff --git a/__tests__/lint/no-server-variables-empty-enum-errror/openapi.yaml b/tests/e2e/lint/no-server-variables-empty-enum-errror/openapi.yaml similarity index 100% rename from __tests__/lint/no-server-variables-empty-enum-errror/openapi.yaml rename to tests/e2e/lint/no-server-variables-empty-enum-errror/openapi.yaml diff --git a/__tests__/lint/no-server-variables-empty-enum-errror/redocly.yaml b/tests/e2e/lint/no-server-variables-empty-enum-errror/redocly.yaml similarity index 100% rename from __tests__/lint/no-server-variables-empty-enum-errror/redocly.yaml rename to tests/e2e/lint/no-server-variables-empty-enum-errror/redocly.yaml diff --git a/__tests__/lint/no-server-variables-empty-enum-errror/snapshot.txt b/tests/e2e/lint/no-server-variables-empty-enum-errror/snapshot.txt similarity index 100% rename from __tests__/lint/no-server-variables-empty-enum-errror/snapshot.txt rename to tests/e2e/lint/no-server-variables-empty-enum-errror/snapshot.txt diff --git a/__tests__/lint/no-server-variables-empty-enum/openapi.yaml b/tests/e2e/lint/no-server-variables-empty-enum/openapi.yaml similarity index 100% rename from __tests__/lint/no-server-variables-empty-enum/openapi.yaml rename to tests/e2e/lint/no-server-variables-empty-enum/openapi.yaml diff --git a/__tests__/lint/no-server-variables-empty-enum/redocly.yaml b/tests/e2e/lint/no-server-variables-empty-enum/redocly.yaml similarity index 100% rename from __tests__/lint/no-server-variables-empty-enum/redocly.yaml rename to tests/e2e/lint/no-server-variables-empty-enum/redocly.yaml diff --git a/__tests__/lint/no-server-variables-empty-enum/snapshot.txt b/tests/e2e/lint/no-server-variables-empty-enum/snapshot.txt similarity index 100% rename from __tests__/lint/no-server-variables-empty-enum/snapshot.txt rename to tests/e2e/lint/no-server-variables-empty-enum/snapshot.txt diff --git a/__tests__/lint/no-undefined-server-variable-error-recommended-config/openapi.yaml b/tests/e2e/lint/no-undefined-server-variable-error-recommended-config/openapi.yaml similarity index 100% rename from __tests__/lint/no-undefined-server-variable-error-recommended-config/openapi.yaml rename to tests/e2e/lint/no-undefined-server-variable-error-recommended-config/openapi.yaml diff --git a/__tests__/lint/no-undefined-server-variable-error-recommended-config/redocly.yaml b/tests/e2e/lint/no-undefined-server-variable-error-recommended-config/redocly.yaml similarity index 100% rename from __tests__/lint/no-undefined-server-variable-error-recommended-config/redocly.yaml rename to tests/e2e/lint/no-undefined-server-variable-error-recommended-config/redocly.yaml diff --git a/__tests__/lint/no-undefined-server-variable-error-recommended-config/snapshot.txt b/tests/e2e/lint/no-undefined-server-variable-error-recommended-config/snapshot.txt similarity index 100% rename from __tests__/lint/no-undefined-server-variable-error-recommended-config/snapshot.txt rename to tests/e2e/lint/no-undefined-server-variable-error-recommended-config/snapshot.txt diff --git a/__tests__/lint/no-unresolved-refs-error/openapi.yaml b/tests/e2e/lint/no-unresolved-refs-error/openapi.yaml similarity index 100% rename from __tests__/lint/no-unresolved-refs-error/openapi.yaml rename to tests/e2e/lint/no-unresolved-refs-error/openapi.yaml diff --git a/__tests__/lint/no-unresolved-refs-error/redocly.yaml b/tests/e2e/lint/no-unresolved-refs-error/redocly.yaml similarity index 100% rename from __tests__/lint/no-unresolved-refs-error/redocly.yaml rename to tests/e2e/lint/no-unresolved-refs-error/redocly.yaml diff --git a/__tests__/lint/no-unresolved-refs-error/snapshot.txt b/tests/e2e/lint/no-unresolved-refs-error/snapshot.txt similarity index 100% rename from __tests__/lint/no-unresolved-refs-error/snapshot.txt rename to tests/e2e/lint/no-unresolved-refs-error/snapshot.txt diff --git a/__tests__/lint/no-unresolved-refs-rule/openapi.yaml b/tests/e2e/lint/no-unresolved-refs-rule/openapi.yaml similarity index 100% rename from __tests__/lint/no-unresolved-refs-rule/openapi.yaml rename to tests/e2e/lint/no-unresolved-refs-rule/openapi.yaml diff --git a/__tests__/lint/no-unresolved-refs-rule/redocly.yaml b/tests/e2e/lint/no-unresolved-refs-rule/redocly.yaml similarity index 100% rename from __tests__/lint/no-unresolved-refs-rule/redocly.yaml rename to tests/e2e/lint/no-unresolved-refs-rule/redocly.yaml diff --git a/__tests__/lint/no-unresolved-refs-rule/snapshot.txt b/tests/e2e/lint/no-unresolved-refs-rule/snapshot.txt similarity index 100% rename from __tests__/lint/no-unresolved-refs-rule/snapshot.txt rename to tests/e2e/lint/no-unresolved-refs-rule/snapshot.txt diff --git a/__tests__/lint/no-unused-components-rule/openapi.yaml b/tests/e2e/lint/no-unused-components-rule/openapi.yaml similarity index 100% rename from __tests__/lint/no-unused-components-rule/openapi.yaml rename to tests/e2e/lint/no-unused-components-rule/openapi.yaml diff --git a/__tests__/lint/no-unused-components-rule/redocly.yaml b/tests/e2e/lint/no-unused-components-rule/redocly.yaml similarity index 100% rename from __tests__/lint/no-unused-components-rule/redocly.yaml rename to tests/e2e/lint/no-unused-components-rule/redocly.yaml diff --git a/__tests__/lint/no-unused-components-rule/snapshot.txt b/tests/e2e/lint/no-unused-components-rule/snapshot.txt similarity index 100% rename from __tests__/lint/no-unused-components-rule/snapshot.txt rename to tests/e2e/lint/no-unused-components-rule/snapshot.txt diff --git a/__tests__/lint/no-unused-components-warning/openapi.yaml b/tests/e2e/lint/no-unused-components-warning/openapi.yaml similarity index 100% rename from __tests__/lint/no-unused-components-warning/openapi.yaml rename to tests/e2e/lint/no-unused-components-warning/openapi.yaml diff --git a/__tests__/lint/no-unused-components-warning/redocly.yaml b/tests/e2e/lint/no-unused-components-warning/redocly.yaml similarity index 100% rename from __tests__/lint/no-unused-components-warning/redocly.yaml rename to tests/e2e/lint/no-unused-components-warning/redocly.yaml diff --git a/__tests__/lint/no-unused-components-warning/snapshot.txt b/tests/e2e/lint/no-unused-components-warning/snapshot.txt similarity index 100% rename from __tests__/lint/no-unused-components-warning/snapshot.txt rename to tests/e2e/lint/no-unused-components-warning/snapshot.txt diff --git a/__tests__/lint/null-schema-values/openapi.yaml b/tests/e2e/lint/null-schema-values/openapi.yaml similarity index 100% rename from __tests__/lint/null-schema-values/openapi.yaml rename to tests/e2e/lint/null-schema-values/openapi.yaml diff --git a/__tests__/lint/null-schema-values/redocly.yaml b/tests/e2e/lint/null-schema-values/redocly.yaml similarity index 100% rename from __tests__/lint/null-schema-values/redocly.yaml rename to tests/e2e/lint/null-schema-values/redocly.yaml diff --git a/__tests__/lint/null-schema-values/snapshot.txt b/tests/e2e/lint/null-schema-values/snapshot.txt similarity index 100% rename from __tests__/lint/null-schema-values/snapshot.txt rename to tests/e2e/lint/null-schema-values/snapshot.txt diff --git a/__tests__/lint/oas2/openapi.yaml b/tests/e2e/lint/oas2/openapi.yaml similarity index 100% rename from __tests__/lint/oas2/openapi.yaml rename to tests/e2e/lint/oas2/openapi.yaml diff --git a/__tests__/lint/oas2/redocly.yaml b/tests/e2e/lint/oas2/redocly.yaml similarity index 100% rename from __tests__/lint/oas2/redocly.yaml rename to tests/e2e/lint/oas2/redocly.yaml diff --git a/__tests__/lint/oas2/snapshot.txt b/tests/e2e/lint/oas2/snapshot.txt similarity index 100% rename from __tests__/lint/oas2/snapshot.txt rename to tests/e2e/lint/oas2/snapshot.txt diff --git a/__tests__/lint/oas3-no-errors/openapi.yaml b/tests/e2e/lint/oas3-no-errors/openapi.yaml similarity index 100% rename from __tests__/lint/oas3-no-errors/openapi.yaml rename to tests/e2e/lint/oas3-no-errors/openapi.yaml diff --git a/__tests__/lint/oas3-no-errors/redocly.yaml b/tests/e2e/lint/oas3-no-errors/redocly.yaml similarity index 100% rename from __tests__/lint/oas3-no-errors/redocly.yaml rename to tests/e2e/lint/oas3-no-errors/redocly.yaml diff --git a/__tests__/lint/oas3-no-errors/snapshot.txt b/tests/e2e/lint/oas3-no-errors/snapshot.txt similarity index 100% rename from __tests__/lint/oas3-no-errors/snapshot.txt rename to tests/e2e/lint/oas3-no-errors/snapshot.txt diff --git a/__tests__/lint/oas3.1-error/openapi.yaml b/tests/e2e/lint/oas3.1-error/openapi.yaml similarity index 100% rename from __tests__/lint/oas3.1-error/openapi.yaml rename to tests/e2e/lint/oas3.1-error/openapi.yaml diff --git a/__tests__/lint/oas3.1-error/redocly.yaml b/tests/e2e/lint/oas3.1-error/redocly.yaml similarity index 100% rename from __tests__/lint/oas3.1-error/redocly.yaml rename to tests/e2e/lint/oas3.1-error/redocly.yaml diff --git a/__tests__/lint/oas3.1-error/snapshot.txt b/tests/e2e/lint/oas3.1-error/snapshot.txt similarity index 100% rename from __tests__/lint/oas3.1-error/snapshot.txt rename to tests/e2e/lint/oas3.1-error/snapshot.txt diff --git a/__tests__/lint/oas3.1/openapi.yaml b/tests/e2e/lint/oas3.1/openapi.yaml similarity index 100% rename from __tests__/lint/oas3.1/openapi.yaml rename to tests/e2e/lint/oas3.1/openapi.yaml diff --git a/__tests__/lint/oas3.1/redocly.yaml b/tests/e2e/lint/oas3.1/redocly.yaml similarity index 100% rename from __tests__/lint/oas3.1/redocly.yaml rename to tests/e2e/lint/oas3.1/redocly.yaml diff --git a/__tests__/lint/oas3.1/snapshot.txt b/tests/e2e/lint/oas3.1/snapshot.txt similarity index 100% rename from __tests__/lint/oas3.1/snapshot.txt rename to tests/e2e/lint/oas3.1/snapshot.txt diff --git a/__tests__/lint/oas3.2/openapi.yaml b/tests/e2e/lint/oas3.2/openapi.yaml similarity index 100% rename from __tests__/lint/oas3.2/openapi.yaml rename to tests/e2e/lint/oas3.2/openapi.yaml diff --git a/__tests__/lint/oas3.2/redocly.yaml b/tests/e2e/lint/oas3.2/redocly.yaml similarity index 100% rename from __tests__/lint/oas3.2/redocly.yaml rename to tests/e2e/lint/oas3.2/redocly.yaml diff --git a/__tests__/lint/oas3.2/snapshot.txt b/tests/e2e/lint/oas3.2/snapshot.txt similarity index 100% rename from __tests__/lint/oas3.2/snapshot.txt rename to tests/e2e/lint/oas3.2/snapshot.txt diff --git a/__tests__/lint/operation-2xx-response-rule/openapi.yaml b/tests/e2e/lint/operation-2xx-response-rule/openapi.yaml similarity index 100% rename from __tests__/lint/operation-2xx-response-rule/openapi.yaml rename to tests/e2e/lint/operation-2xx-response-rule/openapi.yaml diff --git a/__tests__/lint/operation-2xx-response-rule/redocly.yaml b/tests/e2e/lint/operation-2xx-response-rule/redocly.yaml similarity index 100% rename from __tests__/lint/operation-2xx-response-rule/redocly.yaml rename to tests/e2e/lint/operation-2xx-response-rule/redocly.yaml diff --git a/__tests__/lint/operation-2xx-response-rule/snapshot.txt b/tests/e2e/lint/operation-2xx-response-rule/snapshot.txt similarity index 100% rename from __tests__/lint/operation-2xx-response-rule/snapshot.txt rename to tests/e2e/lint/operation-2xx-response-rule/snapshot.txt diff --git a/__tests__/lint/operation-2xx-response-warning/openapi.yaml b/tests/e2e/lint/operation-2xx-response-warning/openapi.yaml similarity index 100% rename from __tests__/lint/operation-2xx-response-warning/openapi.yaml rename to tests/e2e/lint/operation-2xx-response-warning/openapi.yaml diff --git a/__tests__/lint/operation-2xx-response-warning/redocly.yaml b/tests/e2e/lint/operation-2xx-response-warning/redocly.yaml similarity index 100% rename from __tests__/lint/operation-2xx-response-warning/redocly.yaml rename to tests/e2e/lint/operation-2xx-response-warning/redocly.yaml diff --git a/__tests__/lint/operation-2xx-response-warning/snapshot.txt b/tests/e2e/lint/operation-2xx-response-warning/snapshot.txt similarity index 100% rename from __tests__/lint/operation-2xx-response-warning/snapshot.txt rename to tests/e2e/lint/operation-2xx-response-warning/snapshot.txt diff --git a/__tests__/lint/operation-4xx-problem-details-rfc7807/openapi.yaml b/tests/e2e/lint/operation-4xx-problem-details-rfc7807/openapi.yaml similarity index 100% rename from __tests__/lint/operation-4xx-problem-details-rfc7807/openapi.yaml rename to tests/e2e/lint/operation-4xx-problem-details-rfc7807/openapi.yaml diff --git a/__tests__/lint/operation-4xx-problem-details-rfc7807/redocly.yaml b/tests/e2e/lint/operation-4xx-problem-details-rfc7807/redocly.yaml similarity index 100% rename from __tests__/lint/operation-4xx-problem-details-rfc7807/redocly.yaml rename to tests/e2e/lint/operation-4xx-problem-details-rfc7807/redocly.yaml diff --git a/__tests__/lint/operation-4xx-problem-details-rfc7807/snapshot.txt b/tests/e2e/lint/operation-4xx-problem-details-rfc7807/snapshot.txt similarity index 100% rename from __tests__/lint/operation-4xx-problem-details-rfc7807/snapshot.txt rename to tests/e2e/lint/operation-4xx-problem-details-rfc7807/snapshot.txt diff --git a/__tests__/lint/operation-4xx-response-rule/openapi.yaml b/tests/e2e/lint/operation-4xx-response-rule/openapi.yaml similarity index 100% rename from __tests__/lint/operation-4xx-response-rule/openapi.yaml rename to tests/e2e/lint/operation-4xx-response-rule/openapi.yaml diff --git a/__tests__/lint/operation-4xx-response-rule/redocly.yaml b/tests/e2e/lint/operation-4xx-response-rule/redocly.yaml similarity index 100% rename from __tests__/lint/operation-4xx-response-rule/redocly.yaml rename to tests/e2e/lint/operation-4xx-response-rule/redocly.yaml diff --git a/__tests__/lint/operation-4xx-response-rule/snapshot.txt b/tests/e2e/lint/operation-4xx-response-rule/snapshot.txt similarity index 100% rename from __tests__/lint/operation-4xx-response-rule/snapshot.txt rename to tests/e2e/lint/operation-4xx-response-rule/snapshot.txt diff --git a/__tests__/lint/operation-4xx-response-warning/openapi.yaml b/tests/e2e/lint/operation-4xx-response-warning/openapi.yaml similarity index 100% rename from __tests__/lint/operation-4xx-response-warning/openapi.yaml rename to tests/e2e/lint/operation-4xx-response-warning/openapi.yaml diff --git a/__tests__/lint/operation-4xx-response-warning/redocly.yaml b/tests/e2e/lint/operation-4xx-response-warning/redocly.yaml similarity index 100% rename from __tests__/lint/operation-4xx-response-warning/redocly.yaml rename to tests/e2e/lint/operation-4xx-response-warning/redocly.yaml diff --git a/__tests__/lint/operation-4xx-response-warning/snapshot.txt b/tests/e2e/lint/operation-4xx-response-warning/snapshot.txt similarity index 100% rename from __tests__/lint/operation-4xx-response-warning/snapshot.txt rename to tests/e2e/lint/operation-4xx-response-warning/snapshot.txt diff --git a/__tests__/lint/operation-description-rule/openapi.yaml b/tests/e2e/lint/operation-description-rule/openapi.yaml similarity index 100% rename from __tests__/lint/operation-description-rule/openapi.yaml rename to tests/e2e/lint/operation-description-rule/openapi.yaml diff --git a/__tests__/lint/operation-description-rule/redocly.yaml b/tests/e2e/lint/operation-description-rule/redocly.yaml similarity index 100% rename from __tests__/lint/operation-description-rule/redocly.yaml rename to tests/e2e/lint/operation-description-rule/redocly.yaml diff --git a/__tests__/lint/operation-description-rule/snapshot.txt b/tests/e2e/lint/operation-description-rule/snapshot.txt similarity index 100% rename from __tests__/lint/operation-description-rule/snapshot.txt rename to tests/e2e/lint/operation-description-rule/snapshot.txt diff --git a/__tests__/lint/operation-description-warning/openapi.yaml b/tests/e2e/lint/operation-description-warning/openapi.yaml similarity index 100% rename from __tests__/lint/operation-description-warning/openapi.yaml rename to tests/e2e/lint/operation-description-warning/openapi.yaml diff --git a/__tests__/lint/operation-description-warning/redocly.yaml b/tests/e2e/lint/operation-description-warning/redocly.yaml similarity index 100% rename from __tests__/lint/operation-description-warning/redocly.yaml rename to tests/e2e/lint/operation-description-warning/redocly.yaml diff --git a/__tests__/lint/operation-description-warning/snapshot.txt b/tests/e2e/lint/operation-description-warning/snapshot.txt similarity index 100% rename from __tests__/lint/operation-description-warning/snapshot.txt rename to tests/e2e/lint/operation-description-warning/snapshot.txt diff --git a/__tests__/lint/operation-operationId-in-callback/openapi.yaml b/tests/e2e/lint/operation-operationId-in-callback/openapi.yaml similarity index 100% rename from __tests__/lint/operation-operationId-in-callback/openapi.yaml rename to tests/e2e/lint/operation-operationId-in-callback/openapi.yaml diff --git a/__tests__/lint/operation-operationId-in-callback/redocly.yaml b/tests/e2e/lint/operation-operationId-in-callback/redocly.yaml similarity index 100% rename from __tests__/lint/operation-operationId-in-callback/redocly.yaml rename to tests/e2e/lint/operation-operationId-in-callback/redocly.yaml diff --git a/__tests__/lint/operation-operationId-in-callback/snapshot.txt b/tests/e2e/lint/operation-operationId-in-callback/snapshot.txt similarity index 100% rename from __tests__/lint/operation-operationId-in-callback/snapshot.txt rename to tests/e2e/lint/operation-operationId-in-callback/snapshot.txt diff --git a/__tests__/lint/operation-operationId-unique-error/openapi.yaml b/tests/e2e/lint/operation-operationId-unique-error/openapi.yaml similarity index 100% rename from __tests__/lint/operation-operationId-unique-error/openapi.yaml rename to tests/e2e/lint/operation-operationId-unique-error/openapi.yaml diff --git a/__tests__/lint/operation-operationId-unique-error/redocly.yaml b/tests/e2e/lint/operation-operationId-unique-error/redocly.yaml similarity index 100% rename from __tests__/lint/operation-operationId-unique-error/redocly.yaml rename to tests/e2e/lint/operation-operationId-unique-error/redocly.yaml diff --git a/__tests__/lint/operation-operationId-unique-error/snapshot.txt b/tests/e2e/lint/operation-operationId-unique-error/snapshot.txt similarity index 100% rename from __tests__/lint/operation-operationId-unique-error/snapshot.txt rename to tests/e2e/lint/operation-operationId-unique-error/snapshot.txt diff --git a/__tests__/lint/operation-operationId-unique-rule/openapi.yaml b/tests/e2e/lint/operation-operationId-unique-rule/openapi.yaml similarity index 100% rename from __tests__/lint/operation-operationId-unique-rule/openapi.yaml rename to tests/e2e/lint/operation-operationId-unique-rule/openapi.yaml diff --git a/__tests__/lint/operation-operationId-unique-rule/redocly.yaml b/tests/e2e/lint/operation-operationId-unique-rule/redocly.yaml similarity index 100% rename from __tests__/lint/operation-operationId-unique-rule/redocly.yaml rename to tests/e2e/lint/operation-operationId-unique-rule/redocly.yaml diff --git a/__tests__/lint/operation-operationId-unique-rule/snapshot.txt b/tests/e2e/lint/operation-operationId-unique-rule/snapshot.txt similarity index 100% rename from __tests__/lint/operation-operationId-unique-rule/snapshot.txt rename to tests/e2e/lint/operation-operationId-unique-rule/snapshot.txt diff --git a/__tests__/lint/operation-parameters-unique-rule/openapi.yaml b/tests/e2e/lint/operation-parameters-unique-rule/openapi.yaml similarity index 100% rename from __tests__/lint/operation-parameters-unique-rule/openapi.yaml rename to tests/e2e/lint/operation-parameters-unique-rule/openapi.yaml diff --git a/__tests__/lint/operation-parameters-unique-rule/redocly.yaml b/tests/e2e/lint/operation-parameters-unique-rule/redocly.yaml similarity index 100% rename from __tests__/lint/operation-parameters-unique-rule/redocly.yaml rename to tests/e2e/lint/operation-parameters-unique-rule/redocly.yaml diff --git a/__tests__/lint/operation-parameters-unique-rule/snapshot.txt b/tests/e2e/lint/operation-parameters-unique-rule/snapshot.txt similarity index 100% rename from __tests__/lint/operation-parameters-unique-rule/snapshot.txt rename to tests/e2e/lint/operation-parameters-unique-rule/snapshot.txt diff --git a/__tests__/lint/operation-security-defined-rule/openapi.yaml b/tests/e2e/lint/operation-security-defined-rule/openapi.yaml similarity index 100% rename from __tests__/lint/operation-security-defined-rule/openapi.yaml rename to tests/e2e/lint/operation-security-defined-rule/openapi.yaml diff --git a/__tests__/lint/operation-security-defined-rule/redocly.yaml b/tests/e2e/lint/operation-security-defined-rule/redocly.yaml similarity index 100% rename from __tests__/lint/operation-security-defined-rule/redocly.yaml rename to tests/e2e/lint/operation-security-defined-rule/redocly.yaml diff --git a/__tests__/lint/operation-security-defined-rule/snapshot.txt b/tests/e2e/lint/operation-security-defined-rule/snapshot.txt similarity index 100% rename from __tests__/lint/operation-security-defined-rule/snapshot.txt rename to tests/e2e/lint/operation-security-defined-rule/snapshot.txt diff --git a/__tests__/lint/operation-security-defined-warning/openapi.yaml b/tests/e2e/lint/operation-security-defined-warning/openapi.yaml similarity index 100% rename from __tests__/lint/operation-security-defined-warning/openapi.yaml rename to tests/e2e/lint/operation-security-defined-warning/openapi.yaml diff --git a/__tests__/lint/operation-security-defined-warning/redocly.yaml b/tests/e2e/lint/operation-security-defined-warning/redocly.yaml similarity index 100% rename from __tests__/lint/operation-security-defined-warning/redocly.yaml rename to tests/e2e/lint/operation-security-defined-warning/redocly.yaml diff --git a/__tests__/lint/operation-security-defined-warning/snapshot.txt b/tests/e2e/lint/operation-security-defined-warning/snapshot.txt similarity index 100% rename from __tests__/lint/operation-security-defined-warning/snapshot.txt rename to tests/e2e/lint/operation-security-defined-warning/snapshot.txt diff --git a/__tests__/lint/operation-security-scheme-oas2-error/openapi.yaml b/tests/e2e/lint/operation-security-scheme-oas2-error/openapi.yaml similarity index 100% rename from __tests__/lint/operation-security-scheme-oas2-error/openapi.yaml rename to tests/e2e/lint/operation-security-scheme-oas2-error/openapi.yaml diff --git a/__tests__/lint/operation-security-scheme-oas2-error/redocly.yaml b/tests/e2e/lint/operation-security-scheme-oas2-error/redocly.yaml similarity index 100% rename from __tests__/lint/operation-security-scheme-oas2-error/redocly.yaml rename to tests/e2e/lint/operation-security-scheme-oas2-error/redocly.yaml diff --git a/__tests__/lint/operation-security-scheme-oas2-error/snapshot.txt b/tests/e2e/lint/operation-security-scheme-oas2-error/snapshot.txt similarity index 100% rename from __tests__/lint/operation-security-scheme-oas2-error/snapshot.txt rename to tests/e2e/lint/operation-security-scheme-oas2-error/snapshot.txt diff --git a/__tests__/lint/operation-security-scheme-oas3-error/openapi.yaml b/tests/e2e/lint/operation-security-scheme-oas3-error/openapi.yaml similarity index 100% rename from __tests__/lint/operation-security-scheme-oas3-error/openapi.yaml rename to tests/e2e/lint/operation-security-scheme-oas3-error/openapi.yaml diff --git a/__tests__/lint/operation-security-scheme-oas3-error/redocly.yaml b/tests/e2e/lint/operation-security-scheme-oas3-error/redocly.yaml similarity index 100% rename from __tests__/lint/operation-security-scheme-oas3-error/redocly.yaml rename to tests/e2e/lint/operation-security-scheme-oas3-error/redocly.yaml diff --git a/__tests__/lint/operation-security-scheme-oas3-error/snapshot.txt b/tests/e2e/lint/operation-security-scheme-oas3-error/snapshot.txt similarity index 100% rename from __tests__/lint/operation-security-scheme-oas3-error/snapshot.txt rename to tests/e2e/lint/operation-security-scheme-oas3-error/snapshot.txt diff --git a/__tests__/lint/operation-tag-defined-rule/openapi.yaml b/tests/e2e/lint/operation-tag-defined-rule/openapi.yaml similarity index 100% rename from __tests__/lint/operation-tag-defined-rule/openapi.yaml rename to tests/e2e/lint/operation-tag-defined-rule/openapi.yaml diff --git a/__tests__/lint/operation-tag-defined-rule/redocly.yaml b/tests/e2e/lint/operation-tag-defined-rule/redocly.yaml similarity index 100% rename from __tests__/lint/operation-tag-defined-rule/redocly.yaml rename to tests/e2e/lint/operation-tag-defined-rule/redocly.yaml diff --git a/__tests__/lint/operation-tag-defined-rule/snapshot.txt b/tests/e2e/lint/operation-tag-defined-rule/snapshot.txt similarity index 100% rename from __tests__/lint/operation-tag-defined-rule/snapshot.txt rename to tests/e2e/lint/operation-tag-defined-rule/snapshot.txt diff --git a/__tests__/lint/parameter-description-rule/openapi.yaml b/tests/e2e/lint/parameter-description-rule/openapi.yaml similarity index 100% rename from __tests__/lint/parameter-description-rule/openapi.yaml rename to tests/e2e/lint/parameter-description-rule/openapi.yaml diff --git a/__tests__/lint/parameter-description-rule/redocly.yaml b/tests/e2e/lint/parameter-description-rule/redocly.yaml similarity index 100% rename from __tests__/lint/parameter-description-rule/redocly.yaml rename to tests/e2e/lint/parameter-description-rule/redocly.yaml diff --git a/__tests__/lint/parameter-description-rule/snapshot.txt b/tests/e2e/lint/parameter-description-rule/snapshot.txt similarity index 100% rename from __tests__/lint/parameter-description-rule/snapshot.txt rename to tests/e2e/lint/parameter-description-rule/snapshot.txt diff --git a/__tests__/lint/parameter-description-warning/openapi.yaml b/tests/e2e/lint/parameter-description-warning/openapi.yaml similarity index 100% rename from __tests__/lint/parameter-description-warning/openapi.yaml rename to tests/e2e/lint/parameter-description-warning/openapi.yaml diff --git a/__tests__/lint/parameter-description-warning/redocly.yaml b/tests/e2e/lint/parameter-description-warning/redocly.yaml similarity index 100% rename from __tests__/lint/parameter-description-warning/redocly.yaml rename to tests/e2e/lint/parameter-description-warning/redocly.yaml diff --git a/__tests__/lint/parameter-description-warning/snapshot.txt b/tests/e2e/lint/parameter-description-warning/snapshot.txt similarity index 100% rename from __tests__/lint/parameter-description-warning/snapshot.txt rename to tests/e2e/lint/parameter-description-warning/snapshot.txt diff --git a/__tests__/lint/path-declaration-must-exist-error/openapi.yaml b/tests/e2e/lint/path-declaration-must-exist-error/openapi.yaml similarity index 100% rename from __tests__/lint/path-declaration-must-exist-error/openapi.yaml rename to tests/e2e/lint/path-declaration-must-exist-error/openapi.yaml diff --git a/__tests__/lint/path-declaration-must-exist-error/redocly.yaml b/tests/e2e/lint/path-declaration-must-exist-error/redocly.yaml similarity index 100% rename from __tests__/lint/path-declaration-must-exist-error/redocly.yaml rename to tests/e2e/lint/path-declaration-must-exist-error/redocly.yaml diff --git a/__tests__/lint/path-declaration-must-exist-error/snapshot.txt b/tests/e2e/lint/path-declaration-must-exist-error/snapshot.txt similarity index 100% rename from __tests__/lint/path-declaration-must-exist-error/snapshot.txt rename to tests/e2e/lint/path-declaration-must-exist-error/snapshot.txt diff --git a/__tests__/lint/path-declaration-must-exist-rule/openapi.yaml b/tests/e2e/lint/path-declaration-must-exist-rule/openapi.yaml similarity index 100% rename from __tests__/lint/path-declaration-must-exist-rule/openapi.yaml rename to tests/e2e/lint/path-declaration-must-exist-rule/openapi.yaml diff --git a/__tests__/lint/path-declaration-must-exist-rule/redocly.yaml b/tests/e2e/lint/path-declaration-must-exist-rule/redocly.yaml similarity index 100% rename from __tests__/lint/path-declaration-must-exist-rule/redocly.yaml rename to tests/e2e/lint/path-declaration-must-exist-rule/redocly.yaml diff --git a/__tests__/lint/path-declaration-must-exist-rule/snapshot.txt b/tests/e2e/lint/path-declaration-must-exist-rule/snapshot.txt similarity index 100% rename from __tests__/lint/path-declaration-must-exist-rule/snapshot.txt rename to tests/e2e/lint/path-declaration-must-exist-rule/snapshot.txt diff --git a/__tests__/lint/path-not-include-query-error/openapi.yaml b/tests/e2e/lint/path-not-include-query-error/openapi.yaml similarity index 100% rename from __tests__/lint/path-not-include-query-error/openapi.yaml rename to tests/e2e/lint/path-not-include-query-error/openapi.yaml diff --git a/__tests__/lint/path-not-include-query-error/redocly.yaml b/tests/e2e/lint/path-not-include-query-error/redocly.yaml similarity index 100% rename from __tests__/lint/path-not-include-query-error/redocly.yaml rename to tests/e2e/lint/path-not-include-query-error/redocly.yaml diff --git a/__tests__/lint/path-not-include-query-error/snapshot.txt b/tests/e2e/lint/path-not-include-query-error/snapshot.txt similarity index 100% rename from __tests__/lint/path-not-include-query-error/snapshot.txt rename to tests/e2e/lint/path-not-include-query-error/snapshot.txt diff --git a/__tests__/lint/path-not-include-query-rule/openapi.yaml b/tests/e2e/lint/path-not-include-query-rule/openapi.yaml similarity index 100% rename from __tests__/lint/path-not-include-query-rule/openapi.yaml rename to tests/e2e/lint/path-not-include-query-rule/openapi.yaml diff --git a/__tests__/lint/path-not-include-query-rule/redocly.yaml b/tests/e2e/lint/path-not-include-query-rule/redocly.yaml similarity index 100% rename from __tests__/lint/path-not-include-query-rule/redocly.yaml rename to tests/e2e/lint/path-not-include-query-rule/redocly.yaml diff --git a/__tests__/lint/path-not-include-query-rule/snapshot.txt b/tests/e2e/lint/path-not-include-query-rule/snapshot.txt similarity index 100% rename from __tests__/lint/path-not-include-query-rule/snapshot.txt rename to tests/e2e/lint/path-not-include-query-rule/snapshot.txt diff --git a/__tests__/lint/path-parameters-defined-error/openapi.yaml b/tests/e2e/lint/path-parameters-defined-error/openapi.yaml similarity index 100% rename from __tests__/lint/path-parameters-defined-error/openapi.yaml rename to tests/e2e/lint/path-parameters-defined-error/openapi.yaml diff --git a/__tests__/lint/path-parameters-defined-error/redocly.yaml b/tests/e2e/lint/path-parameters-defined-error/redocly.yaml similarity index 100% rename from __tests__/lint/path-parameters-defined-error/redocly.yaml rename to tests/e2e/lint/path-parameters-defined-error/redocly.yaml diff --git a/__tests__/lint/path-parameters-defined-error/snapshot.txt b/tests/e2e/lint/path-parameters-defined-error/snapshot.txt similarity index 100% rename from __tests__/lint/path-parameters-defined-error/snapshot.txt rename to tests/e2e/lint/path-parameters-defined-error/snapshot.txt diff --git a/__tests__/lint/path-parameters-defined-rule/openapi.yaml b/tests/e2e/lint/path-parameters-defined-rule/openapi.yaml similarity index 100% rename from __tests__/lint/path-parameters-defined-rule/openapi.yaml rename to tests/e2e/lint/path-parameters-defined-rule/openapi.yaml diff --git a/__tests__/lint/path-parameters-defined-rule/redocly.yaml b/tests/e2e/lint/path-parameters-defined-rule/redocly.yaml similarity index 100% rename from __tests__/lint/path-parameters-defined-rule/redocly.yaml rename to tests/e2e/lint/path-parameters-defined-rule/redocly.yaml diff --git a/__tests__/lint/path-parameters-defined-rule/snapshot.txt b/tests/e2e/lint/path-parameters-defined-rule/snapshot.txt similarity index 100% rename from __tests__/lint/path-parameters-defined-rule/snapshot.txt rename to tests/e2e/lint/path-parameters-defined-rule/snapshot.txt diff --git a/__tests__/lint/path-segment-plural-error/openapi.yaml b/tests/e2e/lint/path-segment-plural-error/openapi.yaml similarity index 100% rename from __tests__/lint/path-segment-plural-error/openapi.yaml rename to tests/e2e/lint/path-segment-plural-error/openapi.yaml diff --git a/__tests__/lint/path-segment-plural-error/redocly.yaml b/tests/e2e/lint/path-segment-plural-error/redocly.yaml similarity index 100% rename from __tests__/lint/path-segment-plural-error/redocly.yaml rename to tests/e2e/lint/path-segment-plural-error/redocly.yaml diff --git a/__tests__/lint/path-segment-plural-error/snapshot.txt b/tests/e2e/lint/path-segment-plural-error/snapshot.txt similarity index 100% rename from __tests__/lint/path-segment-plural-error/snapshot.txt rename to tests/e2e/lint/path-segment-plural-error/snapshot.txt diff --git a/__tests__/lint/path-segment-plural/openapi.yaml b/tests/e2e/lint/path-segment-plural/openapi.yaml similarity index 100% rename from __tests__/lint/path-segment-plural/openapi.yaml rename to tests/e2e/lint/path-segment-plural/openapi.yaml diff --git a/__tests__/lint/path-segment-plural/redocly.yaml b/tests/e2e/lint/path-segment-plural/redocly.yaml similarity index 100% rename from __tests__/lint/path-segment-plural/redocly.yaml rename to tests/e2e/lint/path-segment-plural/redocly.yaml diff --git a/__tests__/lint/path-segment-plural/snapshot.txt b/tests/e2e/lint/path-segment-plural/snapshot.txt similarity index 100% rename from __tests__/lint/path-segment-plural/snapshot.txt rename to tests/e2e/lint/path-segment-plural/snapshot.txt diff --git a/__tests__/lint/request-response-mime-type-oas2-error/openapi.yaml b/tests/e2e/lint/request-response-mime-type-oas2-error/openapi.yaml similarity index 100% rename from __tests__/lint/request-response-mime-type-oas2-error/openapi.yaml rename to tests/e2e/lint/request-response-mime-type-oas2-error/openapi.yaml diff --git a/__tests__/lint/request-response-mime-type-oas2-error/redocly.yaml b/tests/e2e/lint/request-response-mime-type-oas2-error/redocly.yaml similarity index 100% rename from __tests__/lint/request-response-mime-type-oas2-error/redocly.yaml rename to tests/e2e/lint/request-response-mime-type-oas2-error/redocly.yaml diff --git a/__tests__/lint/request-response-mime-type-oas2-error/snapshot.txt b/tests/e2e/lint/request-response-mime-type-oas2-error/snapshot.txt similarity index 100% rename from __tests__/lint/request-response-mime-type-oas2-error/snapshot.txt rename to tests/e2e/lint/request-response-mime-type-oas2-error/snapshot.txt diff --git a/__tests__/lint/request-response-mime-type-oas3-error/openapi.yaml b/tests/e2e/lint/request-response-mime-type-oas3-error/openapi.yaml similarity index 100% rename from __tests__/lint/request-response-mime-type-oas3-error/openapi.yaml rename to tests/e2e/lint/request-response-mime-type-oas3-error/openapi.yaml diff --git a/__tests__/lint/request-response-mime-type-oas3-error/redocly.yaml b/tests/e2e/lint/request-response-mime-type-oas3-error/redocly.yaml similarity index 100% rename from __tests__/lint/request-response-mime-type-oas3-error/redocly.yaml rename to tests/e2e/lint/request-response-mime-type-oas3-error/redocly.yaml diff --git a/__tests__/lint/request-response-mime-type-oas3-error/snapshot.txt b/tests/e2e/lint/request-response-mime-type-oas3-error/snapshot.txt similarity index 100% rename from __tests__/lint/request-response-mime-type-oas3-error/snapshot.txt rename to tests/e2e/lint/request-response-mime-type-oas3-error/snapshot.txt diff --git a/__tests__/lint/request-response-mime-type-oas3.1-error/openapi.yaml b/tests/e2e/lint/request-response-mime-type-oas3.1-error/openapi.yaml similarity index 100% rename from __tests__/lint/request-response-mime-type-oas3.1-error/openapi.yaml rename to tests/e2e/lint/request-response-mime-type-oas3.1-error/openapi.yaml diff --git a/__tests__/lint/request-response-mime-type-oas3.1-error/redocly.yaml b/tests/e2e/lint/request-response-mime-type-oas3.1-error/redocly.yaml similarity index 100% rename from __tests__/lint/request-response-mime-type-oas3.1-error/redocly.yaml rename to tests/e2e/lint/request-response-mime-type-oas3.1-error/redocly.yaml diff --git a/__tests__/lint/request-response-mime-type-oas3.1-error/snapshot.txt b/tests/e2e/lint/request-response-mime-type-oas3.1-error/snapshot.txt similarity index 100% rename from __tests__/lint/request-response-mime-type-oas3.1-error/snapshot.txt rename to tests/e2e/lint/request-response-mime-type-oas3.1-error/snapshot.txt diff --git a/__tests__/lint/required-string-property-missing-min-length/openapi.yaml b/tests/e2e/lint/required-string-property-missing-min-length/openapi.yaml similarity index 100% rename from __tests__/lint/required-string-property-missing-min-length/openapi.yaml rename to tests/e2e/lint/required-string-property-missing-min-length/openapi.yaml diff --git a/__tests__/lint/required-string-property-missing-min-length/redocly.yaml b/tests/e2e/lint/required-string-property-missing-min-length/redocly.yaml similarity index 100% rename from __tests__/lint/required-string-property-missing-min-length/redocly.yaml rename to tests/e2e/lint/required-string-property-missing-min-length/redocly.yaml diff --git a/__tests__/lint/required-string-property-missing-min-length/snapshot.txt b/tests/e2e/lint/required-string-property-missing-min-length/snapshot.txt similarity index 100% rename from __tests__/lint/required-string-property-missing-min-length/snapshot.txt rename to tests/e2e/lint/required-string-property-missing-min-length/snapshot.txt diff --git a/__tests__/lint/skip-rules/openapi.yaml b/tests/e2e/lint/skip-rules/openapi.yaml similarity index 100% rename from __tests__/lint/skip-rules/openapi.yaml rename to tests/e2e/lint/skip-rules/openapi.yaml diff --git a/__tests__/lint/skip-rules/redocly.yaml b/tests/e2e/lint/skip-rules/redocly.yaml similarity index 100% rename from __tests__/lint/skip-rules/redocly.yaml rename to tests/e2e/lint/skip-rules/redocly.yaml diff --git a/__tests__/lint/skip-rules/snapshot.txt b/tests/e2e/lint/skip-rules/snapshot.txt similarity index 100% rename from __tests__/lint/skip-rules/snapshot.txt rename to tests/e2e/lint/skip-rules/snapshot.txt diff --git a/__tests__/lint/skip-rules/snapshot_2.txt b/tests/e2e/lint/skip-rules/snapshot_2.txt similarity index 100% rename from __tests__/lint/skip-rules/snapshot_2.txt rename to tests/e2e/lint/skip-rules/snapshot_2.txt diff --git a/__tests__/lint/spec-error-if-minimum-not-correct/openapi.yaml b/tests/e2e/lint/spec-error-if-minimum-not-correct/openapi.yaml similarity index 100% rename from __tests__/lint/spec-error-if-minimum-not-correct/openapi.yaml rename to tests/e2e/lint/spec-error-if-minimum-not-correct/openapi.yaml diff --git a/__tests__/lint/spec-error-if-minimum-not-correct/redocly.yaml b/tests/e2e/lint/spec-error-if-minimum-not-correct/redocly.yaml similarity index 100% rename from __tests__/lint/spec-error-if-minimum-not-correct/redocly.yaml rename to tests/e2e/lint/spec-error-if-minimum-not-correct/redocly.yaml diff --git a/__tests__/lint/spec-error-if-minimum-not-correct/snapshot.txt b/tests/e2e/lint/spec-error-if-minimum-not-correct/snapshot.txt similarity index 100% rename from __tests__/lint/spec-error-if-minimum-not-correct/snapshot.txt rename to tests/e2e/lint/spec-error-if-minimum-not-correct/snapshot.txt diff --git a/__tests__/lint/spec-from/openapi.yaml b/tests/e2e/lint/spec-from/openapi.yaml similarity index 100% rename from __tests__/lint/spec-from/openapi.yaml rename to tests/e2e/lint/spec-from/openapi.yaml diff --git a/__tests__/lint/spec-from/redocly.yaml b/tests/e2e/lint/spec-from/redocly.yaml similarity index 100% rename from __tests__/lint/spec-from/redocly.yaml rename to tests/e2e/lint/spec-from/redocly.yaml diff --git a/__tests__/lint/spec-from/snapshot.txt b/tests/e2e/lint/spec-from/snapshot.txt similarity index 100% rename from __tests__/lint/spec-from/snapshot.txt rename to tests/e2e/lint/spec-from/snapshot.txt diff --git a/__tests__/lint/spec-json-schema-validation-dependentRequired/openapi.yaml b/tests/e2e/lint/spec-json-schema-validation-dependentRequired/openapi.yaml similarity index 100% rename from __tests__/lint/spec-json-schema-validation-dependentRequired/openapi.yaml rename to tests/e2e/lint/spec-json-schema-validation-dependentRequired/openapi.yaml diff --git a/__tests__/lint/spec-json-schema-validation-dependentRequired/redocly.yaml b/tests/e2e/lint/spec-json-schema-validation-dependentRequired/redocly.yaml similarity index 100% rename from __tests__/lint/spec-json-schema-validation-dependentRequired/redocly.yaml rename to tests/e2e/lint/spec-json-schema-validation-dependentRequired/redocly.yaml diff --git a/__tests__/lint/spec-json-schema-validation-dependentRequired/snapshot.txt b/tests/e2e/lint/spec-json-schema-validation-dependentRequired/snapshot.txt similarity index 100% rename from __tests__/lint/spec-json-schema-validation-dependentRequired/snapshot.txt rename to tests/e2e/lint/spec-json-schema-validation-dependentRequired/snapshot.txt diff --git a/__tests__/lint/spec-strict-refs/info.yaml b/tests/e2e/lint/spec-strict-refs/info.yaml similarity index 100% rename from __tests__/lint/spec-strict-refs/info.yaml rename to tests/e2e/lint/spec-strict-refs/info.yaml diff --git a/__tests__/lint/spec-strict-refs/openapi.yaml b/tests/e2e/lint/spec-strict-refs/openapi.yaml similarity index 100% rename from __tests__/lint/spec-strict-refs/openapi.yaml rename to tests/e2e/lint/spec-strict-refs/openapi.yaml diff --git a/__tests__/lint/spec-strict-refs/props.yaml b/tests/e2e/lint/spec-strict-refs/props.yaml similarity index 100% rename from __tests__/lint/spec-strict-refs/props.yaml rename to tests/e2e/lint/spec-strict-refs/props.yaml diff --git a/__tests__/lint/spec-strict-refs/redocly.yaml b/tests/e2e/lint/spec-strict-refs/redocly.yaml similarity index 100% rename from __tests__/lint/spec-strict-refs/redocly.yaml rename to tests/e2e/lint/spec-strict-refs/redocly.yaml diff --git a/__tests__/lint/spec-strict-refs/snapshot.txt b/tests/e2e/lint/spec-strict-refs/snapshot.txt similarity index 100% rename from __tests__/lint/spec-strict-refs/snapshot.txt rename to tests/e2e/lint/spec-strict-refs/snapshot.txt diff --git a/__tests__/lint/tags-alphabetical-rule/openapi.yaml b/tests/e2e/lint/tags-alphabetical-rule/openapi.yaml similarity index 100% rename from __tests__/lint/tags-alphabetical-rule/openapi.yaml rename to tests/e2e/lint/tags-alphabetical-rule/openapi.yaml diff --git a/__tests__/lint/tags-alphabetical-rule/redocly.yaml b/tests/e2e/lint/tags-alphabetical-rule/redocly.yaml similarity index 100% rename from __tests__/lint/tags-alphabetical-rule/redocly.yaml rename to tests/e2e/lint/tags-alphabetical-rule/redocly.yaml diff --git a/__tests__/lint/tags-alphabetical-rule/snapshot.txt b/tests/e2e/lint/tags-alphabetical-rule/snapshot.txt similarity index 100% rename from __tests__/lint/tags-alphabetical-rule/snapshot.txt rename to tests/e2e/lint/tags-alphabetical-rule/snapshot.txt diff --git a/__tests__/lint/tags-alphabetical-warning/openapi.yaml b/tests/e2e/lint/tags-alphabetical-warning/openapi.yaml similarity index 100% rename from __tests__/lint/tags-alphabetical-warning/openapi.yaml rename to tests/e2e/lint/tags-alphabetical-warning/openapi.yaml diff --git a/__tests__/lint/tags-alphabetical-warning/redocly.yaml b/tests/e2e/lint/tags-alphabetical-warning/redocly.yaml similarity index 100% rename from __tests__/lint/tags-alphabetical-warning/redocly.yaml rename to tests/e2e/lint/tags-alphabetical-warning/redocly.yaml diff --git a/__tests__/lint/tags-alphabetical-warning/snapshot.txt b/tests/e2e/lint/tags-alphabetical-warning/snapshot.txt similarity index 100% rename from __tests__/lint/tags-alphabetical-warning/snapshot.txt rename to tests/e2e/lint/tags-alphabetical-warning/snapshot.txt diff --git a/__tests__/lint/test-unused-component/openapi.yaml b/tests/e2e/lint/test-unused-component/openapi.yaml similarity index 100% rename from __tests__/lint/test-unused-component/openapi.yaml rename to tests/e2e/lint/test-unused-component/openapi.yaml diff --git a/__tests__/lint/test-unused-component/redocly.yaml b/tests/e2e/lint/test-unused-component/redocly.yaml similarity index 100% rename from __tests__/lint/test-unused-component/redocly.yaml rename to tests/e2e/lint/test-unused-component/redocly.yaml diff --git a/__tests__/lint/test-unused-component/snapshot.txt b/tests/e2e/lint/test-unused-component/snapshot.txt similarity index 100% rename from __tests__/lint/test-unused-component/snapshot.txt rename to tests/e2e/lint/test-unused-component/snapshot.txt diff --git a/__tests__/lint/turn-off-rules/openapi.yaml b/tests/e2e/lint/turn-off-rules/openapi.yaml similarity index 100% rename from __tests__/lint/turn-off-rules/openapi.yaml rename to tests/e2e/lint/turn-off-rules/openapi.yaml diff --git a/__tests__/lint/turn-off-rules/redocly.yaml b/tests/e2e/lint/turn-off-rules/redocly.yaml similarity index 100% rename from __tests__/lint/turn-off-rules/redocly.yaml rename to tests/e2e/lint/turn-off-rules/redocly.yaml diff --git a/__tests__/lint/turn-off-rules/snapshot.txt b/tests/e2e/lint/turn-off-rules/snapshot.txt similarity index 100% rename from __tests__/lint/turn-off-rules/snapshot.txt rename to tests/e2e/lint/turn-off-rules/snapshot.txt diff --git a/__tests__/lint/turn-on-all-rules/openapi.yaml b/tests/e2e/lint/turn-on-all-rules/openapi.yaml similarity index 100% rename from __tests__/lint/turn-on-all-rules/openapi.yaml rename to tests/e2e/lint/turn-on-all-rules/openapi.yaml diff --git a/__tests__/lint/turn-on-all-rules/redocly.yaml b/tests/e2e/lint/turn-on-all-rules/redocly.yaml similarity index 100% rename from __tests__/lint/turn-on-all-rules/redocly.yaml rename to tests/e2e/lint/turn-on-all-rules/redocly.yaml diff --git a/__tests__/lint/turn-on-all-rules/snapshot.txt b/tests/e2e/lint/turn-on-all-rules/snapshot.txt similarity index 100% rename from __tests__/lint/turn-on-all-rules/snapshot.txt rename to tests/e2e/lint/turn-on-all-rules/snapshot.txt diff --git a/__tests__/lint/validate-schema-formats/openapi.yaml b/tests/e2e/lint/validate-schema-formats/openapi.yaml similarity index 100% rename from __tests__/lint/validate-schema-formats/openapi.yaml rename to tests/e2e/lint/validate-schema-formats/openapi.yaml diff --git a/__tests__/lint/validate-schema-formats/redocly.yaml b/tests/e2e/lint/validate-schema-formats/redocly.yaml similarity index 100% rename from __tests__/lint/validate-schema-formats/redocly.yaml rename to tests/e2e/lint/validate-schema-formats/redocly.yaml diff --git a/__tests__/lint/validate-schema-formats/snapshot.txt b/tests/e2e/lint/validate-schema-formats/snapshot.txt similarity index 100% rename from __tests__/lint/validate-schema-formats/snapshot.txt rename to tests/e2e/lint/validate-schema-formats/snapshot.txt diff --git a/__tests__/lint/with-ignore-file/.redocly.lint-ignore.yaml b/tests/e2e/lint/with-ignore-file/.redocly.lint-ignore.yaml similarity index 100% rename from __tests__/lint/with-ignore-file/.redocly.lint-ignore.yaml rename to tests/e2e/lint/with-ignore-file/.redocly.lint-ignore.yaml diff --git a/__tests__/lint/with-ignore-file/openapi.yaml b/tests/e2e/lint/with-ignore-file/openapi.yaml similarity index 100% rename from __tests__/lint/with-ignore-file/openapi.yaml rename to tests/e2e/lint/with-ignore-file/openapi.yaml diff --git a/__tests__/lint/with-ignore-file/redocly.yaml b/tests/e2e/lint/with-ignore-file/redocly.yaml similarity index 100% rename from __tests__/lint/with-ignore-file/redocly.yaml rename to tests/e2e/lint/with-ignore-file/redocly.yaml diff --git a/__tests__/lint/with-ignore-file/snapshot.txt b/tests/e2e/lint/with-ignore-file/snapshot.txt similarity index 100% rename from __tests__/lint/with-ignore-file/snapshot.txt rename to tests/e2e/lint/with-ignore-file/snapshot.txt diff --git a/__tests__/lint/wrong-required-type/openapi.yaml b/tests/e2e/lint/wrong-required-type/openapi.yaml similarity index 100% rename from __tests__/lint/wrong-required-type/openapi.yaml rename to tests/e2e/lint/wrong-required-type/openapi.yaml diff --git a/__tests__/lint/wrong-required-type/redocly.yaml b/tests/e2e/lint/wrong-required-type/redocly.yaml similarity index 100% rename from __tests__/lint/wrong-required-type/redocly.yaml rename to tests/e2e/lint/wrong-required-type/redocly.yaml diff --git a/__tests__/lint/wrong-required-type/snapshot.txt b/tests/e2e/lint/wrong-required-type/snapshot.txt similarity index 100% rename from __tests__/lint/wrong-required-type/snapshot.txt rename to tests/e2e/lint/wrong-required-type/snapshot.txt diff --git a/__tests__/miscellaneous/apply-per-api-decorators/nested/openapi/main.yaml b/tests/e2e/miscellaneous/apply-per-api-decorators/nested/openapi/main.yaml similarity index 100% rename from __tests__/miscellaneous/apply-per-api-decorators/nested/openapi/main.yaml rename to tests/e2e/miscellaneous/apply-per-api-decorators/nested/openapi/main.yaml diff --git a/__tests__/miscellaneous/apply-per-api-decorators/nested/plugins/decorators/version.cjs b/tests/e2e/miscellaneous/apply-per-api-decorators/nested/plugins/decorators/version.cjs similarity index 100% rename from __tests__/miscellaneous/apply-per-api-decorators/nested/plugins/decorators/version.cjs rename to tests/e2e/miscellaneous/apply-per-api-decorators/nested/plugins/decorators/version.cjs diff --git a/__tests__/miscellaneous/apply-per-api-decorators/nested/plugins/test.cjs b/tests/e2e/miscellaneous/apply-per-api-decorators/nested/plugins/test.cjs similarity index 100% rename from __tests__/miscellaneous/apply-per-api-decorators/nested/plugins/test.cjs rename to tests/e2e/miscellaneous/apply-per-api-decorators/nested/plugins/test.cjs diff --git a/__tests__/miscellaneous/apply-per-api-decorators/nested/redocly.yaml b/tests/e2e/miscellaneous/apply-per-api-decorators/nested/redocly.yaml similarity index 100% rename from __tests__/miscellaneous/apply-per-api-decorators/nested/redocly.yaml rename to tests/e2e/miscellaneous/apply-per-api-decorators/nested/redocly.yaml diff --git a/__tests__/miscellaneous/apply-per-api-decorators/snapshot.txt b/tests/e2e/miscellaneous/apply-per-api-decorators/snapshot.txt similarity index 100% rename from __tests__/miscellaneous/apply-per-api-decorators/snapshot.txt rename to tests/e2e/miscellaneous/apply-per-api-decorators/snapshot.txt diff --git a/__tests__/miscellaneous/apply-per-api-decorators/snapshot_2.txt b/tests/e2e/miscellaneous/apply-per-api-decorators/snapshot_2.txt similarity index 100% rename from __tests__/miscellaneous/apply-per-api-decorators/snapshot_2.txt rename to tests/e2e/miscellaneous/apply-per-api-decorators/snapshot_2.txt diff --git a/__tests__/miscellaneous/apply-per-api-decorators/snapshot_3.txt b/tests/e2e/miscellaneous/apply-per-api-decorators/snapshot_3.txt similarity index 100% rename from __tests__/miscellaneous/apply-per-api-decorators/snapshot_3.txt rename to tests/e2e/miscellaneous/apply-per-api-decorators/snapshot_3.txt diff --git a/__tests__/miscellaneous/apply-per-api-decorators/snapshot_4.txt b/tests/e2e/miscellaneous/apply-per-api-decorators/snapshot_4.txt similarity index 100% rename from __tests__/miscellaneous/apply-per-api-decorators/snapshot_4.txt rename to tests/e2e/miscellaneous/apply-per-api-decorators/snapshot_4.txt diff --git a/__tests__/miscellaneous/resolve-plugins/openapi.yaml b/tests/e2e/miscellaneous/resolve-plugins/openapi.yaml similarity index 100% rename from __tests__/miscellaneous/resolve-plugins/openapi.yaml rename to tests/e2e/miscellaneous/resolve-plugins/openapi.yaml diff --git a/__tests__/miscellaneous/resolve-plugins/plugin-config.yaml b/tests/e2e/miscellaneous/resolve-plugins/plugin-config.yaml similarity index 60% rename from __tests__/miscellaneous/resolve-plugins/plugin-config.yaml rename to tests/e2e/miscellaneous/resolve-plugins/plugin-config.yaml index ecb534e0a0..836e05061c 100644 --- a/__tests__/miscellaneous/resolve-plugins/plugin-config.yaml +++ b/tests/e2e/miscellaneous/resolve-plugins/plugin-config.yaml @@ -1,5 +1,5 @@ plugins: - - '../../../packages/core/src/config/__tests__/fixtures/plugin.cjs' + - '../../../../packages/core/src/config/__tests__/fixtures/plugin.cjs' decorators: test-plugin/inject-x-stats: on rules: diff --git a/__tests__/miscellaneous/resolve-plugins/snapshot.txt b/tests/e2e/miscellaneous/resolve-plugins/snapshot.txt similarity index 100% rename from __tests__/miscellaneous/resolve-plugins/snapshot.txt rename to tests/e2e/miscellaneous/resolve-plugins/snapshot.txt diff --git a/__tests__/miscellaneous/resolve-plugins/snapshot_2.txt b/tests/e2e/miscellaneous/resolve-plugins/snapshot_2.txt similarity index 100% rename from __tests__/miscellaneous/resolve-plugins/snapshot_2.txt rename to tests/e2e/miscellaneous/resolve-plugins/snapshot_2.txt diff --git a/__tests__/miscellaneous/resolve-refs-in-preprocessors/bad-request-error.response.yaml b/tests/e2e/miscellaneous/resolve-refs-in-preprocessors/bad-request-error.response.yaml similarity index 100% rename from __tests__/miscellaneous/resolve-refs-in-preprocessors/bad-request-error.response.yaml rename to tests/e2e/miscellaneous/resolve-refs-in-preprocessors/bad-request-error.response.yaml diff --git a/__tests__/miscellaneous/resolve-refs-in-preprocessors/error-schema.yaml b/tests/e2e/miscellaneous/resolve-refs-in-preprocessors/error-schema.yaml similarity index 100% rename from __tests__/miscellaneous/resolve-refs-in-preprocessors/error-schema.yaml rename to tests/e2e/miscellaneous/resolve-refs-in-preprocessors/error-schema.yaml diff --git a/__tests__/miscellaneous/resolve-refs-in-preprocessors/nested/status.yaml b/tests/e2e/miscellaneous/resolve-refs-in-preprocessors/nested/status.yaml similarity index 100% rename from __tests__/miscellaneous/resolve-refs-in-preprocessors/nested/status.yaml rename to tests/e2e/miscellaneous/resolve-refs-in-preprocessors/nested/status.yaml diff --git a/__tests__/miscellaneous/resolve-refs-in-preprocessors/openapi.yaml b/tests/e2e/miscellaneous/resolve-refs-in-preprocessors/openapi.yaml similarity index 100% rename from __tests__/miscellaneous/resolve-refs-in-preprocessors/openapi.yaml rename to tests/e2e/miscellaneous/resolve-refs-in-preprocessors/openapi.yaml diff --git a/__tests__/miscellaneous/resolve-refs-in-preprocessors/plugin.cjs b/tests/e2e/miscellaneous/resolve-refs-in-preprocessors/plugin.cjs similarity index 100% rename from __tests__/miscellaneous/resolve-refs-in-preprocessors/plugin.cjs rename to tests/e2e/miscellaneous/resolve-refs-in-preprocessors/plugin.cjs diff --git a/__tests__/miscellaneous/resolve-refs-in-preprocessors/redocly.yaml b/tests/e2e/miscellaneous/resolve-refs-in-preprocessors/redocly.yaml similarity index 100% rename from __tests__/miscellaneous/resolve-refs-in-preprocessors/redocly.yaml rename to tests/e2e/miscellaneous/resolve-refs-in-preprocessors/redocly.yaml diff --git a/__tests__/miscellaneous/resolve-refs-in-preprocessors/snapshot.txt b/tests/e2e/miscellaneous/resolve-refs-in-preprocessors/snapshot.txt similarity index 100% rename from __tests__/miscellaneous/resolve-refs-in-preprocessors/snapshot.txt rename to tests/e2e/miscellaneous/resolve-refs-in-preprocessors/snapshot.txt diff --git a/__tests__/miscellaneous/resolve-refs-in-preprocessors/snapshot_2.txt b/tests/e2e/miscellaneous/resolve-refs-in-preprocessors/snapshot_2.txt similarity index 100% rename from __tests__/miscellaneous/resolve-refs-in-preprocessors/snapshot_2.txt rename to tests/e2e/miscellaneous/resolve-refs-in-preprocessors/snapshot_2.txt diff --git a/__tests__/miscellaneous/resolve-refs-in-preprocessors/snapshot_3.txt b/tests/e2e/miscellaneous/resolve-refs-in-preprocessors/snapshot_3.txt similarity index 100% rename from __tests__/miscellaneous/resolve-refs-in-preprocessors/snapshot_3.txt rename to tests/e2e/miscellaneous/resolve-refs-in-preprocessors/snapshot_3.txt diff --git a/__tests__/miscellaneous/resolve-refs-in-preprocessors/successful-request.response.yaml b/tests/e2e/miscellaneous/resolve-refs-in-preprocessors/successful-request.response.yaml similarity index 100% rename from __tests__/miscellaneous/resolve-refs-in-preprocessors/successful-request.response.yaml rename to tests/e2e/miscellaneous/resolve-refs-in-preprocessors/successful-request.response.yaml diff --git a/__tests__/respect/case-insensitive-headers/__snapshots__/case-insensitive-headers.test.ts.snap b/tests/e2e/respect/case-insensitive-headers/__snapshots__/case-insensitive-headers.test.ts.snap similarity index 100% rename from __tests__/respect/case-insensitive-headers/__snapshots__/case-insensitive-headers.test.ts.snap rename to tests/e2e/respect/case-insensitive-headers/__snapshots__/case-insensitive-headers.test.ts.snap diff --git a/__tests__/respect/case-insensitive-headers/case-insensitive-headers.arazzo.yaml b/tests/e2e/respect/case-insensitive-headers/case-insensitive-headers.arazzo.yaml similarity index 100% rename from __tests__/respect/case-insensitive-headers/case-insensitive-headers.arazzo.yaml rename to tests/e2e/respect/case-insensitive-headers/case-insensitive-headers.arazzo.yaml diff --git a/__tests__/respect/case-insensitive-headers/case-insensitive-headers.test.ts b/tests/e2e/respect/case-insensitive-headers/case-insensitive-headers.test.ts similarity index 100% rename from __tests__/respect/case-insensitive-headers/case-insensitive-headers.test.ts rename to tests/e2e/respect/case-insensitive-headers/case-insensitive-headers.test.ts diff --git a/__tests__/respect/cat-fact-api/__snapshots__/cat-fact-api.test.ts.snap b/tests/e2e/respect/cat-fact-api/__snapshots__/cat-fact-api.test.ts.snap similarity index 100% rename from __tests__/respect/cat-fact-api/__snapshots__/cat-fact-api.test.ts.snap rename to tests/e2e/respect/cat-fact-api/__snapshots__/cat-fact-api.test.ts.snap diff --git a/__tests__/respect/cat-fact-api/auto-cat.arazzo.yaml b/tests/e2e/respect/cat-fact-api/auto-cat.arazzo.yaml similarity index 100% rename from __tests__/respect/cat-fact-api/auto-cat.arazzo.yaml rename to tests/e2e/respect/cat-fact-api/auto-cat.arazzo.yaml diff --git a/__tests__/respect/cat-fact-api/cat-fact-api.test.ts b/tests/e2e/respect/cat-fact-api/cat-fact-api.test.ts similarity index 100% rename from __tests__/respect/cat-fact-api/cat-fact-api.test.ts rename to tests/e2e/respect/cat-fact-api/cat-fact-api.test.ts diff --git a/__tests__/respect/cat-fact-api/cats.yaml b/tests/e2e/respect/cat-fact-api/cats.yaml similarity index 100% rename from __tests__/respect/cat-fact-api/cats.yaml rename to tests/e2e/respect/cat-fact-api/cats.yaml diff --git a/__tests__/respect/consider-severity-in-next-step-execution/__snapshots__/consider-severity-in-next-step-execution.test.ts.snap b/tests/e2e/respect/consider-severity-in-next-step-execution/__snapshots__/consider-severity-in-next-step-execution.test.ts.snap similarity index 100% rename from __tests__/respect/consider-severity-in-next-step-execution/__snapshots__/consider-severity-in-next-step-execution.test.ts.snap rename to tests/e2e/respect/consider-severity-in-next-step-execution/__snapshots__/consider-severity-in-next-step-execution.test.ts.snap diff --git a/__tests__/respect/consider-severity-in-next-step-execution/consider-severity-in-next-step-execution.arazzo.yaml b/tests/e2e/respect/consider-severity-in-next-step-execution/consider-severity-in-next-step-execution.arazzo.yaml similarity index 100% rename from __tests__/respect/consider-severity-in-next-step-execution/consider-severity-in-next-step-execution.arazzo.yaml rename to tests/e2e/respect/consider-severity-in-next-step-execution/consider-severity-in-next-step-execution.arazzo.yaml diff --git a/__tests__/respect/consider-severity-in-next-step-execution/consider-severity-in-next-step-execution.test.ts b/tests/e2e/respect/consider-severity-in-next-step-execution/consider-severity-in-next-step-execution.test.ts similarity index 100% rename from __tests__/respect/consider-severity-in-next-step-execution/consider-severity-in-next-step-execution.test.ts rename to tests/e2e/respect/consider-severity-in-next-step-execution/consider-severity-in-next-step-execution.test.ts diff --git a/__tests__/respect/free-apis/__snapshots__/free-apis.test.ts.snap b/tests/e2e/respect/free-apis/__snapshots__/free-apis.test.ts.snap similarity index 100% rename from __tests__/respect/free-apis/__snapshots__/free-apis.test.ts.snap rename to tests/e2e/respect/free-apis/__snapshots__/free-apis.test.ts.snap diff --git a/__tests__/respect/free-apis/free-apis.test.ts b/tests/e2e/respect/free-apis/free-apis.test.ts similarity index 100% rename from __tests__/respect/free-apis/free-apis.test.ts rename to tests/e2e/respect/free-apis/free-apis.test.ts diff --git a/__tests__/respect/free-apis/free.arazzo.yaml b/tests/e2e/respect/free-apis/free.arazzo.yaml similarity index 100% rename from __tests__/respect/free-apis/free.arazzo.yaml rename to tests/e2e/respect/free-apis/free.arazzo.yaml diff --git a/__tests__/respect/free-apis/testing-acme.yaml b/tests/e2e/respect/free-apis/testing-acme.yaml similarity index 100% rename from __tests__/respect/free-apis/testing-acme.yaml rename to tests/e2e/respect/free-apis/testing-acme.yaml diff --git a/__tests__/respect/implicit/__snapshots__/implicit.test.ts.snap b/tests/e2e/respect/implicit/__snapshots__/implicit.test.ts.snap similarity index 100% rename from __tests__/respect/implicit/__snapshots__/implicit.test.ts.snap rename to tests/e2e/respect/implicit/__snapshots__/implicit.test.ts.snap diff --git a/__tests__/respect/implicit/implicit.arazzo.yaml b/tests/e2e/respect/implicit/implicit.arazzo.yaml similarity index 100% rename from __tests__/respect/implicit/implicit.arazzo.yaml rename to tests/e2e/respect/implicit/implicit.arazzo.yaml diff --git a/__tests__/respect/implicit/implicit.test.ts b/tests/e2e/respect/implicit/implicit.test.ts similarity index 100% rename from __tests__/respect/implicit/implicit.test.ts rename to tests/e2e/respect/implicit/implicit.test.ts diff --git a/__tests__/respect/implicit/testing-acme.yaml b/tests/e2e/respect/implicit/testing-acme.yaml similarity index 100% rename from __tests__/respect/implicit/testing-acme.yaml rename to tests/e2e/respect/implicit/testing-acme.yaml diff --git a/__tests__/respect/inputs-passed-to-step-target-workflow-and-remapped/__snapshots__/inputs-passed-to-step-target-workflow-and-remapped.test.ts.snap b/tests/e2e/respect/inputs-passed-to-step-target-workflow-and-remapped/__snapshots__/inputs-passed-to-step-target-workflow-and-remapped.test.ts.snap similarity index 100% rename from __tests__/respect/inputs-passed-to-step-target-workflow-and-remapped/__snapshots__/inputs-passed-to-step-target-workflow-and-remapped.test.ts.snap rename to tests/e2e/respect/inputs-passed-to-step-target-workflow-and-remapped/__snapshots__/inputs-passed-to-step-target-workflow-and-remapped.test.ts.snap diff --git a/__tests__/respect/inputs-passed-to-step-target-workflow-and-remapped/events.arazzo.yaml b/tests/e2e/respect/inputs-passed-to-step-target-workflow-and-remapped/events.arazzo.yaml similarity index 100% rename from __tests__/respect/inputs-passed-to-step-target-workflow-and-remapped/events.arazzo.yaml rename to tests/e2e/respect/inputs-passed-to-step-target-workflow-and-remapped/events.arazzo.yaml diff --git a/__tests__/respect/inputs-passed-to-step-target-workflow-and-remapped/inputs-passed-to-step-target-workflow-and-remapped.arazzo.yaml b/tests/e2e/respect/inputs-passed-to-step-target-workflow-and-remapped/inputs-passed-to-step-target-workflow-and-remapped.arazzo.yaml similarity index 100% rename from __tests__/respect/inputs-passed-to-step-target-workflow-and-remapped/inputs-passed-to-step-target-workflow-and-remapped.arazzo.yaml rename to tests/e2e/respect/inputs-passed-to-step-target-workflow-and-remapped/inputs-passed-to-step-target-workflow-and-remapped.arazzo.yaml diff --git a/__tests__/respect/inputs-passed-to-step-target-workflow-and-remapped/inputs-passed-to-step-target-workflow-and-remapped.test.ts b/tests/e2e/respect/inputs-passed-to-step-target-workflow-and-remapped/inputs-passed-to-step-target-workflow-and-remapped.test.ts similarity index 100% rename from __tests__/respect/inputs-passed-to-step-target-workflow-and-remapped/inputs-passed-to-step-target-workflow-and-remapped.test.ts rename to tests/e2e/respect/inputs-passed-to-step-target-workflow-and-remapped/inputs-passed-to-step-target-workflow-and-remapped.test.ts diff --git a/__tests__/respect/inputs-passed-to-step-target-workflow/__snapshots__/inputs-passed-to-step-target-workflow.test.ts.snap b/tests/e2e/respect/inputs-passed-to-step-target-workflow/__snapshots__/inputs-passed-to-step-target-workflow.test.ts.snap similarity index 100% rename from __tests__/respect/inputs-passed-to-step-target-workflow/__snapshots__/inputs-passed-to-step-target-workflow.test.ts.snap rename to tests/e2e/respect/inputs-passed-to-step-target-workflow/__snapshots__/inputs-passed-to-step-target-workflow.test.ts.snap diff --git a/__tests__/respect/inputs-passed-to-step-target-workflow/events.arazzo.yaml b/tests/e2e/respect/inputs-passed-to-step-target-workflow/events.arazzo.yaml similarity index 100% rename from __tests__/respect/inputs-passed-to-step-target-workflow/events.arazzo.yaml rename to tests/e2e/respect/inputs-passed-to-step-target-workflow/events.arazzo.yaml diff --git a/__tests__/respect/inputs-passed-to-step-target-workflow/inputs-passed-to-step-target-workflow.arazzo.yaml b/tests/e2e/respect/inputs-passed-to-step-target-workflow/inputs-passed-to-step-target-workflow.arazzo.yaml similarity index 100% rename from __tests__/respect/inputs-passed-to-step-target-workflow/inputs-passed-to-step-target-workflow.arazzo.yaml rename to tests/e2e/respect/inputs-passed-to-step-target-workflow/inputs-passed-to-step-target-workflow.arazzo.yaml diff --git a/__tests__/respect/inputs-passed-to-step-target-workflow/inputs-passed-to-step-target-workflow.test.ts b/tests/e2e/respect/inputs-passed-to-step-target-workflow/inputs-passed-to-step-target-workflow.test.ts similarity index 100% rename from __tests__/respect/inputs-passed-to-step-target-workflow/inputs-passed-to-step-target-workflow.test.ts rename to tests/e2e/respect/inputs-passed-to-step-target-workflow/inputs-passed-to-step-target-workflow.test.ts diff --git a/__tests__/respect/inputs-with-cli-and-env/__snapshots__/inputs-with-cli-and-env.test.ts.snap b/tests/e2e/respect/inputs-with-cli-and-env/__snapshots__/inputs-with-cli-and-env.test.ts.snap similarity index 100% rename from __tests__/respect/inputs-with-cli-and-env/__snapshots__/inputs-with-cli-and-env.test.ts.snap rename to tests/e2e/respect/inputs-with-cli-and-env/__snapshots__/inputs-with-cli-and-env.test.ts.snap diff --git a/__tests__/respect/inputs-with-cli-and-env/inputs-with-cli-and-env.arazzo.yaml b/tests/e2e/respect/inputs-with-cli-and-env/inputs-with-cli-and-env.arazzo.yaml similarity index 100% rename from __tests__/respect/inputs-with-cli-and-env/inputs-with-cli-and-env.arazzo.yaml rename to tests/e2e/respect/inputs-with-cli-and-env/inputs-with-cli-and-env.arazzo.yaml diff --git a/__tests__/respect/inputs-with-cli-and-env/inputs-with-cli-and-env.test.ts b/tests/e2e/respect/inputs-with-cli-and-env/inputs-with-cli-and-env.test.ts similarity index 100% rename from __tests__/respect/inputs-with-cli-and-env/inputs-with-cli-and-env.test.ts rename to tests/e2e/respect/inputs-with-cli-and-env/inputs-with-cli-and-env.test.ts diff --git a/__tests__/respect/local-json-server/.gitignore b/tests/e2e/respect/local-json-server/.gitignore similarity index 100% rename from __tests__/respect/local-json-server/.gitignore rename to tests/e2e/respect/local-json-server/.gitignore diff --git a/__tests__/respect/local-json-server/__snapshots__/local-json-server.test.ts.snap b/tests/e2e/respect/local-json-server/__snapshots__/local-json-server.test.ts.snap similarity index 100% rename from __tests__/respect/local-json-server/__snapshots__/local-json-server.test.ts.snap rename to tests/e2e/respect/local-json-server/__snapshots__/local-json-server.test.ts.snap diff --git a/__tests__/respect/local-json-server/fake-db.json b/tests/e2e/respect/local-json-server/fake-db.json similarity index 100% rename from __tests__/respect/local-json-server/fake-db.json rename to tests/e2e/respect/local-json-server/fake-db.json diff --git a/__tests__/respect/local-json-server/json-server-openapi.yaml b/tests/e2e/respect/local-json-server/json-server-openapi.yaml similarity index 100% rename from __tests__/respect/local-json-server/json-server-openapi.yaml rename to tests/e2e/respect/local-json-server/json-server-openapi.yaml diff --git a/__tests__/respect/local-json-server/local-json-server.arazzo.yaml b/tests/e2e/respect/local-json-server/local-json-server.arazzo.yaml similarity index 100% rename from __tests__/respect/local-json-server/local-json-server.arazzo.yaml rename to tests/e2e/respect/local-json-server/local-json-server.arazzo.yaml diff --git a/__tests__/respect/local-json-server/local-json-server.test.ts b/tests/e2e/respect/local-json-server/local-json-server.test.ts similarity index 100% rename from __tests__/respect/local-json-server/local-json-server.test.ts rename to tests/e2e/respect/local-json-server/local-json-server.test.ts diff --git a/__tests__/respect/mask-input-secrets/__snapshots__/mask-input-secrets.test.ts.snap b/tests/e2e/respect/mask-input-secrets/__snapshots__/mask-input-secrets.test.ts.snap similarity index 100% rename from __tests__/respect/mask-input-secrets/__snapshots__/mask-input-secrets.test.ts.snap rename to tests/e2e/respect/mask-input-secrets/__snapshots__/mask-input-secrets.test.ts.snap diff --git a/__tests__/respect/mask-input-secrets/mask-input-secrets.arazzo.yaml b/tests/e2e/respect/mask-input-secrets/mask-input-secrets.arazzo.yaml similarity index 100% rename from __tests__/respect/mask-input-secrets/mask-input-secrets.arazzo.yaml rename to tests/e2e/respect/mask-input-secrets/mask-input-secrets.arazzo.yaml diff --git a/__tests__/respect/mask-input-secrets/mask-input-secrets.test.ts b/tests/e2e/respect/mask-input-secrets/mask-input-secrets.test.ts similarity index 100% rename from __tests__/respect/mask-input-secrets/mask-input-secrets.test.ts rename to tests/e2e/respect/mask-input-secrets/mask-input-secrets.test.ts diff --git a/__tests__/respect/max-steps/__snapshots__/max-steps.test.ts.snap b/tests/e2e/respect/max-steps/__snapshots__/max-steps.test.ts.snap similarity index 100% rename from __tests__/respect/max-steps/__snapshots__/max-steps.test.ts.snap rename to tests/e2e/respect/max-steps/__snapshots__/max-steps.test.ts.snap diff --git a/__tests__/respect/max-steps/arazzo.yaml b/tests/e2e/respect/max-steps/arazzo.yaml similarity index 100% rename from __tests__/respect/max-steps/arazzo.yaml rename to tests/e2e/respect/max-steps/arazzo.yaml diff --git a/__tests__/respect/max-steps/max-steps.test.ts b/tests/e2e/respect/max-steps/max-steps.test.ts similarity index 100% rename from __tests__/respect/max-steps/max-steps.test.ts rename to tests/e2e/respect/max-steps/max-steps.test.ts diff --git a/__tests__/respect/max-steps/oas.yaml b/tests/e2e/respect/max-steps/oas.yaml similarity index 100% rename from __tests__/respect/max-steps/oas.yaml rename to tests/e2e/respect/max-steps/oas.yaml diff --git a/__tests__/respect/museum-api-with-errors.yaml b/tests/e2e/respect/museum-api-with-errors.yaml similarity index 100% rename from __tests__/respect/museum-api-with-errors.yaml rename to tests/e2e/respect/museum-api-with-errors.yaml diff --git a/__tests__/respect/museum-api.yaml b/tests/e2e/respect/museum-api.yaml similarity index 100% rename from __tests__/respect/museum-api.yaml rename to tests/e2e/respect/museum-api.yaml diff --git a/__tests__/respect/museum-tickets.yaml b/tests/e2e/respect/museum-tickets.yaml similarity index 100% rename from __tests__/respect/museum-tickets.yaml rename to tests/e2e/respect/museum-tickets.yaml diff --git a/__tests__/respect/outputs-access-syntax-variations/__snapshots__/outputs-access-syntax-variations.test.ts.snap b/tests/e2e/respect/outputs-access-syntax-variations/__snapshots__/outputs-access-syntax-variations.test.ts.snap similarity index 100% rename from __tests__/respect/outputs-access-syntax-variations/__snapshots__/outputs-access-syntax-variations.test.ts.snap rename to tests/e2e/respect/outputs-access-syntax-variations/__snapshots__/outputs-access-syntax-variations.test.ts.snap diff --git a/__tests__/respect/outputs-access-syntax-variations/outputs-access-syntax-variations.arazzo.yaml b/tests/e2e/respect/outputs-access-syntax-variations/outputs-access-syntax-variations.arazzo.yaml similarity index 100% rename from __tests__/respect/outputs-access-syntax-variations/outputs-access-syntax-variations.arazzo.yaml rename to tests/e2e/respect/outputs-access-syntax-variations/outputs-access-syntax-variations.arazzo.yaml diff --git a/__tests__/respect/outputs-access-syntax-variations/outputs-access-syntax-variations.test.ts b/tests/e2e/respect/outputs-access-syntax-variations/outputs-access-syntax-variations.test.ts similarity index 100% rename from __tests__/respect/outputs-access-syntax-variations/outputs-access-syntax-variations.test.ts rename to tests/e2e/respect/outputs-access-syntax-variations/outputs-access-syntax-variations.test.ts diff --git a/__tests__/respect/replacements/__snapshots__/replacements.test.ts.snap b/tests/e2e/respect/replacements/__snapshots__/replacements.test.ts.snap similarity index 100% rename from __tests__/respect/replacements/__snapshots__/replacements.test.ts.snap rename to tests/e2e/respect/replacements/__snapshots__/replacements.test.ts.snap diff --git a/__tests__/respect/replacements/replacements.arazzo.yaml b/tests/e2e/respect/replacements/replacements.arazzo.yaml similarity index 100% rename from __tests__/respect/replacements/replacements.arazzo.yaml rename to tests/e2e/respect/replacements/replacements.arazzo.yaml diff --git a/__tests__/respect/replacements/replacements.test.ts b/tests/e2e/respect/replacements/replacements.test.ts similarity index 100% rename from __tests__/respect/replacements/replacements.test.ts rename to tests/e2e/respect/replacements/replacements.test.ts diff --git a/__tests__/respect/reusable-components/__snapshots__/reusable-components.test.ts.snap b/tests/e2e/respect/reusable-components/__snapshots__/reusable-components.test.ts.snap similarity index 100% rename from __tests__/respect/reusable-components/__snapshots__/reusable-components.test.ts.snap rename to tests/e2e/respect/reusable-components/__snapshots__/reusable-components.test.ts.snap diff --git a/__tests__/respect/reusable-components/reusable-components.arazzo.yaml b/tests/e2e/respect/reusable-components/reusable-components.arazzo.yaml similarity index 100% rename from __tests__/respect/reusable-components/reusable-components.arazzo.yaml rename to tests/e2e/respect/reusable-components/reusable-components.arazzo.yaml diff --git a/__tests__/respect/reusable-components/reusable-components.test.ts b/tests/e2e/respect/reusable-components/reusable-components.test.ts similarity index 100% rename from __tests__/respect/reusable-components/reusable-components.test.ts rename to tests/e2e/respect/reusable-components/reusable-components.test.ts diff --git a/__tests__/respect/reveal-masked-input-secrets/__snapshots__/reveal-masked-input-secrets.test.ts.snap b/tests/e2e/respect/reveal-masked-input-secrets/__snapshots__/reveal-masked-input-secrets.test.ts.snap similarity index 100% rename from __tests__/respect/reveal-masked-input-secrets/__snapshots__/reveal-masked-input-secrets.test.ts.snap rename to tests/e2e/respect/reveal-masked-input-secrets/__snapshots__/reveal-masked-input-secrets.test.ts.snap diff --git a/__tests__/respect/reveal-masked-input-secrets/reveal-masked-input-secrets.arazzo.yaml b/tests/e2e/respect/reveal-masked-input-secrets/reveal-masked-input-secrets.arazzo.yaml similarity index 100% rename from __tests__/respect/reveal-masked-input-secrets/reveal-masked-input-secrets.arazzo.yaml rename to tests/e2e/respect/reveal-masked-input-secrets/reveal-masked-input-secrets.arazzo.yaml diff --git a/__tests__/respect/reveal-masked-input-secrets/reveal-masked-input-secrets.test.ts b/tests/e2e/respect/reveal-masked-input-secrets/reveal-masked-input-secrets.test.ts similarity index 100% rename from __tests__/respect/reveal-masked-input-secrets/reveal-masked-input-secrets.test.ts rename to tests/e2e/respect/reveal-masked-input-secrets/reveal-masked-input-secrets.test.ts diff --git a/__tests__/respect/server-override-with-console-parameters/__snapshots__/server-override-with-console-parameters.test.ts.snap b/tests/e2e/respect/server-override-with-console-parameters/__snapshots__/server-override-with-console-parameters.test.ts.snap similarity index 100% rename from __tests__/respect/server-override-with-console-parameters/__snapshots__/server-override-with-console-parameters.test.ts.snap rename to tests/e2e/respect/server-override-with-console-parameters/__snapshots__/server-override-with-console-parameters.test.ts.snap diff --git a/__tests__/respect/server-override-with-console-parameters/server-override-with-console-parameters.arazzo.yaml b/tests/e2e/respect/server-override-with-console-parameters/server-override-with-console-parameters.arazzo.yaml similarity index 100% rename from __tests__/respect/server-override-with-console-parameters/server-override-with-console-parameters.arazzo.yaml rename to tests/e2e/respect/server-override-with-console-parameters/server-override-with-console-parameters.arazzo.yaml diff --git a/__tests__/respect/server-override-with-console-parameters/server-override-with-console-parameters.test.ts b/tests/e2e/respect/server-override-with-console-parameters/server-override-with-console-parameters.test.ts similarity index 100% rename from __tests__/respect/server-override-with-console-parameters/server-override-with-console-parameters.test.ts rename to tests/e2e/respect/server-override-with-console-parameters/server-override-with-console-parameters.test.ts diff --git a/__tests__/respect/severity-error-level/__snapshots__/severity-error-level.test.ts.snap b/tests/e2e/respect/severity-error-level/__snapshots__/severity-error-level.test.ts.snap similarity index 100% rename from __tests__/respect/severity-error-level/__snapshots__/severity-error-level.test.ts.snap rename to tests/e2e/respect/severity-error-level/__snapshots__/severity-error-level.test.ts.snap diff --git a/__tests__/respect/severity-error-level/severity-error-level.test.ts b/tests/e2e/respect/severity-error-level/severity-error-level.test.ts similarity index 100% rename from __tests__/respect/severity-error-level/severity-error-level.test.ts rename to tests/e2e/respect/severity-error-level/severity-error-level.test.ts diff --git a/__tests__/respect/severity-error-level/severity-level.arazzo.yaml b/tests/e2e/respect/severity-error-level/severity-level.arazzo.yaml similarity index 100% rename from __tests__/respect/severity-error-level/severity-level.arazzo.yaml rename to tests/e2e/respect/severity-error-level/severity-level.arazzo.yaml diff --git a/__tests__/respect/severity-off-level/__snapshots__/severity-off-level.test.ts.snap b/tests/e2e/respect/severity-off-level/__snapshots__/severity-off-level.test.ts.snap similarity index 100% rename from __tests__/respect/severity-off-level/__snapshots__/severity-off-level.test.ts.snap rename to tests/e2e/respect/severity-off-level/__snapshots__/severity-off-level.test.ts.snap diff --git a/__tests__/respect/severity-off-level/severity-level.arazzo.yaml b/tests/e2e/respect/severity-off-level/severity-level.arazzo.yaml similarity index 100% rename from __tests__/respect/severity-off-level/severity-level.arazzo.yaml rename to tests/e2e/respect/severity-off-level/severity-level.arazzo.yaml diff --git a/__tests__/respect/severity-off-level/severity-off-level.test.ts b/tests/e2e/respect/severity-off-level/severity-off-level.test.ts similarity index 100% rename from __tests__/respect/severity-off-level/severity-off-level.test.ts rename to tests/e2e/respect/severity-off-level/severity-off-level.test.ts diff --git a/__tests__/respect/severity-warn-level/__snapshots__/severity-warn-level.test.ts.snap b/tests/e2e/respect/severity-warn-level/__snapshots__/severity-warn-level.test.ts.snap similarity index 100% rename from __tests__/respect/severity-warn-level/__snapshots__/severity-warn-level.test.ts.snap rename to tests/e2e/respect/severity-warn-level/__snapshots__/severity-warn-level.test.ts.snap diff --git a/__tests__/respect/severity-warn-level/severity-level.arazzo.yaml b/tests/e2e/respect/severity-warn-level/severity-level.arazzo.yaml similarity index 100% rename from __tests__/respect/severity-warn-level/severity-level.arazzo.yaml rename to tests/e2e/respect/severity-warn-level/severity-level.arazzo.yaml diff --git a/__tests__/respect/severity-warn-level/severity-warn-level.test.ts b/tests/e2e/respect/severity-warn-level/severity-warn-level.test.ts similarity index 100% rename from __tests__/respect/severity-warn-level/severity-warn-level.test.ts rename to tests/e2e/respect/severity-warn-level/severity-warn-level.test.ts diff --git a/__tests__/respect/step-on-failure-type-end-action/__snapshots__/step-on-failure-type-end-action.test.ts.snap b/tests/e2e/respect/step-on-failure-type-end-action/__snapshots__/step-on-failure-type-end-action.test.ts.snap similarity index 100% rename from __tests__/respect/step-on-failure-type-end-action/__snapshots__/step-on-failure-type-end-action.test.ts.snap rename to tests/e2e/respect/step-on-failure-type-end-action/__snapshots__/step-on-failure-type-end-action.test.ts.snap diff --git a/__tests__/respect/step-on-failure-type-end-action/step-on-failure-type-end-action.arazzo.yaml b/tests/e2e/respect/step-on-failure-type-end-action/step-on-failure-type-end-action.arazzo.yaml similarity index 100% rename from __tests__/respect/step-on-failure-type-end-action/step-on-failure-type-end-action.arazzo.yaml rename to tests/e2e/respect/step-on-failure-type-end-action/step-on-failure-type-end-action.arazzo.yaml diff --git a/__tests__/respect/step-on-failure-type-end-action/step-on-failure-type-end-action.test.ts b/tests/e2e/respect/step-on-failure-type-end-action/step-on-failure-type-end-action.test.ts similarity index 100% rename from __tests__/respect/step-on-failure-type-end-action/step-on-failure-type-end-action.test.ts rename to tests/e2e/respect/step-on-failure-type-end-action/step-on-failure-type-end-action.test.ts diff --git a/__tests__/respect/step-on-success-type-end-action/__snapshots__/step-on-success-type-end-action.test.ts.snap b/tests/e2e/respect/step-on-success-type-end-action/__snapshots__/step-on-success-type-end-action.test.ts.snap similarity index 100% rename from __tests__/respect/step-on-success-type-end-action/__snapshots__/step-on-success-type-end-action.test.ts.snap rename to tests/e2e/respect/step-on-success-type-end-action/__snapshots__/step-on-success-type-end-action.test.ts.snap diff --git a/__tests__/respect/step-on-success-type-end-action/step-on-success-type-end-action.arazzo.yaml b/tests/e2e/respect/step-on-success-type-end-action/step-on-success-type-end-action.arazzo.yaml similarity index 100% rename from __tests__/respect/step-on-success-type-end-action/step-on-success-type-end-action.arazzo.yaml rename to tests/e2e/respect/step-on-success-type-end-action/step-on-success-type-end-action.arazzo.yaml diff --git a/__tests__/respect/step-on-success-type-end-action/step-on-success-type-end-action.test.ts b/tests/e2e/respect/step-on-success-type-end-action/step-on-success-type-end-action.test.ts similarity index 100% rename from __tests__/respect/step-on-success-type-end-action/step-on-success-type-end-action.test.ts rename to tests/e2e/respect/step-on-success-type-end-action/step-on-success-type-end-action.test.ts diff --git a/__tests__/respect/utils.ts b/tests/e2e/respect/utils.ts similarity index 100% rename from __tests__/respect/utils.ts rename to tests/e2e/respect/utils.ts diff --git a/__tests__/respect/workflow-failure-actions/__snapshots__/workflow-failure-actions.test.ts.snap b/tests/e2e/respect/workflow-failure-actions/__snapshots__/workflow-failure-actions.test.ts.snap similarity index 100% rename from __tests__/respect/workflow-failure-actions/__snapshots__/workflow-failure-actions.test.ts.snap rename to tests/e2e/respect/workflow-failure-actions/__snapshots__/workflow-failure-actions.test.ts.snap diff --git a/__tests__/respect/workflow-failure-actions/workflow-failure-actions.arazzo.yaml b/tests/e2e/respect/workflow-failure-actions/workflow-failure-actions.arazzo.yaml similarity index 100% rename from __tests__/respect/workflow-failure-actions/workflow-failure-actions.arazzo.yaml rename to tests/e2e/respect/workflow-failure-actions/workflow-failure-actions.arazzo.yaml diff --git a/__tests__/respect/workflow-failure-actions/workflow-failure-actions.test.ts b/tests/e2e/respect/workflow-failure-actions/workflow-failure-actions.test.ts similarity index 100% rename from __tests__/respect/workflow-failure-actions/workflow-failure-actions.test.ts rename to tests/e2e/respect/workflow-failure-actions/workflow-failure-actions.test.ts diff --git a/__tests__/respect/workflow-success-actions/__snapshots__/workflow-success-actions.test.ts.snap b/tests/e2e/respect/workflow-success-actions/__snapshots__/workflow-success-actions.test.ts.snap similarity index 100% rename from __tests__/respect/workflow-success-actions/__snapshots__/workflow-success-actions.test.ts.snap rename to tests/e2e/respect/workflow-success-actions/__snapshots__/workflow-success-actions.test.ts.snap diff --git a/__tests__/respect/workflow-success-actions/workflow-success-actions.arazzo.yaml b/tests/e2e/respect/workflow-success-actions/workflow-success-actions.arazzo.yaml similarity index 100% rename from __tests__/respect/workflow-success-actions/workflow-success-actions.arazzo.yaml rename to tests/e2e/respect/workflow-success-actions/workflow-success-actions.arazzo.yaml diff --git a/__tests__/respect/workflow-success-actions/workflow-success-actions.test.ts b/tests/e2e/respect/workflow-success-actions/workflow-success-actions.test.ts similarity index 100% rename from __tests__/respect/workflow-success-actions/workflow-success-actions.test.ts rename to tests/e2e/respect/workflow-success-actions/workflow-success-actions.test.ts diff --git a/__tests__/respect/x-security-api-key-auth/__snapshots__/x-security-api-key-auth.test.ts.snap b/tests/e2e/respect/x-security-api-key-auth/__snapshots__/x-security-api-key-auth.test.ts.snap similarity index 100% rename from __tests__/respect/x-security-api-key-auth/__snapshots__/x-security-api-key-auth.test.ts.snap rename to tests/e2e/respect/x-security-api-key-auth/__snapshots__/x-security-api-key-auth.test.ts.snap diff --git a/__tests__/respect/x-security-api-key-auth/x-security-api-key-auth.arazzo.yaml b/tests/e2e/respect/x-security-api-key-auth/x-security-api-key-auth.arazzo.yaml similarity index 100% rename from __tests__/respect/x-security-api-key-auth/x-security-api-key-auth.arazzo.yaml rename to tests/e2e/respect/x-security-api-key-auth/x-security-api-key-auth.arazzo.yaml diff --git a/__tests__/respect/x-security-api-key-auth/x-security-api-key-auth.test.ts b/tests/e2e/respect/x-security-api-key-auth/x-security-api-key-auth.test.ts similarity index 100% rename from __tests__/respect/x-security-api-key-auth/x-security-api-key-auth.test.ts rename to tests/e2e/respect/x-security-api-key-auth/x-security-api-key-auth.test.ts diff --git a/__tests__/respect/x-security-basic-auth/__snapshots__/x-security-basic-auth.test.ts.snap b/tests/e2e/respect/x-security-basic-auth/__snapshots__/x-security-basic-auth.test.ts.snap similarity index 100% rename from __tests__/respect/x-security-basic-auth/__snapshots__/x-security-basic-auth.test.ts.snap rename to tests/e2e/respect/x-security-basic-auth/__snapshots__/x-security-basic-auth.test.ts.snap diff --git a/__tests__/respect/x-security-basic-auth/x-security-basic-auth.arazzo.yaml b/tests/e2e/respect/x-security-basic-auth/x-security-basic-auth.arazzo.yaml similarity index 100% rename from __tests__/respect/x-security-basic-auth/x-security-basic-auth.arazzo.yaml rename to tests/e2e/respect/x-security-basic-auth/x-security-basic-auth.arazzo.yaml diff --git a/__tests__/respect/x-security-basic-auth/x-security-basic-auth.test.ts b/tests/e2e/respect/x-security-basic-auth/x-security-basic-auth.test.ts similarity index 100% rename from __tests__/respect/x-security-basic-auth/x-security-basic-auth.test.ts rename to tests/e2e/respect/x-security-basic-auth/x-security-basic-auth.test.ts diff --git a/__tests__/respect/x-security-bearer-auth/__snapshots__/x-security-bearer-auth.test.ts.snap b/tests/e2e/respect/x-security-bearer-auth/__snapshots__/x-security-bearer-auth.test.ts.snap similarity index 100% rename from __tests__/respect/x-security-bearer-auth/__snapshots__/x-security-bearer-auth.test.ts.snap rename to tests/e2e/respect/x-security-bearer-auth/__snapshots__/x-security-bearer-auth.test.ts.snap diff --git a/__tests__/respect/x-security-bearer-auth/x-security-bearer-auth.arazzo.yaml b/tests/e2e/respect/x-security-bearer-auth/x-security-bearer-auth.arazzo.yaml similarity index 100% rename from __tests__/respect/x-security-bearer-auth/x-security-bearer-auth.arazzo.yaml rename to tests/e2e/respect/x-security-bearer-auth/x-security-bearer-auth.arazzo.yaml diff --git a/__tests__/respect/x-security-bearer-auth/x-security-bearer-auth.test.ts b/tests/e2e/respect/x-security-bearer-auth/x-security-bearer-auth.test.ts similarity index 100% rename from __tests__/respect/x-security-bearer-auth/x-security-bearer-auth.test.ts rename to tests/e2e/respect/x-security-bearer-auth/x-security-bearer-auth.test.ts diff --git a/__tests__/respect/x-security-oauth2-auth/__snapshots__/x-security-oauth2-auth.test.ts.snap b/tests/e2e/respect/x-security-oauth2-auth/__snapshots__/x-security-oauth2-auth.test.ts.snap similarity index 100% rename from __tests__/respect/x-security-oauth2-auth/__snapshots__/x-security-oauth2-auth.test.ts.snap rename to tests/e2e/respect/x-security-oauth2-auth/__snapshots__/x-security-oauth2-auth.test.ts.snap diff --git a/__tests__/respect/x-security-oauth2-auth/x-security-oauth2-auth.arazzo.yaml b/tests/e2e/respect/x-security-oauth2-auth/x-security-oauth2-auth.arazzo.yaml similarity index 100% rename from __tests__/respect/x-security-oauth2-auth/x-security-oauth2-auth.arazzo.yaml rename to tests/e2e/respect/x-security-oauth2-auth/x-security-oauth2-auth.arazzo.yaml diff --git a/__tests__/respect/x-security-oauth2-auth/x-security-oauth2-auth.test.ts b/tests/e2e/respect/x-security-oauth2-auth/x-security-oauth2-auth.test.ts similarity index 100% rename from __tests__/respect/x-security-oauth2-auth/x-security-oauth2-auth.test.ts rename to tests/e2e/respect/x-security-oauth2-auth/x-security-oauth2-auth.test.ts diff --git a/__tests__/respect/x-security-on-workflow-level-merged-to-steps/__snapshots__/x-security-on-workflow-level-merged-to-steps.test.ts.snap b/tests/e2e/respect/x-security-on-workflow-level-merged-to-steps/__snapshots__/x-security-on-workflow-level-merged-to-steps.test.ts.snap similarity index 100% rename from __tests__/respect/x-security-on-workflow-level-merged-to-steps/__snapshots__/x-security-on-workflow-level-merged-to-steps.test.ts.snap rename to tests/e2e/respect/x-security-on-workflow-level-merged-to-steps/__snapshots__/x-security-on-workflow-level-merged-to-steps.test.ts.snap diff --git a/__tests__/respect/x-security-on-workflow-level-merged-to-steps/x-security-on-workflow-level-merged-to-steps.arazzo.yaml b/tests/e2e/respect/x-security-on-workflow-level-merged-to-steps/x-security-on-workflow-level-merged-to-steps.arazzo.yaml similarity index 100% rename from __tests__/respect/x-security-on-workflow-level-merged-to-steps/x-security-on-workflow-level-merged-to-steps.arazzo.yaml rename to tests/e2e/respect/x-security-on-workflow-level-merged-to-steps/x-security-on-workflow-level-merged-to-steps.arazzo.yaml diff --git a/__tests__/respect/x-security-on-workflow-level-merged-to-steps/x-security-on-workflow-level-merged-to-steps.test.ts b/tests/e2e/respect/x-security-on-workflow-level-merged-to-steps/x-security-on-workflow-level-merged-to-steps.test.ts similarity index 100% rename from __tests__/respect/x-security-on-workflow-level-merged-to-steps/x-security-on-workflow-level-merged-to-steps.test.ts rename to tests/e2e/respect/x-security-on-workflow-level-merged-to-steps/x-security-on-workflow-level-merged-to-steps.test.ts diff --git a/__tests__/respect/x-security-open-id-connect-auth/__snapshots__/x-security-open-id-connect-auth.test.ts.snap b/tests/e2e/respect/x-security-open-id-connect-auth/__snapshots__/x-security-open-id-connect-auth.test.ts.snap similarity index 100% rename from __tests__/respect/x-security-open-id-connect-auth/__snapshots__/x-security-open-id-connect-auth.test.ts.snap rename to tests/e2e/respect/x-security-open-id-connect-auth/__snapshots__/x-security-open-id-connect-auth.test.ts.snap diff --git a/__tests__/respect/x-security-open-id-connect-auth/x-security-open-id-connect-auth.arazzo.yaml b/tests/e2e/respect/x-security-open-id-connect-auth/x-security-open-id-connect-auth.arazzo.yaml similarity index 100% rename from __tests__/respect/x-security-open-id-connect-auth/x-security-open-id-connect-auth.arazzo.yaml rename to tests/e2e/respect/x-security-open-id-connect-auth/x-security-open-id-connect-auth.arazzo.yaml diff --git a/__tests__/respect/x-security-open-id-connect-auth/x-security-open-id-connect-auth.test.ts b/tests/e2e/respect/x-security-open-id-connect-auth/x-security-open-id-connect-auth.test.ts similarity index 100% rename from __tests__/respect/x-security-open-id-connect-auth/x-security-open-id-connect-auth.test.ts rename to tests/e2e/respect/x-security-open-id-connect-auth/x-security-open-id-connect-auth.test.ts diff --git a/__tests__/respect/x-security-resolve-scheme-name/__snapshots__/x-security-resolve-scheme-name.test.ts.snap b/tests/e2e/respect/x-security-resolve-scheme-name/__snapshots__/x-security-resolve-scheme-name.test.ts.snap similarity index 100% rename from __tests__/respect/x-security-resolve-scheme-name/__snapshots__/x-security-resolve-scheme-name.test.ts.snap rename to tests/e2e/respect/x-security-resolve-scheme-name/__snapshots__/x-security-resolve-scheme-name.test.ts.snap diff --git a/__tests__/respect/x-security-resolve-scheme-name/x-security-resolve-scheme-name.arazzo.yaml b/tests/e2e/respect/x-security-resolve-scheme-name/x-security-resolve-scheme-name.arazzo.yaml similarity index 100% rename from __tests__/respect/x-security-resolve-scheme-name/x-security-resolve-scheme-name.arazzo.yaml rename to tests/e2e/respect/x-security-resolve-scheme-name/x-security-resolve-scheme-name.arazzo.yaml diff --git a/__tests__/respect/x-security-resolve-scheme-name/x-security-resolve-scheme-name.test.ts b/tests/e2e/respect/x-security-resolve-scheme-name/x-security-resolve-scheme-name.test.ts similarity index 100% rename from __tests__/respect/x-security-resolve-scheme-name/x-security-resolve-scheme-name.test.ts rename to tests/e2e/respect/x-security-resolve-scheme-name/x-security-resolve-scheme-name.test.ts diff --git a/__tests__/respect/x-security-scheme-apply-order/__snapshots__/x-security-scheme-apply-order.test.ts.snap b/tests/e2e/respect/x-security-scheme-apply-order/__snapshots__/x-security-scheme-apply-order.test.ts.snap similarity index 100% rename from __tests__/respect/x-security-scheme-apply-order/__snapshots__/x-security-scheme-apply-order.test.ts.snap rename to tests/e2e/respect/x-security-scheme-apply-order/__snapshots__/x-security-scheme-apply-order.test.ts.snap diff --git a/__tests__/respect/x-security-scheme-apply-order/x-security-scheme-apply-order.arazzo.yaml b/tests/e2e/respect/x-security-scheme-apply-order/x-security-scheme-apply-order.arazzo.yaml similarity index 100% rename from __tests__/respect/x-security-scheme-apply-order/x-security-scheme-apply-order.arazzo.yaml rename to tests/e2e/respect/x-security-scheme-apply-order/x-security-scheme-apply-order.arazzo.yaml diff --git a/__tests__/respect/x-security-scheme-apply-order/x-security-scheme-apply-order.test.ts b/tests/e2e/respect/x-security-scheme-apply-order/x-security-scheme-apply-order.test.ts similarity index 100% rename from __tests__/respect/x-security-scheme-apply-order/x-security-scheme-apply-order.test.ts rename to tests/e2e/respect/x-security-scheme-apply-order/x-security-scheme-apply-order.test.ts diff --git a/__tests__/split/discriminator-in-json/openapi.json b/tests/e2e/split/discriminator-in-json/openapi.json similarity index 100% rename from __tests__/split/discriminator-in-json/openapi.json rename to tests/e2e/split/discriminator-in-json/openapi.json diff --git a/__tests__/split/discriminator-in-json/snapshot.txt b/tests/e2e/split/discriminator-in-json/snapshot.txt similarity index 88% rename from __tests__/split/discriminator-in-json/snapshot.txt rename to tests/e2e/split/discriminator-in-json/snapshot.txt index f527a21262..c4cdf4cc32 100644 --- a/__tests__/split/discriminator-in-json/snapshot.txt +++ b/tests/e2e/split/discriminator-in-json/snapshot.txt @@ -83,8 +83,8 @@ "$ref": "paths/test.json" } } -}🪓 Document: ../../../__tests__/split/discriminator-in-json/openapi.json is successfully split +}🪓 Document: openapi.json is successfully split and all related files are saved to the directory: output -../../../__tests__/split/discriminator-in-json/openapi.json: split processed in ms +openapi.json: split processed in ms diff --git a/__tests__/split/missing-outDir/snapshot.txt b/tests/e2e/split/missing-outDir/snapshot.txt similarity index 100% rename from __tests__/split/missing-outDir/snapshot.txt rename to tests/e2e/split/missing-outDir/snapshot.txt diff --git a/__tests__/split/missing-outDir/spec.json b/tests/e2e/split/missing-outDir/spec.json similarity index 100% rename from __tests__/split/missing-outDir/spec.json rename to tests/e2e/split/missing-outDir/spec.json diff --git a/__tests__/split/oas2/openapi.yaml b/tests/e2e/split/oas2/openapi.yaml similarity index 100% rename from __tests__/split/oas2/openapi.yaml rename to tests/e2e/split/oas2/openapi.yaml diff --git a/__tests__/split/oas2/snapshot.txt b/tests/e2e/split/oas2/snapshot.txt similarity index 100% rename from __tests__/split/oas2/snapshot.txt rename to tests/e2e/split/oas2/snapshot.txt diff --git a/__tests__/split/oas3-no-errors/openapi.yaml b/tests/e2e/split/oas3-no-errors/openapi.yaml similarity index 100% rename from __tests__/split/oas3-no-errors/openapi.yaml rename to tests/e2e/split/oas3-no-errors/openapi.yaml diff --git a/__tests__/split/oas3-no-errors/snapshot.txt b/tests/e2e/split/oas3-no-errors/snapshot.txt similarity index 92% rename from __tests__/split/oas3-no-errors/snapshot.txt rename to tests/e2e/split/oas3-no-errors/snapshot.txt index 924c64c762..8a196fa9d8 100644 --- a/__tests__/split/oas3-no-errors/snapshot.txt +++ b/tests/e2e/split/oas3-no-errors/snapshot.txt @@ -107,8 +107,8 @@ paths: $ref: paths/pets.yaml /pets/{petId}: $ref: paths/pets_{petId}.yaml -🪓 Document: ../../../__tests__/split/oas3-no-errors/openapi.yaml is successfully split +🪓 Document: openapi.yaml is successfully split and all related files are saved to the directory: output -../../../__tests__/split/oas3-no-errors/openapi.yaml: split processed in ms +openapi.yaml: split processed in ms diff --git a/__tests__/split/openapi-json-file/openapi.json b/tests/e2e/split/openapi-json-file/openapi.json similarity index 100% rename from __tests__/split/openapi-json-file/openapi.json rename to tests/e2e/split/openapi-json-file/openapi.json diff --git a/__tests__/split/openapi-json-file/snapshot.txt b/tests/e2e/split/openapi-json-file/snapshot.txt similarity index 94% rename from __tests__/split/openapi-json-file/snapshot.txt rename to tests/e2e/split/openapi-json-file/snapshot.txt index 8af9f067f8..b7f7802b99 100644 --- a/__tests__/split/openapi-json-file/snapshot.txt +++ b/tests/e2e/split/openapi-json-file/snapshot.txt @@ -172,8 +172,8 @@ "$ref": "paths/pets_{petId}.json" } } -}🪓 Document: ../../../__tests__/split/openapi-json-file/openapi.json is successfully split +}🪓 Document: openapi.json is successfully split and all related files are saved to the directory: output -../../../__tests__/split/openapi-json-file/openapi.json: split processed in ms +openapi.json: split processed in ms diff --git a/__tests__/split/refs-in-json/openapi.json b/tests/e2e/split/refs-in-json/openapi.json similarity index 100% rename from __tests__/split/refs-in-json/openapi.json rename to tests/e2e/split/refs-in-json/openapi.json diff --git a/__tests__/split/refs-in-json/snapshot.txt b/tests/e2e/split/refs-in-json/snapshot.txt similarity index 100% rename from __tests__/split/refs-in-json/snapshot.txt rename to tests/e2e/split/refs-in-json/snapshot.txt diff --git a/__tests__/split/slash-separator/openapi.yaml b/tests/e2e/split/slash-separator/openapi.yaml similarity index 100% rename from __tests__/split/slash-separator/openapi.yaml rename to tests/e2e/split/slash-separator/openapi.yaml diff --git a/__tests__/split/slash-separator/snapshot.txt b/tests/e2e/split/slash-separator/snapshot.txt similarity index 92% rename from __tests__/split/slash-separator/snapshot.txt rename to tests/e2e/split/slash-separator/snapshot.txt index ea9a017f0b..6464c97d9a 100644 --- a/__tests__/split/slash-separator/snapshot.txt +++ b/tests/e2e/split/slash-separator/snapshot.txt @@ -107,8 +107,8 @@ paths: $ref: paths/pets.yaml /pets/{petId}: $ref: paths/pets/{petId}.yaml -🪓 Document: ../../../__tests__/split/slash-separator/openapi.yaml is successfully split +🪓 Document: openapi.yaml is successfully split and all related files are saved to the directory: output -../../../__tests__/split/slash-separator/openapi.yaml: split processed in ms +openapi.yaml: split processed in ms diff --git a/tests/e2e/stats/stats-json/museum.yaml b/tests/e2e/stats/stats-json/museum.yaml new file mode 120000 index 0000000000..5a811493e9 --- /dev/null +++ b/tests/e2e/stats/stats-json/museum.yaml @@ -0,0 +1 @@ +../../../../resources/museum.yaml \ No newline at end of file diff --git a/__tests__/stats/stats-json/snapshot.txt b/tests/e2e/stats/stats-json/snapshot.txt similarity index 100% rename from __tests__/stats/stats-json/snapshot.txt rename to tests/e2e/stats/stats-json/snapshot.txt diff --git a/tests/e2e/stats/stats-markdown/museum.yaml b/tests/e2e/stats/stats-markdown/museum.yaml new file mode 120000 index 0000000000..5a811493e9 --- /dev/null +++ b/tests/e2e/stats/stats-markdown/museum.yaml @@ -0,0 +1 @@ +../../../../resources/museum.yaml \ No newline at end of file diff --git a/__tests__/stats/stats-markdown/snapshot.txt b/tests/e2e/stats/stats-markdown/snapshot.txt similarity index 100% rename from __tests__/stats/stats-markdown/snapshot.txt rename to tests/e2e/stats/stats-markdown/snapshot.txt diff --git a/tests/e2e/stats/stats-stylish/museum.yaml b/tests/e2e/stats/stats-stylish/museum.yaml new file mode 120000 index 0000000000..5a811493e9 --- /dev/null +++ b/tests/e2e/stats/stats-stylish/museum.yaml @@ -0,0 +1 @@ +../../../../resources/museum.yaml \ No newline at end of file diff --git a/__tests__/stats/stats-stylish/snapshot.txt b/tests/e2e/stats/stats-stylish/snapshot.txt similarity index 100% rename from __tests__/stats/stats-stylish/snapshot.txt rename to tests/e2e/stats/stats-stylish/snapshot.txt diff --git a/__tests__/zero-config/default-recommended-fallback/openapi.yaml b/tests/e2e/zero-config/default-recommended-fallback/openapi.yaml similarity index 100% rename from __tests__/zero-config/default-recommended-fallback/openapi.yaml rename to tests/e2e/zero-config/default-recommended-fallback/openapi.yaml diff --git a/__tests__/zero-config/default-recommended-fallback/snapshot.txt b/tests/e2e/zero-config/default-recommended-fallback/snapshot.txt similarity index 100% rename from __tests__/zero-config/default-recommended-fallback/snapshot.txt rename to tests/e2e/zero-config/default-recommended-fallback/snapshot.txt diff --git a/__tests__/zero-config/no-default-recommended-fallback-with-empty-config/openapi.yaml b/tests/e2e/zero-config/no-default-recommended-fallback-with-empty-config/openapi.yaml similarity index 100% rename from __tests__/zero-config/no-default-recommended-fallback-with-empty-config/openapi.yaml rename to tests/e2e/zero-config/no-default-recommended-fallback-with-empty-config/openapi.yaml diff --git a/__tests__/zero-config/no-default-recommended-fallback-with-empty-config/redocly.yaml b/tests/e2e/zero-config/no-default-recommended-fallback-with-empty-config/redocly.yaml similarity index 100% rename from __tests__/zero-config/no-default-recommended-fallback-with-empty-config/redocly.yaml rename to tests/e2e/zero-config/no-default-recommended-fallback-with-empty-config/redocly.yaml diff --git a/__tests__/zero-config/no-default-recommended-fallback-with-empty-config/snapshot.txt b/tests/e2e/zero-config/no-default-recommended-fallback-with-empty-config/snapshot.txt similarity index 100% rename from __tests__/zero-config/no-default-recommended-fallback-with-empty-config/snapshot.txt rename to tests/e2e/zero-config/no-default-recommended-fallback-with-empty-config/snapshot.txt diff --git a/__tests__/zero-config/no-default-recommended-fallback/openapi.yaml b/tests/e2e/zero-config/no-default-recommended-fallback/openapi.yaml similarity index 100% rename from __tests__/zero-config/no-default-recommended-fallback/openapi.yaml rename to tests/e2e/zero-config/no-default-recommended-fallback/openapi.yaml diff --git a/__tests__/zero-config/no-default-recommended-fallback/redocly.yaml b/tests/e2e/zero-config/no-default-recommended-fallback/redocly.yaml similarity index 100% rename from __tests__/zero-config/no-default-recommended-fallback/redocly.yaml rename to tests/e2e/zero-config/no-default-recommended-fallback/redocly.yaml diff --git a/__tests__/zero-config/no-default-recommended-fallback/snapshot.txt b/tests/e2e/zero-config/no-default-recommended-fallback/snapshot.txt similarity index 100% rename from __tests__/zero-config/no-default-recommended-fallback/snapshot.txt rename to tests/e2e/zero-config/no-default-recommended-fallback/snapshot.txt diff --git a/benchmark/.gitignore b/tests/performance/.gitignore similarity index 100% rename from benchmark/.gitignore rename to tests/performance/.gitignore diff --git a/benchmark/README.md b/tests/performance/README.md similarity index 100% rename from benchmark/README.md rename to tests/performance/README.md diff --git a/benchmark/chart.mjs b/tests/performance/chart.mjs similarity index 100% rename from benchmark/chart.mjs rename to tests/performance/chart.mjs diff --git a/benchmark/make-test-command.sh b/tests/performance/make-test-command.sh similarity index 100% rename from benchmark/make-test-command.sh rename to tests/performance/make-test-command.sh diff --git a/tests/performance/package.json b/tests/performance/package.json new file mode 100644 index 0000000000..155b9f8d02 --- /dev/null +++ b/tests/performance/package.json @@ -0,0 +1,27 @@ +{ + "name": "benchmark", + "version": "1.0.0", + "description": "Test benchmark for Redocly CLI", + "private": true, + "scripts": { + "chart": "node chart.mjs > benchmark_chart.md", + "make-test": "bash make-test-command.sh" + }, + "dependencies": { + "cli-2-next-1": "npm:@redocly/cli@2.0.0-next.1", + "cli-2-next-7": "npm:@redocly/cli@2.0.0-next.7", + "cli-2-next-8": "npm:@redocly/cli@2.0.0-next.8", + "cli-2-next-9": "npm:@redocly/cli@2.0.0-next.9", + "cli-2.0.0": "npm:@redocly/cli@2.0.0", + "cli-2.0.8": "npm:@redocly/cli@2.0.8", + "cli-2.1.5": "npm:@redocly/cli@2.1.5", + "cli-2.2.3": "npm:@redocly/cli@2.2.3", + "cli-2.3.1": "npm:@redocly/cli@2.3.1", + "cli-2.4.0": "npm:@redocly/cli@2.4.0", + "cli-2.5.1": "npm:@redocly/cli@2.5.1", + "cli-2.6.0": "npm:@redocly/cli@2.6.0", + "cli-2.7.1": "npm:@redocly/cli@2.7.1", + "cli-2.8.0": "npm:@redocly/cli@2.8.0", + "cli-next": "file:../../redocly-cli.tgz" + } +} diff --git a/__tests__/smoke-plugins/message-schema.yaml b/tests/smoke/basic/message-schema.yaml similarity index 100% rename from __tests__/smoke-plugins/message-schema.yaml rename to tests/smoke/basic/message-schema.yaml diff --git a/__tests__/smoke/openapi.yaml b/tests/smoke/basic/openapi.yaml similarity index 100% rename from __tests__/smoke/openapi.yaml rename to tests/smoke/basic/openapi.yaml diff --git a/__tests__/smoke/package.json b/tests/smoke/basic/package.json similarity index 100% rename from __tests__/smoke/package.json rename to tests/smoke/basic/package.json diff --git a/__tests__/smoke/pre-built/redoc.html b/tests/smoke/basic/pre-built/redoc.html similarity index 100% rename from __tests__/smoke/pre-built/redoc.html rename to tests/smoke/basic/pre-built/redoc.html diff --git a/__tests__/smoke/pre-split/museum/components/examples/BuyEventTicketsRequestExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/BuyEventTicketsRequestExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/BuyEventTicketsRequestExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/BuyEventTicketsRequestExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/examples/BuyEventTicketsResponseExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/BuyEventTicketsResponseExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/BuyEventTicketsResponseExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/BuyEventTicketsResponseExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/examples/BuyGeneralTicketsRequestExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/BuyGeneralTicketsRequestExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/BuyGeneralTicketsRequestExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/BuyGeneralTicketsRequestExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/examples/BuyGeneralTicketsResponseExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/BuyGeneralTicketsResponseExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/BuyGeneralTicketsResponseExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/BuyGeneralTicketsResponseExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/examples/CreateSpecialEventRequestExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/CreateSpecialEventRequestExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/CreateSpecialEventRequestExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/CreateSpecialEventRequestExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/examples/CreateSpecialEventResponseExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/CreateSpecialEventResponseExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/CreateSpecialEventResponseExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/CreateSpecialEventResponseExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/examples/GetMuseumHoursResponseExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/GetMuseumHoursResponseExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/GetMuseumHoursResponseExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/GetMuseumHoursResponseExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/examples/GetSpecialEventResponseExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/GetSpecialEventResponseExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/GetSpecialEventResponseExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/GetSpecialEventResponseExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/examples/ListSpecialEventsResponseExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/ListSpecialEventsResponseExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/ListSpecialEventsResponseExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/ListSpecialEventsResponseExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/examples/UpdateSpecialEventRequestExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/UpdateSpecialEventRequestExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/UpdateSpecialEventRequestExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/UpdateSpecialEventRequestExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/examples/UpdateSpecialEventResponseExample.yaml b/tests/smoke/basic/pre-split/museum/components/examples/UpdateSpecialEventResponseExample.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/examples/UpdateSpecialEventResponseExample.yaml rename to tests/smoke/basic/pre-split/museum/components/examples/UpdateSpecialEventResponseExample.yaml diff --git a/__tests__/smoke/pre-split/museum/components/parameters/EndDate.yaml b/tests/smoke/basic/pre-split/museum/components/parameters/EndDate.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/parameters/EndDate.yaml rename to tests/smoke/basic/pre-split/museum/components/parameters/EndDate.yaml diff --git a/__tests__/smoke/pre-split/museum/components/parameters/EventId.yaml b/tests/smoke/basic/pre-split/museum/components/parameters/EventId.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/parameters/EventId.yaml rename to tests/smoke/basic/pre-split/museum/components/parameters/EventId.yaml diff --git a/__tests__/smoke/pre-split/museum/components/parameters/PaginationLimit.yaml b/tests/smoke/basic/pre-split/museum/components/parameters/PaginationLimit.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/parameters/PaginationLimit.yaml rename to tests/smoke/basic/pre-split/museum/components/parameters/PaginationLimit.yaml diff --git a/__tests__/smoke/pre-split/museum/components/parameters/PaginationPage.yaml b/tests/smoke/basic/pre-split/museum/components/parameters/PaginationPage.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/parameters/PaginationPage.yaml rename to tests/smoke/basic/pre-split/museum/components/parameters/PaginationPage.yaml diff --git a/__tests__/smoke/pre-split/museum/components/parameters/StartDate.yaml b/tests/smoke/basic/pre-split/museum/components/parameters/StartDate.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/parameters/StartDate.yaml rename to tests/smoke/basic/pre-split/museum/components/parameters/StartDate.yaml diff --git a/__tests__/smoke/pre-split/museum/components/parameters/TicketId.yaml b/tests/smoke/basic/pre-split/museum/components/parameters/TicketId.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/parameters/TicketId.yaml rename to tests/smoke/basic/pre-split/museum/components/parameters/TicketId.yaml diff --git a/__tests__/smoke/pre-split/museum/components/responses/BadRequest.yaml b/tests/smoke/basic/pre-split/museum/components/responses/BadRequest.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/responses/BadRequest.yaml rename to tests/smoke/basic/pre-split/museum/components/responses/BadRequest.yaml diff --git a/__tests__/smoke/pre-split/museum/components/responses/NotFound.yaml b/tests/smoke/basic/pre-split/museum/components/responses/NotFound.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/responses/NotFound.yaml rename to tests/smoke/basic/pre-split/museum/components/responses/NotFound.yaml diff --git a/__tests__/smoke/pre-split/museum/components/responses/Unauthorized.yaml b/tests/smoke/basic/pre-split/museum/components/responses/Unauthorized.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/responses/Unauthorized.yaml rename to tests/smoke/basic/pre-split/museum/components/responses/Unauthorized.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/BuyMuseumTicketsRequest.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/BuyMuseumTicketsRequest.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/BuyMuseumTicketsRequest.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/BuyMuseumTicketsRequest.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/BuyMuseumTicketsResponse.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/BuyMuseumTicketsResponse.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/BuyMuseumTicketsResponse.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/BuyMuseumTicketsResponse.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/CreateSpecialEventRequest.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/CreateSpecialEventRequest.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/CreateSpecialEventRequest.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/CreateSpecialEventRequest.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/Date.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/Date.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/Date.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/Date.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/Email.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/Email.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/Email.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/Email.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/Error.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/Error.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/Error.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/Error.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/EventDates.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/EventDates.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/EventDates.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/EventDates.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/EventDescription.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/EventDescription.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/EventDescription.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/EventDescription.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/EventId.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/EventId.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/EventId.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/EventId.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/EventLocation.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/EventLocation.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/EventLocation.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/EventLocation.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/EventName.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/EventName.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/EventName.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/EventName.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/EventPrice.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/EventPrice.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/EventPrice.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/EventPrice.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/GetMuseumHoursResponse.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/GetMuseumHoursResponse.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/GetMuseumHoursResponse.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/GetMuseumHoursResponse.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/GetTicketCodeResponse.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/GetTicketCodeResponse.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/GetTicketCodeResponse.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/GetTicketCodeResponse.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/ListSpecialEventsResponse.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/ListSpecialEventsResponse.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/ListSpecialEventsResponse.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/ListSpecialEventsResponse.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/MuseumDailyHours.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/MuseumDailyHours.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/MuseumDailyHours.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/MuseumDailyHours.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/Phone.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/Phone.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/Phone.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/Phone.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/SpecialEventResponse.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/SpecialEventResponse.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/SpecialEventResponse.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/SpecialEventResponse.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/TicketConfirmation.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/TicketConfirmation.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/TicketConfirmation.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/TicketConfirmation.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/TicketId.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/TicketId.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/TicketId.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/TicketId.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/TicketMessage.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/TicketMessage.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/TicketMessage.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/TicketMessage.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/TicketType.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/TicketType.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/TicketType.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/TicketType.yaml diff --git a/__tests__/smoke/pre-split/museum/components/schemas/UpdateSpecialEventRequest.yaml b/tests/smoke/basic/pre-split/museum/components/schemas/UpdateSpecialEventRequest.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/components/schemas/UpdateSpecialEventRequest.yaml rename to tests/smoke/basic/pre-split/museum/components/schemas/UpdateSpecialEventRequest.yaml diff --git a/__tests__/smoke/pre-split/museum/openapi.yaml b/tests/smoke/basic/pre-split/museum/openapi.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/openapi.yaml rename to tests/smoke/basic/pre-split/museum/openapi.yaml diff --git a/__tests__/smoke/pre-split/museum/paths/museum-hours.yaml b/tests/smoke/basic/pre-split/museum/paths/museum-hours.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/paths/museum-hours.yaml rename to tests/smoke/basic/pre-split/museum/paths/museum-hours.yaml diff --git a/__tests__/smoke/pre-split/museum/paths/special-events.yaml b/tests/smoke/basic/pre-split/museum/paths/special-events.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/paths/special-events.yaml rename to tests/smoke/basic/pre-split/museum/paths/special-events.yaml diff --git a/__tests__/smoke/pre-split/museum/paths/special-events_{eventId}.yaml b/tests/smoke/basic/pre-split/museum/paths/special-events_{eventId}.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/paths/special-events_{eventId}.yaml rename to tests/smoke/basic/pre-split/museum/paths/special-events_{eventId}.yaml diff --git a/__tests__/smoke/pre-split/museum/paths/tickets.yaml b/tests/smoke/basic/pre-split/museum/paths/tickets.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/paths/tickets.yaml rename to tests/smoke/basic/pre-split/museum/paths/tickets.yaml diff --git a/__tests__/smoke/pre-split/museum/paths/tickets_{ticketId}_qr.yaml b/tests/smoke/basic/pre-split/museum/paths/tickets_{ticketId}_qr.yaml similarity index 100% rename from __tests__/smoke/pre-split/museum/paths/tickets_{ticketId}_qr.yaml rename to tests/smoke/basic/pre-split/museum/paths/tickets_{ticketId}_qr.yaml diff --git a/__tests__/smoke/pre-split/petstore/code_samples/C_sharp/petGet/post.cs b/tests/smoke/basic/pre-split/petstore/code_samples/C_sharp/petGet/post.cs similarity index 100% rename from __tests__/smoke/pre-split/petstore/code_samples/C_sharp/petGet/post.cs rename to tests/smoke/basic/pre-split/petstore/code_samples/C_sharp/petGet/post.cs diff --git a/__tests__/smoke/pre-split/petstore/code_samples/PHP/petGet/post.php b/tests/smoke/basic/pre-split/petstore/code_samples/PHP/petGet/post.php similarity index 100% rename from __tests__/smoke/pre-split/petstore/code_samples/PHP/petGet/post.php rename to tests/smoke/basic/pre-split/petstore/code_samples/PHP/petGet/post.php diff --git a/__tests__/smoke/pre-split/petstore/code_samples/PHP/petGet/put.php b/tests/smoke/basic/pre-split/petstore/code_samples/PHP/petGet/put.php similarity index 100% rename from __tests__/smoke/pre-split/petstore/code_samples/PHP/petGet/put.php rename to tests/smoke/basic/pre-split/petstore/code_samples/PHP/petGet/put.php diff --git a/__tests__/smoke/pre-split/petstore/components/examples/Order.yaml b/tests/smoke/basic/pre-split/petstore/components/examples/Order.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/examples/Order.yaml rename to tests/smoke/basic/pre-split/petstore/components/examples/Order.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/requestBodies/Pet.yaml b/tests/smoke/basic/pre-split/petstore/components/requestBodies/Pet.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/requestBodies/Pet.yaml rename to tests/smoke/basic/pre-split/petstore/components/requestBodies/Pet.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/requestBodies/UserArray.yaml b/tests/smoke/basic/pre-split/petstore/components/requestBodies/UserArray.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/requestBodies/UserArray.yaml rename to tests/smoke/basic/pre-split/petstore/components/requestBodies/UserArray.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/schemas/ApiResponse.yaml b/tests/smoke/basic/pre-split/petstore/components/schemas/ApiResponse.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/schemas/ApiResponse.yaml rename to tests/smoke/basic/pre-split/petstore/components/schemas/ApiResponse.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/schemas/Cat.yaml b/tests/smoke/basic/pre-split/petstore/components/schemas/Cat.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/schemas/Cat.yaml rename to tests/smoke/basic/pre-split/petstore/components/schemas/Cat.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/schemas/Category.yaml b/tests/smoke/basic/pre-split/petstore/components/schemas/Category.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/schemas/Category.yaml rename to tests/smoke/basic/pre-split/petstore/components/schemas/Category.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/schemas/Dog.yaml b/tests/smoke/basic/pre-split/petstore/components/schemas/Dog.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/schemas/Dog.yaml rename to tests/smoke/basic/pre-split/petstore/components/schemas/Dog.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/schemas/HoneyBee.yaml b/tests/smoke/basic/pre-split/petstore/components/schemas/HoneyBee.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/schemas/HoneyBee.yaml rename to tests/smoke/basic/pre-split/petstore/components/schemas/HoneyBee.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/schemas/Id.yaml b/tests/smoke/basic/pre-split/petstore/components/schemas/Id.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/schemas/Id.yaml rename to tests/smoke/basic/pre-split/petstore/components/schemas/Id.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/schemas/Order.yaml b/tests/smoke/basic/pre-split/petstore/components/schemas/Order.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/schemas/Order.yaml rename to tests/smoke/basic/pre-split/petstore/components/schemas/Order.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/schemas/Pet.yaml b/tests/smoke/basic/pre-split/petstore/components/schemas/Pet.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/schemas/Pet.yaml rename to tests/smoke/basic/pre-split/petstore/components/schemas/Pet.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/schemas/Tag.yaml b/tests/smoke/basic/pre-split/petstore/components/schemas/Tag.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/schemas/Tag.yaml rename to tests/smoke/basic/pre-split/petstore/components/schemas/Tag.yaml diff --git a/__tests__/smoke/pre-split/petstore/components/schemas/User.yaml b/tests/smoke/basic/pre-split/petstore/components/schemas/User.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/components/schemas/User.yaml rename to tests/smoke/basic/pre-split/petstore/components/schemas/User.yaml diff --git a/__tests__/smoke/pre-split/petstore/openapi.yaml b/tests/smoke/basic/pre-split/petstore/openapi.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/openapi.yaml rename to tests/smoke/basic/pre-split/petstore/openapi.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/GETCustomers_findByTags.yaml b/tests/smoke/basic/pre-split/petstore/paths/GETCustomers_findByTags.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/GETCustomers_findByTags.yaml rename to tests/smoke/basic/pre-split/petstore/paths/GETCustomers_findByTags.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/GETpet_{petId}.yaml b/tests/smoke/basic/pre-split/petstore/paths/GETpet_{petId}.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/GETpet_{petId}.yaml rename to tests/smoke/basic/pre-split/petstore/paths/GETpet_{petId}.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/petGet.yaml b/tests/smoke/basic/pre-split/petstore/paths/petGet.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/petGet.yaml rename to tests/smoke/basic/pre-split/petstore/paths/petGet.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/pet_findByStatusPut.yaml b/tests/smoke/basic/pre-split/petstore/paths/pet_findByStatusPut.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/pet_findByStatusPut.yaml rename to tests/smoke/basic/pre-split/petstore/paths/pet_findByStatusPut.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/pet_{petId}_uploadImage.yaml b/tests/smoke/basic/pre-split/petstore/paths/pet_{petId}_uploadImage.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/pet_{petId}_uploadImage.yaml rename to tests/smoke/basic/pre-split/petstore/paths/pet_{petId}_uploadImage.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/store_inventory.yaml b/tests/smoke/basic/pre-split/petstore/paths/store_inventory.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/store_inventory.yaml rename to tests/smoke/basic/pre-split/petstore/paths/store_inventory.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/store_order.yaml b/tests/smoke/basic/pre-split/petstore/paths/store_order.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/store_order.yaml rename to tests/smoke/basic/pre-split/petstore/paths/store_order.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/store_order_{orderId}.yaml b/tests/smoke/basic/pre-split/petstore/paths/store_order_{orderId}.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/store_order_{orderId}.yaml rename to tests/smoke/basic/pre-split/petstore/paths/store_order_{orderId}.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/store_subscribe.yaml b/tests/smoke/basic/pre-split/petstore/paths/store_subscribe.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/store_subscribe.yaml rename to tests/smoke/basic/pre-split/petstore/paths/store_subscribe.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/user.yaml b/tests/smoke/basic/pre-split/petstore/paths/user.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/user.yaml rename to tests/smoke/basic/pre-split/petstore/paths/user.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/user_createWithArray.yaml b/tests/smoke/basic/pre-split/petstore/paths/user_createWithArray.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/user_createWithArray.yaml rename to tests/smoke/basic/pre-split/petstore/paths/user_createWithArray.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/user_createWithList.yaml b/tests/smoke/basic/pre-split/petstore/paths/user_createWithList.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/user_createWithList.yaml rename to tests/smoke/basic/pre-split/petstore/paths/user_createWithList.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/user_login.yaml b/tests/smoke/basic/pre-split/petstore/paths/user_login.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/user_login.yaml rename to tests/smoke/basic/pre-split/petstore/paths/user_login.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/user_logout.yaml b/tests/smoke/basic/pre-split/petstore/paths/user_logout.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/user_logout.yaml rename to tests/smoke/basic/pre-split/petstore/paths/user_logout.yaml diff --git a/__tests__/smoke/pre-split/petstore/paths/user_{username}.yaml b/tests/smoke/basic/pre-split/petstore/paths/user_{username}.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/paths/user_{username}.yaml rename to tests/smoke/basic/pre-split/petstore/paths/user_{username}.yaml diff --git a/__tests__/smoke/pre-split/petstore/webhooks/newPet.yaml b/tests/smoke/basic/pre-split/petstore/webhooks/newPet.yaml similarity index 100% rename from __tests__/smoke/pre-split/petstore/webhooks/newPet.yaml rename to tests/smoke/basic/pre-split/petstore/webhooks/newPet.yaml diff --git a/__tests__/smoke/prepare-smoke.sh b/tests/smoke/basic/prepare-smoke.sh similarity index 85% rename from __tests__/smoke/prepare-smoke.sh rename to tests/smoke/basic/prepare-smoke.sh index 6c5b8a8f10..b86b57287a 100644 --- a/__tests__/smoke/prepare-smoke.sh +++ b/tests/smoke/basic/prepare-smoke.sh @@ -3,7 +3,7 @@ # For npm (Mutates packages/cli/package.json) npm run pack:prepare -cp ./redocly-cli.tgz ./openapi-core.tgz ./respect-core.tgz resources/pets.yaml resources/museum.yaml resources/museum-tickets.arazzo.yaml ./__tests__/smoke/ +cp ./redocly-cli.tgz ./openapi-core.tgz ./respect-core.tgz resources/pets.yaml resources/museum.yaml resources/museum-tickets.arazzo.yaml ./tests/smoke/basic/ echo "Current directory:" pwd @@ -12,5 +12,5 @@ echo "Current directory content:" ls -a echo echo "Target directory content:" -ls -a __tests__/smoke/ +ls -a tests/smoke/basic/ echo diff --git a/__tests__/smoke/run-smoke.sh b/tests/smoke/basic/run-smoke.sh similarity index 97% rename from __tests__/smoke/run-smoke.sh rename to tests/smoke/basic/run-smoke.sh index c429e2fdad..1e128983d1 100644 --- a/__tests__/smoke/run-smoke.sh +++ b/tests/smoke/basic/run-smoke.sh @@ -2,7 +2,7 @@ set -eo pipefail # Fail on script errors -cd __tests__/smoke +cd tests/smoke/basic echo echo "Directory content:" ls -a diff --git a/__tests__/smoke-plugins/local-plugin.js b/tests/smoke/plugins/local-plugin.js similarity index 100% rename from __tests__/smoke-plugins/local-plugin.js rename to tests/smoke/plugins/local-plugin.js diff --git a/__tests__/smoke/message-schema.yaml b/tests/smoke/plugins/message-schema.yaml similarity index 100% rename from __tests__/smoke/message-schema.yaml rename to tests/smoke/plugins/message-schema.yaml diff --git a/__tests__/smoke-plugins/openapi.yaml b/tests/smoke/plugins/openapi.yaml similarity index 100% rename from __tests__/smoke-plugins/openapi.yaml rename to tests/smoke/plugins/openapi.yaml diff --git a/__tests__/smoke-plugins/package.json b/tests/smoke/plugins/package.json similarity index 100% rename from __tests__/smoke-plugins/package.json rename to tests/smoke/plugins/package.json diff --git a/__tests__/smoke-plugins/prepare-smoke-plugins.sh b/tests/smoke/plugins/prepare-smoke-plugins.sh similarity index 63% rename from __tests__/smoke-plugins/prepare-smoke-plugins.sh rename to tests/smoke/plugins/prepare-smoke-plugins.sh index ddd33d7262..40b8fe6cc3 100644 --- a/__tests__/smoke-plugins/prepare-smoke-plugins.sh +++ b/tests/smoke/plugins/prepare-smoke-plugins.sh @@ -3,7 +3,7 @@ # For npm (Mutates packages/cli/package.json) npm run pack:prepare -cp ./redocly-cli.tgz ./openapi-core.tgz ./respect-core.tgz ./__tests__/smoke-plugins +cp ./redocly-cli.tgz ./openapi-core.tgz ./respect-core.tgz ./tests/smoke/plugins echo "Current directory:" pwd @@ -12,5 +12,5 @@ echo "Current directory content:" ls -a echo echo "Target directory content:" -ls -a __tests__/smoke-plugins/ +ls -a tests/smoke/plugins/ echo diff --git a/__tests__/smoke-plugins/redocly.yaml b/tests/smoke/plugins/redocly.yaml similarity index 100% rename from __tests__/smoke-plugins/redocly.yaml rename to tests/smoke/plugins/redocly.yaml diff --git a/__tests__/smoke-plugins/run-smoke.sh b/tests/smoke/plugins/run-smoke.sh similarity index 91% rename from __tests__/smoke-plugins/run-smoke.sh rename to tests/smoke/plugins/run-smoke.sh index 11e76da0aa..ae55bdd913 100644 --- a/__tests__/smoke-plugins/run-smoke.sh +++ b/tests/smoke/plugins/run-smoke.sh @@ -2,7 +2,7 @@ set -eo pipefail # Fail on script errors -cd __tests__/smoke-plugins +cd tests/smoke/plugins echo echo "Directory content:" ls -a diff --git a/__tests__/smoke-rebilly/__snapshots__/rebilly.smoke.ts.snap b/tests/smoke/rebilly/__snapshots__/rebilly.smoke.ts.snap similarity index 100% rename from __tests__/smoke-rebilly/__snapshots__/rebilly.smoke.ts.snap rename to tests/smoke/rebilly/__snapshots__/rebilly.smoke.ts.snap diff --git a/__tests__/smoke-rebilly/rebilly-description.yaml b/tests/smoke/rebilly/rebilly-description.yaml similarity index 100% rename from __tests__/smoke-rebilly/rebilly-description.yaml rename to tests/smoke/rebilly/rebilly-description.yaml diff --git a/__tests__/smoke-rebilly/rebilly.arazzo.yaml b/tests/smoke/rebilly/rebilly.arazzo.yaml similarity index 100% rename from __tests__/smoke-rebilly/rebilly.arazzo.yaml rename to tests/smoke/rebilly/rebilly.arazzo.yaml diff --git a/__tests__/smoke-rebilly/rebilly.smoke.ts b/tests/smoke/rebilly/rebilly.smoke.ts similarity index 87% rename from __tests__/smoke-rebilly/rebilly.smoke.ts rename to tests/smoke/rebilly/rebilly.smoke.ts index e0920b78c0..e91070236d 100644 --- a/__tests__/smoke-rebilly/rebilly.smoke.ts +++ b/tests/smoke/rebilly/rebilly.smoke.ts @@ -1,6 +1,6 @@ import { dirname, join } from 'node:path'; import { fileURLToPath } from 'node:url'; -import { getCommandOutput, getParams } from '../helpers.js'; +import { getCommandOutput, getParams } from '../../e2e/helpers.js'; const __dirname = dirname(fileURLToPath(import.meta.url)); diff --git a/vitest.config.ts b/vitest.config.ts index 14d9c6fe7d..770387607b 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -16,14 +16,13 @@ const configExtension: { [key: string]: ViteUserConfig } = { provider: 'istanbul', exclude: [ 'packages/**/__tests__/**/*', - 'packages/core/src/benchmark/**/*', 'packages/cli/src/index.ts', 'packages/cli/src/utils/assert-node-version.ts', ], thresholds: { lines: 78, functions: 81, - statements: 77, + statements: 78, branches: 70, }, }, @@ -31,12 +30,12 @@ const configExtension: { [key: string]: ViteUserConfig } = { }), e2e: defineConfig({ test: { - include: ['__tests__/respect/**/*.test.ts', '__tests__/commands.test.ts'], + include: ['tests/e2e/**/*.test.ts'], }, }), 'smoke-rebilly': defineConfig({ test: { - include: ['__tests__/smoke-rebilly/**/*.smoke.ts'], + include: ['tests/smoke/rebilly/**/*.smoke.ts'], }, }), default: defineConfig({}),