Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Defend Workflows] Add tags for mocked and real Endpoint Cypress tests for Serverless #165094

Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b6642b6
add `cypress:dw:serverless:*` scripts
gergoabraham Aug 24, 2023
8cc56e7
add `Elastic-Api-Version` to all cy requests
gergoabraham Aug 28, 2023
8645b2c
add `http.host` to shared setting, so ES is accessible via local IP
gergoabraham Aug 29, 2023
db6b729
add config and scripts for real endpoint serverless
gergoabraham Aug 29, 2023
b51cdbf
fix test scripts (removing `ts` and `open` from shared scripts)
gergoabraham Aug 29, 2023
774c548
add `@ess` tag for every test
gergoabraham Aug 29, 2023
c85ec25
fix eslint errors
gergoabraham Aug 29, 2023
26f13f1
add `@ess` grep to ess test configs
gergoabraham Aug 29, 2023
96681c4
fine tune grep config
gergoabraham Aug 29, 2023
171d093
move cypress configs into cypress folder
gergoabraham Aug 29, 2023
d012eaf
run tests on CI
gergoabraham Aug 29, 2023
5bd9599
add `@serverless` tag to selected cypress tests
gergoabraham Aug 29, 2023
bdabdfa
fix eslint errors
gergoabraham Aug 30, 2023
df6c6f6
improve earlier eslint fix: remove unnecessary click
gergoabraham Aug 30, 2023
5b3f9e5
add `@brokenInServerless` to all "real endpoint" tests, until we got …
gergoabraham Aug 30, 2023
f01466d
add reporter config to cypress configs
gergoabraham Aug 30, 2023
0715a0c
fix lint errors
gergoabraham Sep 8, 2023
783402a
remove CI job for real endpoints against serverless
gergoabraham Sep 11, 2023
addb780
remove `@brokenInServerless` tags from skipped real endpoint tests
gergoabraham Sep 11, 2023
0019766
fix the eslint fix
gergoabraham Sep 11, 2023
4da5f86
run a placeholder test case for mocked_data
gergoabraham Sep 14, 2023
48ec79d
Revert "remove `@brokenInServerless` tags from skipped real endpoint …
gergoabraham Sep 14, 2023
3aaf36a
Revert "remove CI job for real endpoints against serverless"
gergoabraham Sep 14, 2023
88d79c2
run a placeholder test case for real endpoint serverless tests
gergoabraham Sep 14, 2023
bf44385
remove placeholder tests
gergoabraham Sep 14, 2023
4ac5a03
prevent `junit:merge` from failing CI step
gergoabraham Sep 14, 2023
08fab69
Merge branch 'main' into test/olm-7133-reuse-tests-for-serverless
gergoabraham Sep 19, 2023
4a0cea8
remove `http.host` server arg from shared config
gergoabraham Sep 19, 2023
11132d6
prepare `runEndpointLoaderScript()` for serverless
gergoabraham Sep 19, 2023
63e5342
add `dataLoaders()` back to serverless config
gergoabraham Sep 19, 2023
a2dca01
enable `Policy Details` cy test for serverless
gergoabraham Sep 19, 2023
6ae9f21
re-enable configurations that have problems fixed
gergoabraham Sep 19, 2023
b08267a
update readme
gergoabraham Sep 19, 2023
ad1c3fe
add reusable base config for cypress
gergoabraham Sep 19, 2023
6f90e66
Merge branch 'main' into test/olm-7133-reuse-tests-for-serverless
gergoabraham Sep 19, 2023
7ec96a3
add IS_SERVERLESS to cy config
gergoabraham Sep 19, 2023
75cde75
convert base config to a function instead of const
gergoabraham Sep 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove CI job for real endpoints against serverless
gergoabraham committed Sep 14, 2023
commit 783402ac707ed339389fe193b1aefcddd8c6dc7d
23 changes: 12 additions & 11 deletions .buildkite/pipelines/pull_request/defend_workflows.yml
Original file line number Diff line number Diff line change
@@ -35,15 +35,16 @@ steps:
- exit_status: '*'
limit: 1

- command: .buildkite/scripts/steps/functional/defend_workflows_vagrant_serverless.sh
label: 'Defend Workflows Endpoint Cypress Tests on Serverless'
agents:
queue: n2-4-virt
depends_on: build
timeout_in_minutes: 120
parallelism: 5
retry:
automatic:
- exit_status: '*'
limit: 1
# TODO: run this CI job after real Agents can run against serverless ES (https://github.com/elastic/security-team/issues/7467)
# - command: .buildkite/scripts/steps/functional/defend_workflows_vagrant_serverless.sh
# label: 'Defend Workflows Endpoint Cypress Tests on Serverless'
# agents:
# queue: n2-4-virt
# depends_on: build
# timeout_in_minutes: 120
# parallelism: 5
# retry:
# automatic:
# - exit_status: '*'
# limit: 1