mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-11-12 22:16:16 +00:00
add empty crud e2e tests
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
cf551f932b
commit
c66f43f6e9
@ -8,7 +8,7 @@ describe("test App end to end", async () => {
|
|||||||
let browser;
|
let browser;
|
||||||
let page;
|
let page;
|
||||||
|
|
||||||
beforeEach(async () => {
|
before(async () => {
|
||||||
browser = await puppeteer.launch();
|
browser = await puppeteer.launch();
|
||||||
page = await browser.newPage();
|
page = await browser.newPage();
|
||||||
try{
|
try{
|
||||||
@ -24,7 +24,23 @@ describe("test App end to end", async () => {
|
|||||||
assert.strictEqual(await page.title(), "Food Journal");
|
assert.strictEqual(await page.title(), "Food Journal");
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(async () => {
|
it("test create review functinality", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
it("test read review functinality", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
it("test update review functinality", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
it("test delete review functinality", async () => {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
after(async () => {
|
||||||
await page.close();
|
await page.close();
|
||||||
await browser.close();
|
await browser.close();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user