Skip to content

Commit

Permalink
Remove unwanted test
Browse files Browse the repository at this point in the history
  • Loading branch information
wryonik committed Jun 26, 2024
1 parent 718fee1 commit a16b0ad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 79 deletions.
75 changes: 0 additions & 75 deletions packages/app/src/constants.ts

This file was deleted.

3 changes: 2 additions & 1 deletion packages/app/src/contexts/GoogleAuth/GoogleAuthProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ import {

// import GoogleAuthContext from './GoogleAuthContext'
import { fetchProfile } from "../../hooks/useGmailClient";
import { esl } from "../../constants";
import GoogleAuthContext from "./GoogleAuthContext";

interface ProvidersProps {
children: ReactNode;
}

export const esl = false;

const GoogleAuthProvider = ({ children }: ProvidersProps) => {
/*
* Contexts
Expand Down
2 changes: 1 addition & 1 deletion packages/app/tests/e2e-dl-zkp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe("App.js", () => {
// status = await page.$eval("[data-testid='status-downloading-proof-files']", e => (e.attributes as any)['data-testid'].value);
// expect(status).toBe("status-downloading-proof-files");

await page.waitForSelector("[data-testid='status-proof-files-downloaded-successfully'", {timeout: 600000})
await page.waitForSelector("[data-testid='status-proof-files-downloaded-successfully'", {timeout: 1000000})

await page.click(proveButtonSelector);

Expand Down
4 changes: 2 additions & 2 deletions packages/app/tests/e2e-ui.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ const setTextAreaValue = async (page: Page, selector: string, value: string) =>

const gotToPageAndEnterInputs = async (page: Page, emailInputSelector: string, ethInputSelector: string, testEmailText: string, testEthAddress: string) => {
await page.goto(pageUrl);
// const proveButtonSelector = "button[data-testid='upload-email-eml-file-button']";
// await page.click(proveButtonSelector);
const proveButtonSelector = "button[data-testid='upload-email-eml-file-button']";
await page.click(proveButtonSelector);

await page.waitForSelector(emailInputSelector);
// 'page.keyboard.type()' takes too long. Use workaround.
Expand Down

0 comments on commit a16b0ad

Please sign in to comment.