This repository has been archived by the owner on Oct 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade cypress 11.0.1 remove txt files downgrade to cypress 10.11, 11 seems to be broken upgrade to cypress 11 change to chromium revert commandtypes test more blue team tests blue team tests blue team ci/cd command fix graphql test imports moving files to separate blueteam / redteam testing upgrade docker images, caching cypress upload raw logs fixture file, graphql upload campaign WIP test upgrade cypress to 10.11.0 * reduced number of parallelization (+10 squashed commits) Squashed commits: [bf87ede] going to skip select beacon, select host test [666d32f] forgot to uncomment [1553970] changing cache [351c86e] edit select beacon blue team test [b61831c] fix flaky select host and beacon tests [3cdc4d9] test [5274cc2] upgrade cypress, edit workflow [c668831] waits for flaky tests [8381d2e] workflow update [72a80f5] make project id public * reduce to 0 matrix * comment out whole workflow * upgrade cypress to 11.2.0 * fix broken blue team checkscreenshot test
- Loading branch information
1 parent
4e133e9
commit e1a5620
Showing
191 changed files
with
2,283 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,222 @@ | ||
# name: Cypress Tests | ||
|
||
# # concurrency: | ||
# # group: ${{ github.workflow }}-${{ github.ref }} | ||
# # cancel-in-progress: true | ||
|
||
# on: | ||
# # manual button click from the GitHub UI | ||
# workflow_dispatch: | ||
# push: | ||
# branches: | ||
# - main | ||
# - develop | ||
# pull_request: | ||
# branches: | ||
# - '**' | ||
|
||
# jobs: | ||
# prepare: | ||
# runs-on: ubuntu-20.04 | ||
# outputs: | ||
# uuid: ${{ steps.uuid.outputs.value }} | ||
# steps: | ||
# - name: Generate unique ID 💎 | ||
# id: uuid | ||
# run: echo "{name}={sha-$GITHUB_SHA-time-$(date +"%s")}" >> $GITHUB_ENV | ||
|
||
# - name: Print unique ID 🖨` | ||
# run: echo "generated id ${{ steps.uuid.outputs.value }}" | ||
|
||
# install: | ||
# needs: ['prepare'] | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v3 | ||
|
||
# - name: Cache | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# cache: 'yarn' | ||
# - run: yarn install | ||
# - run: yarn build:all | ||
|
||
# - name: Save build folder | ||
# uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: dist | ||
# if-no-files-found: error | ||
# path: dist | ||
|
||
# RedTeamChrome: | ||
# runs-on: ubuntu-latest | ||
# container: | ||
# image: cypress/browsers:node18.12.0-chrome106-ff106 | ||
# needs: [prepare, install] | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# containers: [1, 2, 3, 4, 5] | ||
|
||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v3 | ||
|
||
# - name: Cache | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# cache: 'yarn' | ||
|
||
# - name: Download the build folders | ||
# uses: actions/download-artifact@v3 | ||
# with: | ||
# name: dist | ||
# path: dist | ||
|
||
# - name: 'Red Team Tests - Chrome' | ||
# uses: cypress-io/github-action@v4 | ||
# with: | ||
# start: yarn start | ||
# wait-on: 'http://localhost:4000/api/graphql, http://localhost:3500' | ||
# browser: chrome | ||
# group: 'Red Team - Chrome' | ||
# working-directory: applications/redeye-e2e | ||
# config: baseUrl=http://localhost:3500 | ||
# record: true | ||
# parallel: true | ||
# config-file: cypress.config.js | ||
# spec: src/integration/e2e/redteam/**/**/**/*.cy.js | ||
# ci-build-id: ${{ needs.prepare.outputs.uuid }} | ||
# env: | ||
# CYPRESS_PROJECT_ID: 'rsybgk' | ||
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY_RED }} | ||
|
||
# RedTeamFirefox: | ||
# runs-on: ubuntu-latest | ||
# container: | ||
# image: cypress/browsers:node18.12.0-chrome106-ff106 | ||
# options: --user 1001 | ||
# needs: [prepare, install] | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# containers: [1, 2, 3, 4, 5] | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v3 | ||
|
||
# - name: Cache | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# cache: 'yarn' | ||
|
||
# - name: Download the build folders | ||
# uses: actions/download-artifact@v3 | ||
# with: | ||
# name: dist | ||
# path: dist | ||
|
||
# - name: 'Red Team Tests - Firefox' | ||
# uses: cypress-io/github-action@v4 | ||
# with: | ||
# start: yarn start | ||
# wait-on: 'http://localhost:4000/api/graphql, http://localhost:3500' | ||
# browser: firefox | ||
# group: 'Red Team - Firefox' | ||
# working-directory: applications/redeye-e2e | ||
# config: baseUrl=http://localhost:3500 | ||
# record: true | ||
# parallel: true | ||
# config-file: cypress.config.js | ||
# spec: src/integration/e2e/redteam/**/**/**/*.cy.js | ||
# ci-build-id: ${{ needs.prepare.outputs.uuid }} | ||
# env: | ||
# CYPRESS_PROJECT_ID: 'rsybgk' | ||
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY_RED1 }} | ||
|
||
# BlueTeamChrome: | ||
# runs-on: ubuntu-latest | ||
# container: | ||
# image: cypress/browsers:node18.12.0-chrome106-ff106 | ||
# options: --user 1001 | ||
# needs: [prepare, install] | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# containers: [1, 2, 3, 4, 5] | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v3 | ||
|
||
# - name: Cache | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# cache: 'yarn' | ||
|
||
# - name: Download the build folders | ||
# uses: actions/download-artifact@v3 | ||
# with: | ||
# name: dist | ||
# path: dist | ||
|
||
# - name: 'Blue Team Tests - Chrome' | ||
# uses: cypress-io/github-action@v4 | ||
# with: | ||
# start: yarn start:blue | ||
# wait-on: 'http://localhost:4000/api/graphql, http://localhost:3500' | ||
# browser: chrome | ||
# group: 'Blue Team - Chrome' | ||
# working-directory: applications/redeye-e2e | ||
# config: baseUrl=http://localhost:3500 | ||
# record: true | ||
# parallel: true | ||
# config-file: cypress.config.js | ||
# spec: src/integration/e2e/blueteam/**/*.cy.js | ||
# ci-build-id: ${{ needs.prepare.outputs.uuid }} | ||
# env: | ||
# CYPRESS_PROJECT_ID: '46ahz3' | ||
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY_BLUE }} | ||
|
||
# BlueTeamFirefox: | ||
# runs-on: ubuntu-latest | ||
# container: | ||
# image: cypress/browsers:node18.12.0-chrome106-ff106 | ||
# options: --user 1001 | ||
# needs: [prepare, install] | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# containers: [1, 2, 3, 4, 5] | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v3 | ||
|
||
# - name: Cache | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# cache: 'yarn' | ||
|
||
# - name: Download the build folders | ||
# uses: actions/download-artifact@v3 | ||
# with: | ||
# name: dist | ||
# path: dist | ||
|
||
# - name: 'Blue Team Tests - Firefox' | ||
# uses: cypress-io/github-action@v4 | ||
# with: | ||
# start: yarn start:blue | ||
# wait-on: 'http://localhost:4000/api/graphql, http://localhost:3500' | ||
# browser: firefox | ||
# group: 'Blue Team - Firefox' | ||
# working-directory: applications/redeye-e2e | ||
# config: baseUrl=http://localhost:3500 | ||
# record: true | ||
# parallel: true | ||
# config-file: cypress.config.js | ||
# spec: src/integration/e2e/blueteam/**/*.cy.js | ||
# ci-build-id: ${{ needs.prepare.outputs.uuid }} | ||
# env: | ||
# CYPRESS_PROJECT_ID: '46ahz3' | ||
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY_BLUE1 }} |
Oops, something went wrong.