Skip to content

Commit

Permalink
Merge pull request #741 from DTS-STN/dependasnyk
Browse files Browse the repository at this point in the history
consolidate outstanding snyk and dependabot dependency vulnerability updates
  • Loading branch information
jhslater authored Oct 22, 2024
2 parents 8262fa5 + d639013 commit 3375de1
Show file tree
Hide file tree
Showing 4 changed files with 384 additions and 700 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.16.0-alpine3.20 AS base
FROM node:20.17.0-alpine3.20 AS base
WORKDIR /base
COPY package*.json ./
RUN npm ci && npm cache clean --force
Expand Down Expand Up @@ -42,7 +42,7 @@ xargs > \
chmod 644 /etc/ssl/certs/root.crt && \
npm run build

FROM node:20.16.0-alpine3.20 AS production
FROM node:20.17.0-alpine3.20 AS production
ENV NODE_ENV=production

ARG user=nodeuser
Expand Down
8 changes: 5 additions & 3 deletions cypress/e2e/dashboard.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ describe('Validate dashboard page', () => {
})


it('Validate 5 Cards (EI,CPP,OAS,SIN,CAL) Card titles are Visible', () => {
it('Validate 6 Cards (CDCP, EI,CPP,OAS,SIN,CAL) Card titles are Visible', () => {
const cardTitles = [
'Canadian Dental Care Plan',
'Employment Insurance',
'Canada Pension Plan',
'Old Age Security and Guaranteed Income Supplement',
Expand All @@ -58,7 +59,7 @@ describe('Validate dashboard page', () => {
cy.get('[data-testid="myDashboardContent-test"]')
.children('[data-cy="cards"]')
.should('be.visible')
.and('have.length', 5)
.and('have.length', 6)
})

it('validate the "My dashboard" page doesnt have breadcrumbs', () => {
Expand All @@ -68,6 +69,7 @@ describe('Validate dashboard page', () => {
// EN This tests all of the most requested items and links.
it('should iterate through cards, verfiying Most Requested section and links EN', () => {
const cardTitles = [
'Canadian Dental Care Plan',
'Employment Insurance',
'Canada Pension Plan',
'Old Age Security and Guaranteed Income Supplement',
Expand Down Expand Up @@ -212,7 +214,7 @@ describe('Validate dashboard page', () => {
// EN Tests the Links for Profile page in EI, CPP and OAS but not SIN and Cal
it('Iterates through EI, CPP and OAS task lists for Profile page EN', () => {
const cardTitles = [
// 'Canadian Dental Care Plan',
//'Canadian Dental Care Plan',
'Employment Insurance',
'Canada Pension Plan',
'Old Age Security and Guaranteed Income Supplement',
Expand Down
Loading

0 comments on commit 3375de1

Please sign in to comment.