|
1 | | -# vue-project |
| 1 | +# jakekohl.github.io (aka, the Professional Portfolio that is also a sandbox) |
2 | 2 |
|
3 | | -This template should help get you started developing with Vue 3 in Vite. |
| 3 | +Hey there! 👋 |
4 | 4 |
|
5 | | -## Recommended IDE Setup |
| 5 | +This project is my personal professional portfolio—a place to highlight my work, skills, and experience in tech. But it’s more than just a digital resume. I built this site as a hands-on sandbox for experimenting with modern web development tools, frameworks, and best practices. |
6 | 6 |
|
7 | | -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur). |
| 7 | +One of my main goals here is to showcase robust test automation, so you’ll find real-world implementations of both **Cypress** and **PlayWright** throughout the codebase. Whether you’re a recruiter, a fellow developer, or just curious, feel free to poke around and see how I approach building, testing, and continuously improving QA Test Automations within modern web applications! |
8 | 8 |
|
9 | | -## Customize configuration |
| 9 | +## Current Technologies Implemented |
10 | 10 |
|
11 | | -See [Vite Configuration Reference](https://vite.dev/config/). |
| 11 | +This project leverages a modern web stack and several best-in-class tools: |
12 | 12 |
|
13 | | -## Project Setup |
| 13 | +- **Vue 3**: The core framework for building the user interface. |
| 14 | +- **PrimeVue**: A rich UI component library for Vue, used extensively for layout and interactive elements. |
| 15 | +- **Cypress**: End-to-end and component testing framework, with custom commands and workflows implemented. |
| 16 | +- **Playwright**: Planned for future implementation as an additional E2E testing solution. |
| 17 | +- **Vite**: Lightning-fast build tool and development server. |
| 18 | +- **Other Node Packages**: For a full list of dependencies and devDependencies, see the [package.json](./package.json). |
14 | 19 |
|
15 | | -```sh |
16 | | -npm install |
17 | | -``` |
18 | | - |
19 | | -### Compile and Hot-Reload for Development |
| 20 | +You’ll find these technologies reflected throughout the codebase, with more details and specific versions in the [package.json](./package.json). |
20 | 21 |
|
21 | | -```sh |
22 | | -npm run dev |
23 | | -``` |
24 | 22 |
|
25 | | -### Compile and Minify for Production |
| 23 | +## Cypress & Playwright |
26 | 24 |
|
27 | | -```sh |
28 | | -npm run build |
29 | | -``` |
| 25 | +### Current Test Results |
| 26 | +Cypress Cloud Results can be found here, where you can see history of runs through local development and from the CI/CD Pipeline |
| 27 | +[](https://cloud.cypress.io/projects/kz76nf/runs) |
30 | 28 |
|
31 | | -### Run Headed Component Tests with [Cypress Component Testing](https://on.cypress.io/component) |
32 | 29 |
|
33 | | -```sh |
34 | | -npm run test:unit:dev # or `npm run test:unit` for headless testing |
35 | | -``` |
| 30 | +### Running Cypress Tests |
36 | 31 |
|
37 | | -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) |
| 32 | +You can run the Cypress test suite against the deployed site (`https://jakekohl.github.io`) or locally after cloning the repository. Below are step-by-step instructions for both approaches. |
38 | 33 |
|
39 | | -```sh |
40 | | -npm run test:e2e:dev |
41 | 34 | ``` |
| 35 | +# Clone this repo |
| 36 | +git clone https://github.com/jakekohl/jakekohl.github.io |
42 | 37 |
|
43 | | -This runs the end-to-end tests against the Vite development server. |
44 | | -It is much faster than the production build. |
45 | | - |
46 | | -But it's still recommended to test the production build with `test:e2e` before deploying (e.g. in CI environments): |
| 38 | +# Install packages |
| 39 | +npm i |
47 | 40 |
|
48 | | -```sh |
49 | | -npm run build |
50 | | -npm run test:e2e |
51 | | -``` |
| 41 | +# Run Cypress locally against the deployed site |
| 42 | +npx cypress run --config baseUrl=https://jakekohl.github.io |
52 | 43 |
|
53 | | -### Lint with [ESLint](https://eslint.org/) |
| 44 | +# Or open the Cypress UI with the deployed site as baseUrl |
| 45 | +npx cypress open --config baseUrl=https://jakekohl.github.io |
54 | 46 |
|
55 | | -```sh |
56 | | -npm run lint |
| 47 | +# If you want to run this locally, you can run the source code locally and run Cypress locally |
| 48 | +npm run dev && npm run cy:open |
57 | 49 | ``` |
| 50 | + |
| 51 | +### Running Playwright Test Automations |
| 52 | +`Coming Soon` |
0 commit comments