Skip to content

Commit

Permalink
remove proposals and smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrodri committed Apr 4, 2024
1 parent 22212bc commit 790fb3e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 57 deletions.
16 changes: 16 additions & 0 deletions tests/disconnected/homepage/desktop.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,20 @@ test.describe('homepage desktop', () => {
test('two', async ({ page }) => {
// ...
});

// TODO: count proposals and check something more

// TODO: think about this and how to handle navigation to another page
// const tenantExpectedTextMapping: { [key: string]: string } = {
// optimism: "Optimism voters",
// ens: "ENS voters",
// etherfi: "EtherFi voters",
// lyra: "Lyra voters",
// };

// const expectedText = tenantExpectedTextMapping[tenant];

// await page.getByRole("link", { name: "Voters" }).click();
// await page.waitForURL("**/delegates");
// await expect(page.locator("h1")).toContainText(expectedText);
});
20 changes: 0 additions & 20 deletions tests/proposals.spec.ts

This file was deleted.

37 changes: 0 additions & 37 deletions tests/smoke.spec.ts

This file was deleted.

0 comments on commit 790fb3e

Please sign in to comment.