File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ describe('Projects', () => {
1919 } ) ;
2020 } ) ;
2121
22- it . skip ( 'should show a list of completed projects' , ( ) => {
22+ it ( 'should show a list of completed projects' , ( ) => {
2323 const completedProjects = [ ] ;
2424
2525 cy . getDataTest ( 'completed-projects' ) . should ( 'be.visible' ) . within ( ( ) => {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import TopNav from './components/TopNav.vue';
44
55<template >
66 <div id =" app" class =" min-h-screen" >
7- <TopNav />
7+ <TopNav data-test = " nav-top-menubar " />
88 <main >
99 <RouterView />
1010 </main >
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ const openLiveDemo = (demoUrl) => {
188188 <p class =" section-subtitle" >Finished projects and accomplishments</p >
189189 </div >
190190
191- <div class =" projects-grid" >
191+ <div class =" projects-grid" data-test = " completed-projects " >
192192 <PrimeCard
193193 v-for =" project in completedProjects"
194194 :key =" project.title"
@@ -270,13 +270,15 @@ const openLiveDemo = (demoUrl) => {
270270 label =" View Code"
271271 icon =" pi pi-github"
272272 variant =" gradient"
273+ data-test =" project-code-button"
273274 @click =" openGithubRepo(project.github)"
274275 />
275276 <CustomButton
276277 v-if =" project.demo"
277278 label =" Live Demo"
278279 icon =" pi pi-external-link"
279280 variant =" gradient"
281+ data-test =" project-demo-button"
280282 @click =" openLiveDemo(project.demo)"
281283 />
282284 </div >
You can’t perform that action at this time.
0 commit comments