Skip to content

Commit

Permalink
feat(3814): tweak public cloud create test to run in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
funtigr committed Sep 20, 2024
1 parent b7e84eb commit 1ddb830
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cypress-e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
export MACHINE_HOST_IP=$(hostname -I | awk '{print $1}')
~/.docker/cli-plugins/docker-compose -f localdev/docker-compose.yml -f localdev/docker-compose-ci.yml up -d
node_modules/.bin/wait-on http://localhost:8080/health/ready --timeout 120000
node_modules/.bin/wait-on http://localhost:8080/realms/platform-services/.well-known/openid-configuration --timeout 120000
node_modules/.bin/wait-on http://localhost:8080/realms/platform-services/.well-known/openid-configuration --timeout 240000
cp app/.env.example app/.env.test
- name: Run App
Expand All @@ -67,5 +67,5 @@ jobs:

- name: Clean Up Localdev Environment
run: |
~/.docker/cli-plugins/docker-compose -f localdev/docker-compose.yml -f localdev/docker-compose-ci.yml down
~/.docker/cli-plugins/docker-compose -f localdev/docker-compose.yml down
sudo rm -rf ./localdev/mnt
1 change: 1 addition & 0 deletions cypress/_tmp/edit-request-private-test.feature
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Feature: Edit Request
And User selects "Finance" in "Ministry"
And User clicks tab "Team contacts"
And User types and selects "david.johnson@gov.bc.ca" in "Product Owner Email"
And User waits for "2" seconds
And User types and selects "sarah.williams@gov.bc.ca" in "Technical Lead Email"
And User clicks button "ADD SECONDARY TECHNICAL LEAD"
And User types and selects Secondary Tech Lead "michael.brown@gov.bc.ca"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Feature: New Request
And User checks checkbox "Tools Account"
And User clicks tab "Team contacts"
And User types and selects "james.smith@gov.bc.ca" in "Product Owner Email"
And User waits for "2" seconds
And User types and selects "john.doe@gov.bc.ca" in "Technical Lead Email"
And User clicks tab "Expense authority"
And User types and selects "public.admin.system@gov.bc.ca" in "Expense Authority Email"
Expand All @@ -28,8 +29,8 @@ Feature: New Request
And User types "2345" in "Standard Object of Expense (STOB)"
And User types "6789012" in "Project Code"
And User clicks button "SUBMIT REQUEST"
And User checks checkbox "...has signed a Memorandum of Understanding..."
And User checks checkbox "...is liable to pay the base charge..."
And User checks checkbox "No eMOU exists for this account coding."
And User checks checkbox "...team is liable to pay the base charge..."
And User clicks modal window button "SUBMIT REQUEST"
And User waits for "4" seconds
And User clicks button "Return to Dashboard"
Expand Down

0 comments on commit 1ddb830

Please sign in to comment.