Skip to content

Commit

Permalink
using base_url to inherit from pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot committed Apr 9, 2024
1 parent 1fb16b5 commit d1b17b2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 33 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,19 @@ jobs:
--set-json frontend.containers[0].resources='{"limits": {"cpu": "75m", "memory": "150Mi"}, "requests": {"cpu": "25m", "memory": "50Mi"}}' \
--set-json tps-migration.containers[0].resources='{"limits": {"cpu": "75m", "memory": "150Mi"}, "requests": {"cpu": "25m", "memory": "50Mi"}}' \
--set-json vehicles.containers[0].resources='{"limits": {"cpu": "300m", "memory": "500Mi"}, "requests": {"cpu": "200m", "memory": "400Mi"}}' \
tests:
name: Tests
if: needs.deploys.triggered == 'true'
needs: [deploys]
uses: ./.github/workflows/.tests.yml
with:
target: ${{ github.event.number }}

results:
name: PR Results
if: always() && !failure()
needs: [tests]
runs-on: ubuntu-22.04
steps:
- run: echo "Workflow completed successfully!"
6 changes: 3 additions & 3 deletions frontend/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { defineConfig } from "cypress";

export default defineConfig({
e2e: {
baseUrl: 'https://onroutebc-test-frontend.apps.silver.devops.gov.bc.ca/',
setupNodeEvents(on, config) {
// implement node event listeners here
},
experimentalStudio: true,
experimentalWebKitSupport: true,
},
env: {
CYPRESS_baseUrl: 'http://localhost:3000',
}
});
30 changes: 0 additions & 30 deletions frontend/cypress/e2e/hom-page.cy.ts

This file was deleted.

Binary file not shown.

0 comments on commit d1b17b2

Please sign in to comment.