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

Simplified intigration test for K8s in cypress #1201

Closed
wants to merge 48 commits into from
Closed
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
0c71d1c
Fix: Used get(0) function insted of getFirst() to check weather the s…
Shubham-Patel07 Dec 18, 2023
1137049
Merge branch 'OWASP:master' into master
Shubham-Patel07 Jan 4, 2024
71c285c
Add: changed the logic of button from racdio button to checkbox
Shubham-Patel07 Jan 12, 2024
cc6ae17
Merge branch 'OWASP:master' into master
Shubham-Patel07 Jan 12, 2024
4a38a1c
Add: changed some styles to make the checkbox invisible and add the a…
Shubham-Patel07 Jan 12, 2024
23ad4a1
Fix: Removed unwanted classes
Shubham-Patel07 Jan 12, 2024
9134c2a
Fix: Changed the test cypress script logic from radio button to check…
Shubham-Patel07 Jan 15, 2024
00a29a5
Fix: cypress scripts for challange-5
Shubham-Patel07 Jan 22, 2024
5e18ecf
Fix: cypress scripts for challange-6
Shubham-Patel07 Jan 22, 2024
089af8b
Fix: cypress scripts for challange-7
Shubham-Patel07 Jan 24, 2024
992da9c
Fix: cypress scripts for challange-33
Shubham-Patel07 Jan 24, 2024
25bbd54
Fix: automated checking for correct answer using /spoil/{short-name} …
Shubham-Patel07 Jan 24, 2024
16d4b41
Fix: cypress scripts for challange-5
Shubham-Patel07 Jan 22, 2024
81ffec5
Fix: cypress scripts for challange-6
Shubham-Patel07 Jan 22, 2024
7771b31
Fix: cypress scripts for challange-7
Shubham-Patel07 Jan 24, 2024
3ccddeb
Fix: cypress scripts for challange-33
Shubham-Patel07 Jan 24, 2024
59d8658
Fix: automated checking for correct answer using /spoil/{short-name} …
Shubham-Patel07 Jan 24, 2024
9a0cc60
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Jan 25, 2024
e8284eb
Merge branch 'master' into fix/Issue1114
commjoen Jan 28, 2024
34aede5
Create K8s-challange-test.yml
Shubham-Patel07 Jan 29, 2024
42d3d7a
Merge branch 'master' into fix/Issue1114
commjoen Jan 29, 2024
6766664
Add: workflow added, changed the tests now fails on having default va…
Shubham-Patel07 Jan 30, 2024
43b4f62
Add: workflow added, changed the tests now fails on having default va…
Shubham-Patel07 Jan 30, 2024
0ba05d9
Merge branch 'master' into fix/issue1114
Shubham-Patel07 Jan 30, 2024
9cf3be8
Add: workflow added, changed the tests now fails on having default va…
Shubham-Patel07 Jan 30, 2024
b2a98e2
Update minikube-k8s-test.yml node version to 21
Shubham-Patel07 Jan 31, 2024
b727aa0
Merge branch 'master' into fix/Issue1114
commjoen Jan 31, 2024
ac47c53
Merge branch 'master' into fix/Issue1114
commjoen Feb 1, 2024
4a2fd2e
Add: workflow update
Shubham-Patel07 Feb 1, 2024
298b373
Add: workflow update
Shubham-Patel07 Feb 1, 2024
466317a
Add: workflow update
Shubham-Patel07 Feb 1, 2024
dc4a56e
Add: workflow update
Shubham-Patel07 Feb 1, 2024
5147b3f
Add: workflow update
Shubham-Patel07 Feb 1, 2024
ea9d752
Add: workflow update
Shubham-Patel07 Feb 1, 2024
3c6e8ff
Add: workflow update
Shubham-Patel07 Feb 1, 2024
22ad085
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Feb 1, 2024
7acdba6
Add: workflow update
Shubham-Patel07 Feb 3, 2024
0654058
Merge remote-tracking branch 'origin/fix/Issue1114' into fix/Issue1114
Shubham-Patel07 Feb 3, 2024
fb44ddc
Add: workflow update
Shubham-Patel07 Feb 3, 2024
95c9d83
Add: workflow update
Shubham-Patel07 Feb 3, 2024
6a2cd03
Add: workflow update
Shubham-Patel07 Feb 3, 2024
db9ce85
Add: workflow update
Shubham-Patel07 Feb 4, 2024
924c821
Add: workflow update
Shubham-Patel07 Feb 4, 2024
22fc825
Add: workflow update final
Shubham-Patel07 Feb 4, 2024
eb3cca7
Add: workflow update final
Shubham-Patel07 Feb 4, 2024
bfac516
Add: workflow update final and config file updated
Shubham-Patel07 Feb 4, 2024
7405b99
Add: reverted unwanted changes
Shubham-Patel07 Feb 4, 2024
35b9a7e
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Feb 4, 2024
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
25 changes: 25 additions & 0 deletions .github/workflows/minikube-vault-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,28 @@ jobs:
- name: test script
run: |
./k8s-vault-minkube-start.sh && sleep 5 && curl http://localhost:8080/spoil/challenge-7 && minikube delete

cypress-tests:
name: Cypress Test for Challenges
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
- uses: eLco/[email protected]
- name: Start minikube
uses: medyagh/setup-minikube@master
with:
minikube-version: 1.31.2
driver: docker
kubernetes-version: v1.28.1
- name: Setup helm
uses: azure/[email protected]
id: install
- name: test script
run: |
./k8s-vault-minkube-start.sh && sleep 5 && curl http://localhost:8080/spoil/challenge-7

- name: Run Tests
run: |
npm install
npx cypress run --config-file src/test/K8s-tests/cypress.config.js && minikube delete
Loading
Loading