diff --git a/modules/farm_fd2/src/entrypoints/main/main.exists.e2e.cy.js b/modules/farm_fd2/src/entrypoints/main/main.exists.e2e.cy.js index 26e31602c..cad065721 100644 --- a/modules/farm_fd2/src/entrypoints/main/main.exists.e2e.cy.js +++ b/modules/farm_fd2/src/entrypoints/main/main.exists.e2e.cy.js @@ -57,6 +57,14 @@ describe('FarmData2 Main Page - Launch Pad', () => { altText: 'Transplanting', path: '/fd2/transplanting', }, + { + text: 'Harvest', + dataCyText: 'harvest-text', + dataCyButton: 'harvest-button', + dataCyIcon: 'harvest-icon', + altText: 'Harvest', + path: '/fd2/harvest', + }, ], }, ]; diff --git a/modules/farm_fd2_school/src/entrypoints/main/App.vue b/modules/farm_fd2_school/src/entrypoints/main/App.vue index 56729fd04..185f8ed91 100644 --- a/modules/farm_fd2_school/src/entrypoints/main/App.vue +++ b/modules/farm_fd2_school/src/entrypoints/main/App.vue @@ -1,31 +1,520 @@ - - + computed: { + pageDoneLoading() { + return this.createdCount == 1; + }, + }, + created() { + this.createdCount++; + }, + methods: { + navigateTo(path) { + window.location.href = path; + }, + }, + }; + + + \ No newline at end of file