diff --git a/client/e2e/trackBallot.spec.ts b/client/e2e/trackBallot.spec.ts
index e1279084..6513a5e0 100644
--- a/client/e2e/trackBallot.spec.ts
+++ b/client/e2e/trackBallot.spec.ts
@@ -95,60 +95,6 @@ test("tracking a non-existing ballot shows an error", async ({ page }) => {
await page.getByPlaceholder("Ballot tracking code").fill("hijklm");
});
-test("tracking a rejected ballot has the right text", async ({ page }) => {
- // Mock Network calls
- await page.route("**/*", async (route) => {
- const url = route.request().url();
-
- // Intercept DBB latest config calls
- if (url.indexOf("us3/configuration/latest_config") > 0) {
- return route.fulfill({
- status: 200,
- contentType: "application/json",
- body: JSON.stringify(latestConfig),
- });
- }
-
- // Intercept DBB ballot status calls
- if (url.indexOf("us3/ballot_status") > 0) {
- return route.fulfill({
- status: 200,
- contentType: "application/json",
- body: JSON.stringify(rejectedBallotStatus),
- });
- }
-
- // Intercept Translation calls
- if (url.indexOf("/translations") > 0) {
- return route.fulfill({
- status: 200,
- contentType: "application/json",
- body: JSON.stringify(translations),
- });
- }
-
- return route.continue();
- });
-
- await page.goto("/en/us3");
- await expect(page.locator("h1")).toHaveText("Funny Election");
- await page.getByPlaceholder("Ballot tracking code").fill("5ksv8Ee");
- await page.getByRole("button", { name: "Track my ballot" }).click();
-
- // For some reason this allow the firefox to not break
- // Seems like it needs just a millisecond more to load the proper data on the page
- await page.locator(".BallotTracker__StatusInfo h3");
-
- await expect(page.locator(".BallotTracker__StatusInfo h3")).toHaveText(
- "Ballot not accepted"
- );
- await expect(page.locator(".BallotTracker__StatusInfo p")).toHaveText(
- "There is a problem with your signature affidavit. Contact your local election official for next steps and to cure your affidavit."
- );
- await expect(page.locator(".BallotTracker__StatusInfo p")).toHaveText(
- "There is a problem with your signature affidavit. Contact your local election official for next steps and to cure your affidavit."
- );
- await expect(page.locator(".BallotActivity__Type").first()).toHaveText(
- "Affidavit Rejected"
- );
+test.skip("tracking a rejected ballot has the right text", async ({ page }) => {
+ // Test removed as the UI element no longer exists for this branch. View code history to recover.
});
diff --git a/client/src/components/Header.vue b/client/src/components/Header.vue
index 78693edf..9c897570 100644
--- a/client/src/components/Header.vue
+++ b/client/src/components/Header.vue
@@ -21,18 +21,10 @@ const props = defineProps({
});
const links = [
- {
- text: "header.about",
- route: `/${props.locale}/${props.election.slug}/about`,
- },
{
text: "header.logs",
route: `/${props.locale}/${props.election.slug}/logs`,
},
- {
- text: "header.help",
- route: `/${props.locale}/${props.election.slug}/help`,
- },
];
const emit = defineEmits(["changeLocale"]);
diff --git a/client/src/views/BallotTrackerView.vue b/client/src/views/BallotTrackerView.vue
index ce5e99d8..3c885a7e 100644
--- a/client/src/views/BallotTrackerView.vue
+++ b/client/src/views/BallotTrackerView.vue
@@ -68,11 +68,6 @@ onMounted(() => setBallot());
- {{ $t(`views.tracker.status_map.${ballot.status}.description`) }}{{ $t(`views.tracker.status_map.${ballot.status}.title`) }}
-