diff --git a/cypress/e2e/portfolio.cy.js b/cypress/e2e/portfolio.cy.js index df06d69..ca4ad72 100644 --- a/cypress/e2e/portfolio.cy.js +++ b/cypress/e2e/portfolio.cy.js @@ -26,12 +26,18 @@ describe('portfolio', () => { }); it('displays project information in the project card', () => { - cy.get('[data-cy="project-tag"]').should('contain', 'PROJECTS'); + cy.get('[data-cy="project-tag"]').should('contain', 'PRODUCTION APPLICATIONS'); cy.get('[data-cy="project-title"]').should( 'contain', 'I have had the opportunity to work on several production applications in' ); - cy.get('[data-cy="project-details-title"]').should('have.length', 5); + + cy.get('[data-cy="personal-project-tag').should('contain', 'PERSONAL PROJECTS'); + cy.get('[data-cy="personal-project-title"]').should( + 'contain', + 'I tend to build projects to learn something' + ); + cy.get('[data-cy="project-details-title"]').should('have.length', 9); cy.get('[data-cy="project-details-title"]') .eq(1) .should('contain', 'Higher Education'); diff --git a/cypress/videos/portfolio.cy.js.mp4 b/cypress/videos/portfolio.cy.js.mp4 deleted file mode 100644 index f8ac79f..0000000 Binary files a/cypress/videos/portfolio.cy.js.mp4 and /dev/null differ diff --git a/package.json b/package.json index cf3d094..060adfc 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "start": "astro dev", "build": "astro build", "preview": "astro preview", - "astro": "astro" + "astro": "astro", + "test": "npx cypress run" }, "dependencies": { "@astrojs/tailwind": "^3.1.2", diff --git a/src/components/PersonalProjectsCard.astro b/src/components/PersonalProjectsCard.astro index f3e964f..cc800a2 100644 --- a/src/components/PersonalProjectsCard.astro +++ b/src/components/PersonalProjectsCard.astro @@ -7,14 +7,13 @@ import ProjectDetails from "../components/ProjectDetails.astro";

PERSONAL PROJECTS

-

- I have had the opportunity to work on several production applications in my - career. I have worked for product companies and also worked for a - consultancy, where I worked on various teams and with various technologies. +

+ I tend to build projects to learn something, instead of relying on tutorials + or guides. I think it helps me internalize concepts more quickly.