Skip to content

Commit

Permalink
Merge branch 'main' into fetch-decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
frodehansen2 committed Nov 2, 2023
2 parents 864dd3e + 0bd37b5 commit a30841b
Show file tree
Hide file tree
Showing 50 changed files with 918 additions and 579 deletions.
5 changes: 5 additions & 0 deletions .changeset/clean-camels-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@navikt/sif-common-forms-ds': minor
---

Bytte regexp på telefonnummer til regnskapsfører, som nå tillater kun + space og tall. Noen tekstendringer.
5 changes: 5 additions & 0 deletions .changeset/curvy-cooks-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@navikt/sif-common-formik-ds': patch
---

Legge til manglende default valideringstekst når tekst har ugyldig format
5 changes: 5 additions & 0 deletions .changeset/rude-kings-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@navikt/omsorgspengerutbetaling-soknad': patch
---

Legge til manglende env variable USE_AMPLITUDE
5 changes: 5 additions & 0 deletions .changeset/three-bees-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@navikt/pleiepenger-sykt-barn': patch
---

Fjerne ubrukt tekst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: yarn test --filter=pleiepenger-sykt-barn

- name: Build and start e2e server
uses: cypress-io/github-action@v6.5.0
uses: cypress-io/github-action@v6.6.0
env:
DEKORATOR_URL: https://www.nav.no/dekoratoren/?simple=true&chatbot=false
PUBLIC_PATH: /familie/sykdom-i-familien/soknad/pleiepenger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
cache: 'yarn'

- name: Build and start e2e server
uses: cypress-io/github-action@v6.5.0
uses: cypress-io/github-action@v6.6.0
env:
DEKORATOR_URL: https://www.nav.no/dekoratoren/?simple=true&chatbot=false
PUBLIC_PATH: /familie/sykdom-i-familien/soknad/ekstra-omsorgsdager-andre-forelder-ikke-tilsyn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.endringsmelding-pleiepenger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
cache: 'yarn'

- name: Build and start e2e server
uses: cypress-io/github-action@v6.5.0
uses: cypress-io/github-action@v6.6.0
env:
API_URL_INNSYN: http://localhost:8099
API_URL: http://localhost:8099
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.omsorgsdager-aleneomsorg-dialog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
cache: 'yarn'

- name: Build and start e2e server
uses: cypress-io/github-action@v6.5.0
uses: cypress-io/github-action@v6.6.0
env:
DEKORATOR_URL: https://www.nav.no/dekoratoren/?simple=true&chatbot=false
PUBLIC_PATH: /familie/sykdom-i-familien/soknad/omsorgsdager-aleneomsorg
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.omsorgspengesøknad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
cache: 'yarn'

- name: Build and start e2e server
uses: cypress-io/github-action@v6.5.0
uses: cypress-io/github-action@v6.6.0
env:
DEKORATOR_URL: https://www.nav.no/dekoratoren/?simple=true&chatbot=false
PUBLIC_PATH: /familie/sykdom-i-familien/soknad/omsorgspenger
Expand Down
34 changes: 12 additions & 22 deletions .github/workflows/test.pleiepenger-i-livets-sluttfase-soknad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
- name: Run code tests
run: yarn test --filter=pleiepenger-i-livets-sluttfase-soknad

run-cypress-test:
run-playwright-test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -46,25 +47,14 @@ jobs:
node-version: 18
cache: 'yarn'

- name: Build and start e2e server
uses: cypress-io/[email protected]
env:
DEKORATOR_URL: https://www.nav.no/dekoratoren/?simple=true&chatbot=false
PUBLIC_PATH: /familie/sykdom-i-familien/soknad/pleiepenger-i-livets-sluttfase
FRONTEND_API_PATH: http://localhost:8089/
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APPSTATUS_PROJECT_ID: ryujtq87
APPSTATUS_DATASET: staging
with:
project: ./apps/pleiepenger-i-livets-sluttfase-soknad/e2e
build: yarn build-pleiepenger-i-livets-sluttfase-soknad
start: yarn turbo start-e2e-server --filter=pleiepenger-i-livets-sluttfase-soknad
wait-on: 'http://localhost:8080/familie/sykdom-i-familien/soknad/pleiepenger-i-livets-sluttfase/alive'
wait-on-timeout: 60
runTests: false
- name: Install dependencies
run: yarn

- name: Install Playwright Browsers
run: npx playwright install chromium

- name: Build application
run: yarn build-app --filter=pleiepenger-i-livets-sluttfase-soknad

- name: Run cypress tests
run: yarn turbo cypress-run --filter=pleiepenger-i-livets-sluttfase-soknad
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- name: Run tests
run: yarn turbo playwright-test --filter=pleiepenger-i-livets-sluttfase-soknad
2 changes: 1 addition & 1 deletion .github/workflows/test.pleiepenger-sykt-barn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
cache: 'yarn'

- name: Build and start e2e server
uses: cypress-io/github-action@v6.5.0
uses: cypress-io/github-action@v6.6.0
env:
DEKORATOR_URL: https://www.nav.no/dekoratoren/?simple=true&chatbot=false
PUBLIC_PATH: /familie/sykdom-i-familien/soknad/pleiepenger
Expand Down
12 changes: 6 additions & 6 deletions apps/ekstra-omsorgsdager-andre-forelder-ikke-tilsyn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"test": "react-scripts test --watchAll=false --env=jsdom"
},
"dependencies": {
"@navikt/ds-css": "5.8.0",
"@navikt/ds-react": "5.8.0",
"@navikt/ds-tailwind": "5.8.0",
"@navikt/ds-css": "5.9.1",
"@navikt/ds-react": "5.9.1",
"@navikt/ds-tailwind": "5.9.1",
"@navikt/sif-app-register": "workspace:*",
"@navikt/sif-common-amplitude": "workspace:*",
"@navikt/sif-common-core-ds": "workspace:*",
Expand All @@ -44,7 +44,7 @@
"helmet": "7.0.0",
"history": "5.3.0",
"http-proxy-middleware": "2.0.6",
"jose": "5.0.1",
"jose": "5.0.2",
"mustache-express": "1.3.2",
"object-hash": "3.0.0",
"openid-client": "5.6.1",
Expand All @@ -53,7 +53,7 @@
"react-dom": "18.2.0",
"react-fast-compare": "3.2.2",
"react-intl": "6.5.1",
"react-router-dom": "6.17.0",
"react-router-dom": "6.18.0",
"vite": "4.5.0",
"vite-plugin-checker": "0.6.2"
},
Expand All @@ -67,7 +67,7 @@
"@testing-library/react": "14.0.0",
"@types/jest": "29.5.7",
"@types/object-hash": "3.0.5",
"@types/react": "18.2.33",
"@types/react": "18.2.34",
"@types/react-dom": "18.2.14",
"@types/react-router-dom": "5.3.3",
"babel-polyfill": "6.26.0",
Expand Down
Loading

0 comments on commit a30841b

Please sign in to comment.