This repository was archived by the owner on Feb 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
187 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,4 +166,5 @@ __pypackages__/ | |
src/backend/*.db | ||
.npmrc | ||
.yarnrc | ||
*.local | ||
*.local | ||
screenshots/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
VITE_API_URL=http://localhost:8181 | ||
|
||
|
||
VITE_COVERAGE=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
module.exports = { | ||
presets: ["@vue/cli-plugin-babel/preset"], | ||
plugins: ["istanbul"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/// <reference types="cypress" /> | ||
// var date = new Date(); | ||
describe("SFM Frontend Tests", () => { | ||
const dayjs = require("dayjs"); | ||
const todaysDate = dayjs().format("YYYY-MM-DD"); | ||
const todaysDateConfirm = dayjs().format("DD MMM YYYY"); | ||
const historicalDate = dayjs().subtract(60, "day").format("YYYY-MM-DD"); | ||
const historicalDateConfirm = dayjs() | ||
.subtract(60, "day") | ||
.format("DD MMM YYYY"); | ||
it("Load Home Page", function () { | ||
cy.visit("localhost:3000"); | ||
}); | ||
|
||
it("Load About Page", function () { | ||
cy.visit("localhost:3000/about"); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
const { startDevServer } = require("@cypress/vite-dev-server"); | ||
const codeCoverageTask = require("@cypress/code-coverage/task"); | ||
|
||
/** | ||
* @type {Cypress.PluginConfig} | ||
*/ | ||
|
||
module.exports = (on, config) => { | ||
on("dev-server:start", async (options) => startDevServer({ options })); | ||
codeCoverageTask(on, config); | ||
|
||
return config; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/// <reference types="cypress" /> | ||
import { mount } from "@cypress/vue"; | ||
import Header from "./Header.vue"; | ||
import "../index.css"; | ||
|
||
describe("Meeting Statistics", () => { | ||
it("Header is visible", () => { | ||
mount(Header); | ||
cy.get(".flex").should("be.visible"); | ||
}); | ||
it("Logo is visible", () => { | ||
mount(Header); | ||
cy.get(".w-8").should("be.visible"); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.