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

feat(3814): tweak public cloud create test to run in github actions #3818

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/cypress-e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
mkdir -p ./localdev/mnt/postgres

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
~/.docker/cli-plugins/docker-compose -f localdev/docker-compose.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