Skip to content

A local-first personal finance app

Mobile VRTs (#3506)

Joel Jeremy Marqueza28fb93ceca3
diff --git a/packages/desktop-client/e2e/accounts.mobile.test.js b/packages/desktop-client/e2e/accounts.mobile.test.js
new file mode 100644
index 0000000000..90cf4814f1
--- /dev/null
+++ b/packages/desktop-client/e2e/accounts.mobile.test.js
@@ -0,0 +1,57 @@
+import { test, expect } from '@playwright/test';
+
+import { ConfigurationPage } from './page-models/configuration-page';
+import { MobileNavigation } from './page-models/mobile-navigation';
+
+test.describe('Mobile Accounts', () => {
+ let page;
+ let navigation;
+ let configurationPage;
+
+ test.beforeEach(async ({ browser }) => {
+ page = await browser.newPage();
+ navigation = new MobileNavigation(page);
+ configurationPage = new ConfigurationPage(page);
+
+ await page.setViewportSize({
+ width: 350,
+ height: 600,
+ });
+ await page.goto('/');
+ await configurationPage.createTestFile();
+ });
+
+ test.afterEach(async () => {
+ await page.close();
+ });
+
+ test('opens the accounts page and asserts on balances', async () => {
+ const accountsPage = await navigation.goToAccountsPage();
+
+ const account = await accountsPage.getNthAccount(1);
+
+ await expect(account.name).toHaveText('Ally Savings');
+ await expect(account.balance).toHaveText('7,653.00');
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ test('opens individual account page and checks that filtering is working', async () => {
+ const accountsPage = await navigation.goToAccountsPage();
+ const accountPage = await accountsPage.openNthAccount(0);
+
+ await expect(accountPage.heading).toHaveText('Bank of America');
+ await expect(accountPage.transactionList).toBeVisible();
+ await expect(await accountPage.getBalance()).toBeGreaterThan(0);
+ await expect(accountPage.noTransactionsMessage).not.toBeVisible();
+ await expect(page).toMatchThemeScreenshots();
+
+ await accountPage.searchByText('nothing should be found');
+ await expect(accountPage.noTransactionsMessage).toBeVisible();
+ await expect(accountPage.transactions).toHaveCount(0);
+ await expect(page).toMatchThemeScreenshots();
+
+ await accountPage.searchByText('Kroger');
+ await expect(accountPage.transactions).not.toHaveCount(0);
+ await expect(page).toMatchThemeScreenshots();
+ });
+});
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-1-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-1-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-1-chromium-linux.png
rename to packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-1-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-2-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-2-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-2-chromium-linux.png
rename to packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-2-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-3-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-3-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-3-chromium-linux.png
rename to packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-3-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-4-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-4-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-4-chromium-linux.png
rename to packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-4-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-5-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-5-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-5-chromium-linux.png
rename to packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-5-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-6-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-6-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-6-chromium-linux.png
rename to packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-6-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-7-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-7-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-7-chromium-linux.png
rename to packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-7-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-8-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-8-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-8-chromium-linux.png
rename to packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-8-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-9-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-9-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-individual-account-page-and-checks-that-filtering-is-working-9-chromium-linux.png
rename to packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-9-chromium-linux.png
diff --git a/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-the-accounts-page-and-asserts-on-balances-1-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-the-accounts-page-and-asserts-on-balances-1-chromium-linux.png
new file mode 100644
index 0000000000..568ed03a9d
Binary files /dev/null and b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-the-accounts-page-and-asserts-on-balances-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-the-accounts-page-and-asserts-on-balances-2-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-the-accounts-page-and-asserts-on-balances-2-chromium-linux.png
new file mode 100644
index 0000000000..51bb6f2433
Binary files /dev/null and b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-the-accounts-page-and-asserts-on-balances-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-the-accounts-page-and-asserts-on-balances-3-chromium-linux.png b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-the-accounts-page-and-asserts-on-balances-3-chromium-linux.png
new file mode 100644
index 0000000000..7577f513fc
Binary files /dev/null and b/packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-the-accounts-page-and-asserts-on-balances-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-1-chromium-linux.png b/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-1-chromium-linux.png
index b356e0c8ad..ff03598880 100644
Binary files a/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-1-chromium-linux.png and b/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-2-chromium-linux.png b/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-2-chromium-linux.png
index 91901ad890..8a51b293a7 100644
Binary files a/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-2-chromium-linux.png and b/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-3-chromium-linux.png b/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-3-chromium-linux.png
index d0fe328145..d5b4b30c7f 100644
Binary files a/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-3-chromium-linux.png and b/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-4-chromium-linux.png b/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-4-chromium-linux.png
index bc60bfc408..8b0146d47a 100644
Binary files a/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-4-chromium-linux.png and b/packages/desktop-client/e2e/accounts.test.js-snapshots/Accounts-closes-an-account-4-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js b/packages/desktop-client/e2e/budget.mobile.test.js
new file mode 100644
index 0000000000..c098c8652b
--- /dev/null
+++ b/packages/desktop-client/e2e/budget.mobile.test.js
@@ -0,0 +1,281 @@
+import { test, expect } from '@playwright/test';
+
+import * as monthUtils from 'loot-core/src/shared/months';
+
+import { ConfigurationPage } from './page-models/configuration-page';
+import { MobileNavigation } from './page-models/mobile-navigation';
+
+const budgetTypes = ['Envelope', 'Tracking'];
+
+budgetTypes.forEach(budgetType => {
+ test.describe(`Mobile Budget [${budgetType}]`, () => {
+ let page;
+ let navigation;
+ let configurationPage;
+ let previousGlobalIsTesting;
+
+ test.beforeAll(() => {
+ // TODO: Hack, properly mock the currentMonth function
+ previousGlobalIsTesting = global.IS_TESTING;
+ global.IS_TESTING = true;
+ });
+
+ test.afterAll(() => {
+ // TODO: Hack, properly mock the currentMonth function
+ global.IS_TESTING = previousGlobalIsTesting;
+ });
+
+ test.beforeEach(async ({ browser }) => {
+ page = await browser.newPage();
+ navigation = new MobileNavigation(page);
+ configurationPage = new ConfigurationPage(page);
+
+ await page.setViewportSize({
+ width: 350,
+ height: 600,
+ });
+ await page.goto('/');
+ await configurationPage.createTestFile();
+
+ if (budgetType === 'Tracking') {
+ // Set budget type to tracking
+ const settingsPage = await navigation.goToSettingsPage();
+ await settingsPage.useBudgetType('tracking');
+ }
+ });
+
+ test.afterEach(async () => {
+ await page.close();
+ });
+
+ test('loads the budget page with budgeted amounts', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ await expect(budgetPage.categoryNames).toHaveText([
+ 'Food',
+ 'Restaurants',
+ 'Entertainment',
+ 'Clothing',
+ 'General',
+ 'Gift',
+ 'Medical',
+ 'Savings',
+ 'Cell',
+ 'Internet',
+ 'Mortgage',
+ 'Water',
+ 'Power',
+ 'Starting Balances',
+ 'Misc',
+ 'Income',
+ ]);
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ // Page Header Tests
+
+ test('checks that clicking the Actual logo in the page header opens the budget page menu', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ await budgetPage.openBudgetPageMenu();
+
+ const budgetPageMenuModal = page.getByRole('dialog');
+
+ await expect(budgetPageMenuModal).toBeVisible();
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ test("checks that clicking the left arrow in the page header shows the previous month's budget", async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ const selectedMonth = await budgetPage.getSelectedMonth();
+ const displayMonth = monthUtils.format(
+ selectedMonth,
+ budgetPage.MONTH_HEADER_DATE_FORMAT,
+ );
+
+ await expect(budgetPage.heading).toHaveText(displayMonth);
+
+ const previousMonth = await budgetPage.goToPreviousMonth();
+ const previousDisplayMonth = monthUtils.format(
+ previousMonth,
+ budgetPage.MONTH_HEADER_DATE_FORMAT,
+ );
+
+ await expect(budgetPage.heading).toHaveText(previousDisplayMonth);
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ test('checks that clicking the month in the page header opens the month menu modal', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ const selectedMonth = await budgetPage.getSelectedMonth();
+
+ await budgetPage.openMonthMenu();
+
+ const monthMenuModal = page.getByRole('dialog');
+ const monthMenuModalHeading = monthMenuModal.getByRole('heading');
+
+ const displayMonth = monthUtils.format(
+ selectedMonth,
+ budgetPage.MONTH_HEADER_DATE_FORMAT,
+ );
+ await expect(monthMenuModalHeading).toHaveText(displayMonth);
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ test("checks that clicking the right arrow in the page header shows the next month's budget", async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ const selectedMonth = await budgetPage.getSelectedMonth();
+ const displayMonth = monthUtils.format(
+ selectedMonth,
+ budgetPage.MONTH_HEADER_DATE_FORMAT,
+ );
+
+ await expect(budgetPage.heading).toHaveText(displayMonth);
+
+ const nextMonth = await budgetPage.goToNextMonth();
+ const nextDisplayMonth = monthUtils.format(
+ nextMonth,
+ budgetPage.MONTH_HEADER_DATE_FORMAT,
+ );
+
+ await expect(budgetPage.heading).toHaveText(nextDisplayMonth);
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ // Category / Category Group Menu Tests
+
+ test('checks that clicking the category group name opens the category group menu modal', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ const categoryGroupName = await budgetPage.getCategoryGroupNameForRow(0);
+ await budgetPage.openCategoryGroupMenu(categoryGroupName);
+
+ const categoryMenuModalHeading = page
+ .getByRole('dialog')
+ .getByRole('heading');
+
+ await expect(categoryMenuModalHeading).toHaveText(categoryGroupName);
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ test('checks that clicking the category name opens the category menu modal', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ const categoryName = await budgetPage.getCategoryNameForRow(0);
+ await budgetPage.openCategoryMenu(categoryName);
+
+ const categoryMenuModalHeading = page
+ .getByRole('dialog')
+ .getByRole('heading');
+
+ await expect(categoryMenuModalHeading).toHaveText(categoryName);
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ // Budgeted Cell Tests
+
+ test('checks that clicking the budgeted cell opens the budget menu modal', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ const categoryName = await budgetPage.getCategoryNameForRow(0);
+ await budgetPage.openBudgetMenu(categoryName);
+
+ const budgetMenuModalHeading = page
+ .getByRole('dialog')
+ .getByRole('heading');
+
+ await expect(budgetMenuModalHeading).toHaveText(categoryName);
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ test('updates the budgeted amount', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ const categoryName = await budgetPage.getCategoryNameForRow(0);
+
+ // Set to 100.00
+ await budgetPage.setBudget(categoryName, 10000);
+
+ const budgetedButton =
+ await budgetPage.getButtonForBudgeted(categoryName);
+
+ await expect(budgetedButton).toHaveText('100.00');
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ // Spent Cell Tests
+
+ test('checks that clicking spent cell redirects to the category transactions page', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ const categoryName = await budgetPage.getCategoryNameForRow(0);
+ const accountPage = await budgetPage.openSpentPage(categoryName);
+
+ await expect(accountPage.heading).toContainText(categoryName);
+ await expect(accountPage.transactionList).toBeVisible();
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ // Balance Cell Tests
+
+ test('checks that clicking the balance cell opens the balance menu modal', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ const categoryName = await budgetPage.getCategoryNameForRow(0);
+ await budgetPage.openBalanceMenu(categoryName);
+
+ const balanceMenuModalHeading = page
+ .getByRole('dialog')
+ .getByRole('heading');
+
+ await expect(balanceMenuModalHeading).toHaveText(categoryName);
+ await expect(page).toMatchThemeScreenshots();
+ });
+
+ if (budgetType === 'Envelope') {
+ test('checks that clicking the To Budget/Overbudgeted amount opens the budget summary menu modal', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ await budgetPage.openEnvelopeBudgetSummaryMenu();
+
+ const summaryModalHeading = page
+ .getByRole('dialog')
+ .getByRole('heading');
+
+ await expect(summaryModalHeading).toHaveText('Budget Summary');
+ await expect(page).toMatchThemeScreenshots();
+ });
+ }
+
+ if (budgetType === 'Tracking') {
+ test('checks that clicking the Saved/Projected Savings/Overspent amount opens the budget summary menu modal', async () => {
+ const budgetPage = await navigation.goToBudgetPage();
+ await budgetPage.waitForBudgetTable();
+
+ await budgetPage.openTrackingBudgetSummaryMenu();
+
+ const summaryModalHeading = page
+ .getByRole('dialog')
+ .getByRole('heading');
+
+ await expect(summaryModalHeading).toHaveText('Budget Summary');
+ await expect(page).toMatchThemeScreenshots();
+ });
+ }
+ });
+});
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--14404-in-the-page-header-opens-the-month-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--14404-in-the-page-header-opens-the-month-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..d0e4358f00
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--14404-in-the-page-header-opens-the-month-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--321fd-ed-amount-opens-the-budget-summary-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--321fd-ed-amount-opens-the-budget-summary-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..7665492233
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--321fd-ed-amount-opens-the-budget-summary-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--4bb70-ed-amount-opens-the-budget-summary-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--4bb70-ed-amount-opens-the-budget-summary-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..fd33f815ca
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--4bb70-ed-amount-opens-the-budget-summary-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--589a6-the-page-header-shows-the-next-month-s-budget-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--589a6-the-page-header-shows-the-next-month-s-budget-2-chromium-linux.png
new file mode 100644
index 0000000000..058a566739
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--589a6-the-page-header-shows-the-next-month-s-budget-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--6ab37-roup-name-opens-the-category-group-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--6ab37-roup-name-opens-the-category-group-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..1bcf9bf9fa
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--6ab37-roup-name-opens-the-category-group-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--6dbdb-page-header-shows-the-previous-month-s-budget-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--6dbdb-page-header-shows-the-previous-month-s-budget-1-chromium-linux.png
new file mode 100644
index 0000000000..d37b4a2d7d
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--6dbdb-page-header-shows-the-previous-month-s-budget-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--7bd8f-the-page-header-shows-the-next-month-s-budget-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--7bd8f-the-page-header-shows-the-next-month-s-budget-3-chromium-linux.png
new file mode 100644
index 0000000000..988870579d
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--7bd8f-the-page-header-shows-the-next-month-s-budget-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--884ac-the-page-header-shows-the-next-month-s-budget-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--884ac-the-page-header-shows-the-next-month-s-budget-1-chromium-linux.png
new file mode 100644
index 0000000000..460e95731b
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--884ac-the-page-header-shows-the-next-month-s-budget-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--94a79-roup-name-opens-the-category-group-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--94a79-roup-name-opens-the-category-group-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..8d67f0370b
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--94a79-roup-name-opens-the-category-group-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--94a85-ed-amount-opens-the-budget-summary-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--94a85-ed-amount-opens-the-budget-summary-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..71f459b376
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--94a85-ed-amount-opens-the-budget-summary-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--96ebb-page-header-shows-the-previous-month-s-budget-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--96ebb-page-header-shows-the-previous-month-s-budget-3-chromium-linux.png
new file mode 100644
index 0000000000..3c7e86938d
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--96ebb-page-header-shows-the-previous-month-s-budget-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--9e6aa-in-the-page-header-opens-the-budget-page-menu-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--9e6aa-in-the-page-header-opens-the-budget-page-menu-1-chromium-linux.png
new file mode 100644
index 0000000000..5e2cf02ad5
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--9e6aa-in-the-page-header-opens-the-budget-page-menu-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--bbde3-roup-name-opens-the-category-group-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--bbde3-roup-name-opens-the-category-group-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..fdd6356d63
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--bbde3-roup-name-opens-the-category-group-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--bed18-in-the-page-header-opens-the-month-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--bed18-in-the-page-header-opens-the-month-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..5dc3d48b6b
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--bed18-in-the-page-header-opens-the-month-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--c18ad-l-redirects-to-the-category-transactions-page-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--c18ad-l-redirects-to-the-category-transactions-page-1-chromium-linux.png
new file mode 100644
index 0000000000..bc0d475808
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--c18ad-l-redirects-to-the-category-transactions-page-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--ceb3a-in-the-page-header-opens-the-month-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--ceb3a-in-the-page-header-opens-the-month-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..a63219d6de
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--ceb3a-in-the-page-header-opens-the-month-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--d270d-in-the-page-header-opens-the-budget-page-menu-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--d270d-in-the-page-header-opens-the-budget-page-menu-2-chromium-linux.png
new file mode 100644
index 0000000000..b9ba2b27d1
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--d270d-in-the-page-header-opens-the-budget-page-menu-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--d7184-page-header-shows-the-previous-month-s-budget-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--d7184-page-header-shows-the-previous-month-s-budget-2-chromium-linux.png
new file mode 100644
index 0000000000..4f90b89186
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--d7184-page-header-shows-the-previous-month-s-budget-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--e995e-l-redirects-to-the-category-transactions-page-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--e995e-l-redirects-to-the-category-transactions-page-3-chromium-linux.png
new file mode 100644
index 0000000000..f0279600ae
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--e995e-l-redirects-to-the-category-transactions-page-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--fdd57-in-the-page-header-opens-the-budget-page-menu-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--fdd57-in-the-page-header-opens-the-budget-page-menu-3-chromium-linux.png
new file mode 100644
index 0000000000..618bf0641f
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--fdd57-in-the-page-header-opens-the-budget-page-menu-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--ff568-l-redirects-to-the-category-transactions-page-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--ff568-l-redirects-to-the-category-transactions-page-2-chromium-linux.png
new file mode 100644
index 0000000000..a6fb65dbbb
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking--ff568-l-redirects-to-the-category-transactions-page-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..5869adc1b5
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..034d3082d7
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..ac062843aa
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..5869adc1b5
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..034d3082d7
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..ac062843aa
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..984b80b572
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..06005e5462
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..dd02417d9b
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-category-name-opens-the-category-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-category-name-opens-the-category-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..d5f2ffa90f
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-category-name-opens-the-category-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-category-name-opens-the-category-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-category-name-opens-the-category-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..3e85352b87
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-category-name-opens-the-category-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-category-name-opens-the-category-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-category-name-opens-the-category-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..c590bd3bef
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-checks-that-clicking-the-category-name-opens-the-category-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-loads-the-budget-page-with-budgeted-amounts-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-loads-the-budget-page-with-budgeted-amounts-1-chromium-linux.png
new file mode 100644
index 0000000000..9da2114723
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-loads-the-budget-page-with-budgeted-amounts-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-loads-the-budget-page-with-budgeted-amounts-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-loads-the-budget-page-with-budgeted-amounts-2-chromium-linux.png
new file mode 100644
index 0000000000..410c42e23b
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-loads-the-budget-page-with-budgeted-amounts-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-loads-the-budget-page-with-budgeted-amounts-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-loads-the-budget-page-with-budgeted-amounts-3-chromium-linux.png
new file mode 100644
index 0000000000..4cb3721acf
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-loads-the-budget-page-with-budgeted-amounts-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-updates-the-budgeted-amount-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-updates-the-budgeted-amount-1-chromium-linux.png
new file mode 100644
index 0000000000..4f68721b84
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-updates-the-budgeted-amount-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-updates-the-budgeted-amount-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-updates-the-budgeted-amount-2-chromium-linux.png
new file mode 100644
index 0000000000..a19cedda1d
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-updates-the-budgeted-amount-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-updates-the-budgeted-amount-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-updates-the-budgeted-amount-3-chromium-linux.png
new file mode 100644
index 0000000000..745a08af1c
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Envelope-updates-the-budgeted-amount-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--0ba04-nt-amount-opens-the-budget-summary-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--0ba04-nt-amount-opens-the-budget-summary-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..5dc07de446
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--0ba04-nt-amount-opens-the-budget-summary-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--0dfe7-page-header-shows-the-previous-month-s-budget-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--0dfe7-page-header-shows-the-previous-month-s-budget-1-chromium-linux.png
new file mode 100644
index 0000000000..73e12fc76e
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--0dfe7-page-header-shows-the-previous-month-s-budget-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--11290-l-redirects-to-the-category-transactions-page-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--11290-l-redirects-to-the-category-transactions-page-3-chromium-linux.png
new file mode 100644
index 0000000000..f0279600ae
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--11290-l-redirects-to-the-category-transactions-page-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--1ce6d-nt-amount-opens-the-budget-summary-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--1ce6d-nt-amount-opens-the-budget-summary-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..548b0a3d9a
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--1ce6d-nt-amount-opens-the-budget-summary-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--42062-in-the-page-header-opens-the-month-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--42062-in-the-page-header-opens-the-month-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..75a2f7234c
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--42062-in-the-page-header-opens-the-month-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--49fb6-in-the-page-header-opens-the-month-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--49fb6-in-the-page-header-opens-the-month-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..0a6d217ad5
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--49fb6-in-the-page-header-opens-the-month-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--57d88-l-redirects-to-the-category-transactions-page-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--57d88-l-redirects-to-the-category-transactions-page-2-chromium-linux.png
new file mode 100644
index 0000000000..a6fb65dbbb
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--57d88-l-redirects-to-the-category-transactions-page-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--5d90c-l-redirects-to-the-category-transactions-page-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--5d90c-l-redirects-to-the-category-transactions-page-1-chromium-linux.png
new file mode 100644
index 0000000000..bc0d475808
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--5d90c-l-redirects-to-the-category-transactions-page-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--5f098-roup-name-opens-the-category-group-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--5f098-roup-name-opens-the-category-group-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..c599478f42
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--5f098-roup-name-opens-the-category-group-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--7c353-the-page-header-shows-the-next-month-s-budget-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--7c353-the-page-header-shows-the-next-month-s-budget-3-chromium-linux.png
new file mode 100644
index 0000000000..64ccf3b3e3
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--7c353-the-page-header-shows-the-next-month-s-budget-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--929be-roup-name-opens-the-category-group-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--929be-roup-name-opens-the-category-group-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..95f3f10b04
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--929be-roup-name-opens-the-category-group-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--a3783-in-the-page-header-opens-the-budget-page-menu-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--a3783-in-the-page-header-opens-the-budget-page-menu-1-chromium-linux.png
new file mode 100644
index 0000000000..6484a50e02
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--a3783-in-the-page-header-opens-the-budget-page-menu-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--a8b5e-in-the-page-header-opens-the-budget-page-menu-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--a8b5e-in-the-page-header-opens-the-budget-page-menu-3-chromium-linux.png
new file mode 100644
index 0000000000..f7136804f4
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--a8b5e-in-the-page-header-opens-the-budget-page-menu-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--b1562-in-the-page-header-opens-the-month-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--b1562-in-the-page-header-opens-the-month-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..d89bd29270
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--b1562-in-the-page-header-opens-the-month-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--cfb69-page-header-shows-the-previous-month-s-budget-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--cfb69-page-header-shows-the-previous-month-s-budget-2-chromium-linux.png
new file mode 100644
index 0000000000..a7fc68c3c2
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--cfb69-page-header-shows-the-previous-month-s-budget-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--d5af6-the-page-header-shows-the-next-month-s-budget-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--d5af6-the-page-header-shows-the-next-month-s-budget-1-chromium-linux.png
new file mode 100644
index 0000000000..b044c08e50
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--d5af6-the-page-header-shows-the-next-month-s-budget-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--dc927-roup-name-opens-the-category-group-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--dc927-roup-name-opens-the-category-group-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..f9556fe46c
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--dc927-roup-name-opens-the-category-group-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f2198-the-page-header-shows-the-next-month-s-budget-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f2198-the-page-header-shows-the-next-month-s-budget-2-chromium-linux.png
new file mode 100644
index 0000000000..3f2e3397c1
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f2198-the-page-header-shows-the-next-month-s-budget-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f224f-nt-amount-opens-the-budget-summary-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f224f-nt-amount-opens-the-budget-summary-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..28ffda6ae8
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f224f-nt-amount-opens-the-budget-summary-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f7fa3-page-header-shows-the-previous-month-s-budget-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f7fa3-page-header-shows-the-previous-month-s-budget-3-chromium-linux.png
new file mode 100644
index 0000000000..bce1db2c68
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f7fa3-page-header-shows-the-previous-month-s-budget-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f8a19-in-the-page-header-opens-the-budget-page-menu-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f8a19-in-the-page-header-opens-the-budget-page-menu-2-chromium-linux.png
new file mode 100644
index 0000000000..73cd366079
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking--f8a19-in-the-page-header-opens-the-budget-page-menu-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..91e45c2a9e
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..e43057e5fb
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..65aab550f2
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-button-opens-the-balance-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..91e45c2a9e
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..e43057e5fb
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..65aab550f2
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-balance-cell-opens-the-balance-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..bdb7e1a9fc
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..55c39e9fc4
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..23d1ea1afd
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-budgeted-cell-opens-the-budget-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-category-name-opens-the-category-menu-modal-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-category-name-opens-the-category-menu-modal-1-chromium-linux.png
new file mode 100644
index 0000000000..75f8db9c1c
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-category-name-opens-the-category-menu-modal-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-category-name-opens-the-category-menu-modal-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-category-name-opens-the-category-menu-modal-2-chromium-linux.png
new file mode 100644
index 0000000000..66c1f799be
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-category-name-opens-the-category-menu-modal-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-category-name-opens-the-category-menu-modal-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-category-name-opens-the-category-menu-modal-3-chromium-linux.png
new file mode 100644
index 0000000000..0ab29fefb7
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-checks-that-clicking-the-category-name-opens-the-category-menu-modal-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-loads-the-budget-page-with-budgeted-amounts-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-loads-the-budget-page-with-budgeted-amounts-1-chromium-linux.png
new file mode 100644
index 0000000000..bb0ac8bbf8
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-loads-the-budget-page-with-budgeted-amounts-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-loads-the-budget-page-with-budgeted-amounts-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-loads-the-budget-page-with-budgeted-amounts-2-chromium-linux.png
new file mode 100644
index 0000000000..631e825629
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-loads-the-budget-page-with-budgeted-amounts-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-loads-the-budget-page-with-budgeted-amounts-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-loads-the-budget-page-with-budgeted-amounts-3-chromium-linux.png
new file mode 100644
index 0000000000..b662506066
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-loads-the-budget-page-with-budgeted-amounts-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-updates-the-budgeted-amount-1-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-updates-the-budgeted-amount-1-chromium-linux.png
new file mode 100644
index 0000000000..a6c178b7a6
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-updates-the-budgeted-amount-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-updates-the-budgeted-amount-2-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-updates-the-budgeted-amount-2-chromium-linux.png
new file mode 100644
index 0000000000..38c4c7b2b1
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-updates-the-budgeted-amount-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-updates-the-budgeted-amount-3-chromium-linux.png b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-updates-the-budgeted-amount-3-chromium-linux.png
new file mode 100644
index 0000000000..7fc874ece9
Binary files /dev/null and b/packages/desktop-client/e2e/budget.mobile.test.js-snapshots/Mobile-Budget-Tracking-updates-the-budgeted-amount-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.test.js-snapshots/Budget-renders-the-summary-information-available-funds-overspent-budgeted-and-for-next-month-1-chromium-linux.png b/packages/desktop-client/e2e/budget.test.js-snapshots/Budget-renders-the-summary-information-available-funds-overspent-budgeted-and-for-next-month-1-chromium-linux.png
index 896da24b7f..8fba61126e 100644
Binary files a/packages/desktop-client/e2e/budget.test.js-snapshots/Budget-renders-the-summary-information-available-funds-overspent-budgeted-and-for-next-month-1-chromium-linux.png and b/packages/desktop-client/e2e/budget.test.js-snapshots/Budget-renders-the-summary-information-available-funds-overspent-budgeted-and-for-next-month-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/budget.test.js-snapshots/Budget-renders-the-summary-information-available-funds-overspent-budgeted-and-for-next-month-3-chromium-linux.png b/packages/desktop-client/e2e/budget.test.js-snapshots/Budget-renders-the-summary-information-available-funds-overspent-budgeted-and-for-next-month-3-chromium-linux.png
index 9b39108c6c..eaffb35c1a 100644
Binary files a/packages/desktop-client/e2e/budget.test.js-snapshots/Budget-renders-the-summary-information-available-funds-overspent-budgeted-and-for-next-month-3-chromium-linux.png and b/packages/desktop-client/e2e/budget.test.js-snapshots/Budget-renders-the-summary-information-available-funds-overspent-budgeted-and-for-next-month-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-2-chromium-linux.png b/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-2-chromium-linux.png
deleted file mode 100644
index 456d02f363..0000000000
Binary files a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-2-chromium-linux.png and /dev/null differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-from-accounts-id-page-1-chromium-linux.png b/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-from-accounts-id-page-1-chromium-linux.png
deleted file mode 100644
index a46b5dc8c6..0000000000
Binary files a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-from-accounts-id-page-1-chromium-linux.png and /dev/null differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-4-chromium-linux.png b/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-4-chromium-linux.png
deleted file mode 100644
index 0a7f75a1db..0000000000
Binary files a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-4-chromium-linux.png and /dev/null differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-loads-the-budget-page-with-budgeted-amounts-1-chromium-linux.png b/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-loads-the-budget-page-with-budgeted-amounts-1-chromium-linux.png
deleted file mode 100644
index db0ea1066d..0000000000
Binary files a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-loads-the-budget-page-with-budgeted-amounts-1-chromium-linux.png and /dev/null differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-loads-the-budget-page-with-budgeted-amounts-2-chromium-linux.png b/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-loads-the-budget-page-with-budgeted-amounts-2-chromium-linux.png
deleted file mode 100644
index 52423795d8..0000000000
Binary files a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-loads-the-budget-page-with-budgeted-amounts-2-chromium-linux.png and /dev/null differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-loads-the-budget-page-with-budgeted-amounts-3-chromium-linux.png b/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-loads-the-budget-page-with-budgeted-amounts-3-chromium-linux.png
deleted file mode 100644
index fadeb6b427..0000000000
Binary files a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-loads-the-budget-page-with-budgeted-amounts-3-chromium-linux.png and /dev/null differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-the-accounts-page-and-asserts-on-balances-1-chromium-linux.png b/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-the-accounts-page-and-asserts-on-balances-1-chromium-linux.png
deleted file mode 100644
index 9f22f964fe..0000000000
Binary files a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-the-accounts-page-and-asserts-on-balances-1-chromium-linux.png and /dev/null differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-the-accounts-page-and-asserts-on-balances-2-chromium-linux.png b/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-the-accounts-page-and-asserts-on-balances-2-chromium-linux.png
deleted file mode 100644
index f11e904a0f..0000000000
Binary files a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-the-accounts-page-and-asserts-on-balances-2-chromium-linux.png and /dev/null differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-the-accounts-page-and-asserts-on-balances-3-chromium-linux.png b/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-the-accounts-page-and-asserts-on-balances-3-chromium-linux.png
deleted file mode 100644
index 38af663c40..0000000000
Binary files a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-opens-the-accounts-page-and-asserts-on-balances-3-chromium-linux.png and /dev/null differ
diff --git a/packages/desktop-client/e2e/page-models/mobile-account-page.js b/packages/desktop-client/e2e/page-models/mobile-account-page.js
index 0d831015c3..34a572206b 100644
--- a/packages/desktop-client/e2e/page-models/mobile-account-page.js
+++ b/packages/desktop-client/e2e/page-models/mobile-account-page.js
@@ -6,9 +6,9 @@ export class MobileAccountPage {
this.heading = page.getByRole('heading');
this.balance = page.getByTestId('transactions-balance');
- this.noTransactionsFoundError = page.getByText('No transactions');
+ this.noTransactionsMessage = page.getByText('No transactions');
this.searchBox = page.getByPlaceholder(/^Search/);
- this.transactionList = page.getByLabel('transaction list');
+ this.transactionList = page.getByLabel('Transaction list');
this.transactions = this.transactionList.getByRole('button');
this.createTransactionButton = page.getByRole('button', {
name: 'Add Transaction',
diff --git a/packages/desktop-client/e2e/page-models/mobile-budget-page.js b/packages/desktop-client/e2e/page-models/mobile-budget-page.js
index c5d843fd22..7a3a63c052 100644
--- a/packages/desktop-client/e2e/page-models/mobile-budget-page.js
+++ b/packages/desktop-client/e2e/page-models/mobile-budget-page.js
@@ -1,9 +1,305 @@
+import { MobileAccountPage } from './mobile-account-page';
+
export class MobileBudgetPage {
+ MONTH_HEADER_DATE_FORMAT = 'MMMM ‘yy';
+
constructor(page) {
this.page = page;
- this.categoryNames = page
+ this.#initializePageHeaderLocators(page);
+ this.#initializeBudgetTableLocators(page);
+ }
+
+ async determineBudgetType() {
+ return (await this.#getButtonForEnvelopeBudgetSummary({
+ throwIfNotFound: false,
+ })) !== null
+ ? 'Envelope'
+ : 'Tracking';
+ }
+
+ #initializeBudgetTableLocators(page) {
+ this.budgetTableHeader = page.getByTestId('budget-table-header');
+
+ // Envelope budget summary buttons
+ this.toBudgetButton = this.budgetTableHeader.getByRole('button', {
+ name: 'To Budget',
+ });
+ this.overbudgetedButton = this.budgetTableHeader.getByRole('button', {
+ name: 'Overbudgeted',
+ });
+
+ // Tracking budget summary buttons
+ this.savedButton = this.budgetTableHeader.getByRole('button', {
+ name: 'Saved',
+ });
+ this.projectedSavingsButton = this.budgetTableHeader.getByRole('button', {
+ name: 'Projected Savings',
+ });
+ this.overspentButton = this.budgetTableHeader.getByRole('button', {
+ name: 'Overspent',
+ });
+
+ this.budgetedHeaderButton = this.budgetTableHeader.getByRole('button', {
+ name: 'Budgeted',
+ });
+ this.spentHeaderButton = this.budgetTableHeader.getByRole('button', {
+ name: 'Spent',
+ });
+
+ this.budgetTable = page.getByTestId('budget-table');
+
+ this.categoryRows = this.budgetTable
.getByTestId('budget-groups')
- .getByTestId('category-name');
+ .getByTestId('category-row');
+
+ this.categoryNames = this.categoryRows.getByTestId('category-name');
+
+ this.categoryGroupRows = this.budgetTable
+ .getByTestId('budget-groups')
+ .getByTestId('category-group-row');
+
+ this.categoryGroupNames = this.categoryGroupRows.getByTestId(
+ 'category-group-name',
+ );
+ }
+
+ #initializePageHeaderLocators(page) {
+ this.heading = page.getByRole('heading');
+ this.previousMonthButton = this.heading.getByRole('button', {
+ name: 'Previous month',
+ });
+ this.selectedBudgetMonthButton = this.heading.locator('button[data-month]');
+ this.nextMonthButton = this.heading.getByRole('button', {
+ name: 'Next month',
+ });
+ this.budgetPageMenuButton = page.getByRole('button', {
+ name: 'Budget page menu',
+ });
+ }
+
+ async waitForBudgetTable() {
+ await this.budgetTable.waitFor();
+ }
+
+ async toggleVisibleColumns(maxAttempts = 3) {
+ for (let i = 0; i < maxAttempts; i++) {
+ if (await this.budgetedHeaderButton.isVisible()) {
+ await this.budgetedHeaderButton.click();
+ return;
+ }
+ if (await this.spentHeaderButton.isVisible()) {
+ await this.spentHeaderButton.click();
+ return;
+ }
+ await this.page.waitForTimeout(1000);
+ }
+
+ throw new Error('Budgeted/Spent columns could not be located on the page');
+ }
+
+ async getSelectedMonth() {
+ return await this.heading
+ .locator('[data-month]')
+ .getAttribute('data-month');
+ }
+
+ async openBudgetPageMenu() {
+ await this.budgetPageMenuButton.click();
+ }
+
+ async getCategoryGroupNameForRow(idx) {
+ return this.categoryGroupNames.nth(idx).textContent();
+ }
+
+ #getButtonForCategoryGroup(categoryGroupName) {
+ return this.categoryGroupRows.getByRole('button', {
+ name: categoryGroupName,
+ exact: true,
+ });
+ }
+
+ async openCategoryGroupMenu(categoryGroupName) {
+ const categoryGroupButton =
+ await this.#getButtonForCategoryGroup(categoryGroupName);
+ await categoryGroupButton.click();
+ }
+
+ async getCategoryNameForRow(idx) {
+ return this.categoryNames.nth(idx).textContent();
+ }
+
+ #getButtonForCategory(categoryName) {
+ return this.categoryRows.getByRole('button', {
+ name: categoryName,
+ exact: true,
+ });
+ }
+
+ async openCategoryMenu(categoryName) {
+ const categoryButton = await this.#getButtonForCategory(categoryName);
+ await categoryButton.click();
+ }
+
+ async #getButtonForCell(buttonType, categoryName) {
+ const buttonSelector =
+ buttonType === 'Budgeted'
+ ? `Open budget menu for ${categoryName} category`
+ : `Show transactions for ${categoryName} category`;
+
+ let button = this.budgetTable.getByRole('button', { name: buttonSelector });
+
+ if (await button.isVisible()) {
+ return button;
+ }
+
+ await this.toggleVisibleColumns();
+ button = this.budgetTable.getByRole('button', { name: buttonSelector });
+
+ if (await button.isVisible()) {
+ return button;
+ }
+
+ throw new Error(
+ `${buttonType} button for category ${categoryName} could not be located on the page`,
+ );
+ }
+
+ async getButtonForBudgeted(categoryName) {
+ return await this.#getButtonForCell('Budgeted', categoryName);
+ }
+
+ async getButtonForSpent(categoryName) {
+ return await this.#getButtonForCell('Spent', categoryName);
+ }
+
+ async openBudgetMenu(categoryName) {
+ const budgetedButton = await this.getButtonForBudgeted(categoryName);
+ await budgetedButton.click();
+ }
+
+ async setBudget(categoryName, newAmount) {
+ const budgetedButton = await this.getButtonForBudgeted(categoryName);
+ await budgetedButton.click();
+
+ await this.page.keyboard.type(String(newAmount));
+ await this.page.keyboard.press('Enter');
+ }
+
+ async openSpentPage(categoryName) {
+ const spentButton = await this.getButtonForSpent(categoryName);
+ await spentButton.click();
+
+ return new MobileAccountPage(this.page);
+ }
+
+ async openBalanceMenu(categoryName) {
+ const balanceButton = this.budgetTable.getByRole('button', {
+ name: `Open balance menu for ${categoryName} category`,
+ });
+
+ if (await balanceButton.isVisible()) {
+ await balanceButton.click();
+ } else {
+ throw new Error(
+ `Balance button for category ${categoryName} not found or not visible`,
+ );
+ }
+ }
+
+ async #waitForNewMonthToLoad({
+ currentMonth,
+ errorMessage,
+ maxAttempts = 3,
+ } = {}) {
+ for (let attempt = 0; attempt < maxAttempts; attempt++) {
+ const newMonth = await this.getSelectedMonth();
+ if (newMonth !== currentMonth) {
+ return newMonth;
+ }
+ await this.page.waitForTimeout(500);
+ }
+
+ throw new Error(errorMessage);
+ }
+
+ async goToPreviousMonth({ maxAttempts = 3 } = {}) {
+ const currentMonth = await this.getSelectedMonth();
+
+ await this.previousMonthButton.click();
+
+ return await this.#waitForNewMonthToLoad({
+ currentMonth,
+ maxAttempts,
+ errorMessage:
+ 'Failed to navigate to the previous month after maximum attempts',
+ });
+ }
+
+ async openMonthMenu() {
+ await this.selectedBudgetMonthButton.click();
+ }
+
+ async goToNextMonth({ maxAttempts = 3 } = {}) {
+ const currentMonth = await this.getSelectedMonth();
+
+ await this.nextMonthButton.click();
+
+ return await this.#waitForNewMonthToLoad({
+ currentMonth,
+ maxAttempts,
+ errorMessage:
+ 'Failed to navigate to the next month after maximum attempts',
+ });
+ }
+
+ async #getButtonForEnvelopeBudgetSummary({ throwIfNotFound = true } = {}) {
+ if (await this.toBudgetButton.isVisible()) {
+ return this.toBudgetButton;
+ }
+
+ if (await this.overbudgetedButton.isVisible()) {
+ return this.overbudgetedButton;
+ }
+
+ if (!throwIfNotFound) {
+ return null;
+ }
+
+ throw new Error(
+ 'Neither “To Budget” nor “Overbudgeted” button could be located on the page',
+ );
+ }
+
+ async openEnvelopeBudgetSummaryMenu() {
+ const budgetSummaryButton = await this.#getButtonForEnvelopeBudgetSummary();
+ await budgetSummaryButton.click();
+ }
+
+ async #getButtonForTrackingBudgetSummary({ throwIfNotFound = true } = {}) {
+ if (await this.savedButton.isVisible()) {
+ return this.savedButton;
+ }
+
+ if (await this.projectedSavingsButton.isVisible()) {
+ return this.projectedSavingsButton;
+ }
+
+ if (await this.overspentButton.isVisible()) {
+ return this.overspentButton;
+ }
+
+ if (!throwIfNotFound) {
+ return null;
+ }
+
+ throw new Error(
+ 'None of “Saved”, “Projected Savings”, or “Overspent” buttons could be located on the page',
+ );
+ }
+
+ async openTrackingBudgetSummaryMenu() {
+ const budgetSummaryButton = await this.#getButtonForTrackingBudgetSummary();
+ await budgetSummaryButton.click();
}
}
diff --git a/packages/desktop-client/e2e/page-models/settings-page.js b/packages/desktop-client/e2e/page-models/settings-page.js
index 3b42dabbd3..dcf838cea5 100644
--- a/packages/desktop-client/e2e/page-models/settings-page.js
+++ b/packages/desktop-client/e2e/page-models/settings-page.js
@@ -7,9 +7,28 @@ export class SettingsPage {
await this.page.getByRole('button', { name: 'Export data' }).click();
}
+ async useBudgetType(budgetType) {
+ await this.enableExperimentalFeature('Budget mode toggle');
+
+ const switchBudgetTypeButton = this.page.getByRole('button', {
+ name: `Switch to ${budgetType} budgeting`,
+ });
+
+ await switchBudgetTypeButton.click();
+ }
+
async enableExperimentalFeature(featureName) {
- await this.page.getByTestId('advanced-settings').click();
- await this.page.getByTestId('experimental-settings').click();
- await this.page.getByLabel(featureName).check();
+ const advancedSettingsButton = this.page.getByTestId('advanced-settings');
+ await advancedSettingsButton.click();
+
+ const experimentalSettingsButton = this.page.getByTestId(
+ 'experimental-settings',
+ );
+ await experimentalSettingsButton.click();
+
+ const featureCheckbox = this.page.getByRole('checkbox', {
+ name: featureName,
+ });
+ await featureCheckbox.click();
}
}
diff --git a/packages/desktop-client/e2e/reports.test.js-snapshots/Reports-custom-reports-Validates-that-show-summary-button-shows-the-summary-1-chromium-linux.png b/packages/desktop-client/e2e/reports.test.js-snapshots/Reports-custom-reports-Validates-that-show-summary-button-shows-the-summary-1-chromium-linux.png
index 4e1278d1d5..92e54bb9ed 100644
Binary files a/packages/desktop-client/e2e/reports.test.js-snapshots/Reports-custom-reports-Validates-that-show-summary-button-shows-the-summary-1-chromium-linux.png and b/packages/desktop-client/e2e/reports.test.js-snapshots/Reports-custom-reports-Validates-that-show-summary-button-shows-the-summary-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-checks-the-page-visuals-1-chromium-linux.png b/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-checks-the-page-visuals-1-chromium-linux.png
index e8ed70e897..c4ef30851c 100644
Binary files a/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-checks-the-page-visuals-1-chromium-linux.png and b/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-checks-the-page-visuals-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-4-chromium-linux.png b/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-4-chromium-linux.png
index d4b7313b41..4a395ced02 100644
Binary files a/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-4-chromium-linux.png and b/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-4-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-split-transaction-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-1-chromium-linux.png b/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-split-transaction-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-1-chromium-linux.png
index 0e7fdf49c0..385ffe558f 100644
Binary files a/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-split-transaction-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-1-chromium-linux.png and b/packages/desktop-client/e2e/rules.test.js-snapshots/Rules-creates-a-split-transaction-rule-and-makes-sure-it-is-applied-when-creating-a-transaction-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/schedules.test.js-snapshots/Schedules-creates-a-new-schedule-posts-the-transaction-and-later-completes-it-7-chromium-linux.png b/packages/desktop-client/e2e/schedules.test.js-snapshots/Schedules-creates-a-new-schedule-posts-the-transaction-and-later-completes-it-7-chromium-linux.png
index 460687d313..82f7f27da3 100644
Binary files a/packages/desktop-client/e2e/schedules.test.js-snapshots/Schedules-creates-a-new-schedule-posts-the-transaction-and-later-completes-it-7-chromium-linux.png and b/packages/desktop-client/e2e/schedules.test.js-snapshots/Schedules-creates-a-new-schedule-posts-the-transaction-and-later-completes-it-7-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/schedules.test.js-snapshots/Schedules-creates-a-new-schedule-posts-the-transaction-and-later-completes-it-8-chromium-linux.png b/packages/desktop-client/e2e/schedules.test.js-snapshots/Schedules-creates-a-new-schedule-posts-the-transaction-and-later-completes-it-8-chromium-linux.png
index d5fa8b02dc..865ede8063 100644
Binary files a/packages/desktop-client/e2e/schedules.test.js-snapshots/Schedules-creates-a-new-schedule-posts-the-transaction-and-later-completes-it-8-chromium-linux.png and b/packages/desktop-client/e2e/schedules.test.js-snapshots/Schedules-creates-a-new-schedule-posts-the-transaction-and-later-completes-it-8-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/settings.mobile.test.js b/packages/desktop-client/e2e/settings.mobile.test.js
new file mode 100644
index 0000000000..89e291ee69
--- /dev/null
+++ b/packages/desktop-client/e2e/settings.mobile.test.js
@@ -0,0 +1,43 @@
+import { test, expect } from '@playwright/test';
+
+import { ConfigurationPage } from './page-models/configuration-page';
+import { MobileNavigation } from './page-models/mobile-navigation';
+
+test.describe('Mobile Settings', () => {
+ let page;
+ let navigation;
+ let configurationPage;
+
+ test.beforeEach(async ({ browser }) => {
+ page = await browser.newPage();
+ navigation = new MobileNavigation(page);
+ configurationPage = new ConfigurationPage(page);
+
+ await page.setViewportSize({
+ width: 350,
+ height: 600,
+ });
+ await page.goto('/');
+ await configurationPage.createTestFile();
+ });
+
+ test.afterEach(async () => {
+ await page.close();
+ });
+
+ test('checks that settings page can be opened', async () => {
+ const settingsPage = await navigation.goToSettingsPage();
+ await expect(page).toMatchThemeScreenshots();
+
+ const downloadPromise = page.waitForEvent('download');
+
+ await settingsPage.exportData();
+
+ const download = await downloadPromise;
+
+ expect(await download.suggestedFilename()).toMatch(
+ /^\d{4}-\d{2}-\d{2}-.*.zip$/,
+ );
+ await expect(page).toMatchThemeScreenshots();
+ });
+});
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-1-chromium-linux.png b/packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-1-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-1-chromium-linux.png
rename to packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-1-chromium-linux.png
diff --git a/packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-2-chromium-linux.png b/packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-2-chromium-linux.png
new file mode 100644
index 0000000000..cd4126a2cb
Binary files /dev/null and b/packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-3-chromium-linux.png b/packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-3-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-3-chromium-linux.png
rename to packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-3-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-4-chromium-linux.png b/packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-4-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-4-chromium-linux.png
rename to packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-4-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-5-chromium-linux.png b/packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-5-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-5-chromium-linux.png
rename to packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-5-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-6-chromium-linux.png b/packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-6-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-checks-that-settings-page-can-be-opened-6-chromium-linux.png
rename to packages/desktop-client/e2e/settings.mobile.test.js-snapshots/Mobile-Settings-checks-that-settings-page-can-be-opened-6-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js b/packages/desktop-client/e2e/transactions.mobile.test.js
similarity index 53%
rename from packages/desktop-client/e2e/mobile.test.js
rename to packages/desktop-client/e2e/transactions.mobile.test.js
index 665b17e3f3..0327dc2b58 100644
--- a/packages/desktop-client/e2e/mobile.test.js
+++ b/packages/desktop-client/e2e/transactions.mobile.test.js
@@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test';
import { ConfigurationPage } from './page-models/configuration-page';
import { MobileNavigation } from './page-models/mobile-navigation';
-test.describe('Mobile', () => {
+test.describe('Mobile Transactions', () => {
let page;
let navigation;
let configurationPage;
@@ -25,60 +25,6 @@ test.describe('Mobile', () => {
await page.close();
});
- test('loads the budget page with budgeted amounts', async () => {
- const budgetPage = await navigation.goToBudgetPage();
-
- await expect(budgetPage.categoryNames).toHaveText([
- 'Food',
- 'Restaurants',
- 'Entertainment',
- 'Clothing',
- 'General',
- 'Gift',
- 'Medical',
- 'Savings',
- 'Cell',
- 'Internet',
- 'Mortgage',
- 'Water',
- 'Power',
- 'Starting Balances',
- 'Misc',
- 'Income',
- ]);
- await expect(page).toMatchThemeScreenshots();
- });
-
- test('opens the accounts page and asserts on balances', async () => {
- const accountsPage = await navigation.goToAccountsPage();
-
- const account = await accountsPage.getNthAccount(1);
-
- await expect(account.name).toHaveText('Ally Savings');
- await expect(account.balance).toHaveText('7,653.00');
- await expect(page).toMatchThemeScreenshots();
- });
-
- test('opens individual account page and checks that filtering is working', async () => {
- const accountsPage = await navigation.goToAccountsPage();
- const accountPage = await accountsPage.openNthAccount(0);
-
- await expect(accountPage.heading).toHaveText('Bank of America');
- expect(await accountPage.getBalance()).toBeGreaterThan(0);
-
- await expect(accountPage.noTransactionsFoundError).not.toBeVisible();
- await expect(page).toMatchThemeScreenshots();
-
- await accountPage.searchByText('nothing should be found');
- await expect(accountPage.noTransactionsFoundError).toBeVisible();
- await expect(accountPage.transactions).toHaveCount(0);
- await expect(page).toMatchThemeScreenshots();
-
- await accountPage.searchByText('Kroger');
- await expect(accountPage.transactions).not.toHaveCount(0);
- await expect(page).toMatchThemeScreenshots();
- });
-
test('creates a transaction via footer button', async () => {
const transactionEntryPage = await navigation.goToTransactionEntryPage();
await expect(page).toMatchThemeScreenshots();
@@ -136,20 +82,4 @@ test.describe('Mobile', () => {
'KrogerClothing-12.34',
);
});
-
- test('checks that settings page can be opened', async () => {
- const settingsPage = await navigation.goToSettingsPage();
- await expect(page).toMatchThemeScreenshots();
-
- const downloadPromise = page.waitForEvent('download');
-
- await settingsPage.exportData();
-
- const download = await downloadPromise;
-
- expect(await download.suggestedFilename()).toMatch(
- /^\d{4}-\d{2}-\d{2}-.*.zip$/,
- );
- await expect(page).toMatchThemeScreenshots();
- });
});
diff --git a/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-from-accounts-id-page-1-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-from-accounts-id-page-1-chromium-linux.png
new file mode 100644
index 0000000000..2e18a7006d
Binary files /dev/null and b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-from-accounts-id-page-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-from-accounts-id-page-2-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-from-accounts-id-page-2-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-from-accounts-id-page-2-chromium-linux.png
rename to packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-from-accounts-id-page-2-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-from-accounts-id-page-3-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-from-accounts-id-page-3-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-from-accounts-id-page-3-chromium-linux.png
rename to packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-from-accounts-id-page-3-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-1-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-1-chromium-linux.png
similarity index 52%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-1-chromium-linux.png
rename to packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-1-chromium-linux.png
index 0520ca7e91..62d41df64a 100644
Binary files a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-1-chromium-linux.png and b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-2-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-2-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-2-chromium-linux.png
rename to packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-2-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-3-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-3-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-3-chromium-linux.png
rename to packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-3-chromium-linux.png
diff --git a/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-4-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-4-chromium-linux.png
new file mode 100644
index 0000000000..ad745da2d7
Binary files /dev/null and b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-4-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-5-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-5-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-5-chromium-linux.png
rename to packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-5-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-6-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-6-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-6-chromium-linux.png
rename to packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-6-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-7-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-7-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-7-chromium-linux.png
rename to packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-7-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-8-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-8-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-8-chromium-linux.png
rename to packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-8-chromium-linux.png
diff --git a/packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-9-chromium-linux.png b/packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-9-chromium-linux.png
similarity index 100%
rename from packages/desktop-client/e2e/mobile.test.js-snapshots/Mobile-creates-a-transaction-via-footer-button-9-chromium-linux.png
rename to packages/desktop-client/e2e/transactions.mobile.test.js-snapshots/Mobile-Transactions-creates-a-transaction-via-footer-button-9-chromium-linux.png
diff --git a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-test-transaction-1-chromium-linux.png b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-test-transaction-1-chromium-linux.png
index 545c17ea0b..9cf0dd26ef 100644
Binary files a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-test-transaction-1-chromium-linux.png and b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-test-transaction-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-1-chromium-linux.png b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-1-chromium-linux.png
index 2a6dceb547..9c733307f8 100644
Binary files a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-1-chromium-linux.png and b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-1-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-2-chromium-linux.png b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-2-chromium-linux.png
index fe93911f83..fd36fa1e44 100644
Binary files a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-2-chromium-linux.png and b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-2-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-3-chromium-linux.png b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-3-chromium-linux.png
index fb92925b5e..c82912ea59 100644
Binary files a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-3-chromium-linux.png and b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-3-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-4-chromium-linux.png b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-4-chromium-linux.png
index ebe54fd966..90b8efa764 100644
Binary files a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-4-chromium-linux.png and b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-4-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-5-chromium-linux.png b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-5-chromium-linux.png
index 9a48e369fe..e16e5ff345 100644
Binary files a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-5-chromium-linux.png and b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-5-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-6-chromium-linux.png b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-6-chromium-linux.png
index 8555e68f86..cf954a3981 100644
Binary files a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-6-chromium-linux.png and b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-creates-a-transfer-test-transaction-6-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-4-chromium-linux.png b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-4-chromium-linux.png
index b84e109ad7..3bc2501086 100644
Binary files a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-4-chromium-linux.png and b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-4-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-5-chromium-linux.png b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-5-chromium-linux.png
index 61dab14eb0..4885ea64ab 100644
Binary files a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-5-chromium-linux.png and b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-5-chromium-linux.png differ
diff --git a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-6-chromium-linux.png b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-6-chromium-linux.png
index 781841d152..3accde6d97 100644
Binary files a/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-6-chromium-linux.png and b/packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-date-6-chromium-linux.png differ
diff --git a/packages/desktop-client/playwright.config.js b/packages/desktop-client/playwright.config.js
index ad5b4896c5..1d3f481fb5 100644
--- a/packages/desktop-client/playwright.config.js
+++ b/packages/desktop-client/playwright.config.js
@@ -65,7 +65,7 @@ expect.extend({
// eslint-disable-next-line import/no-unused-modules, import/no-default-export
export default defineConfig({
- timeout: 20000, // 20 seconds
+ timeout: 30000, // 30 seconds
retries: 1,
testDir: 'e2e/',
reporter: !process.env.CI ? [['html', { open: 'never' }]] : undefined,
diff --git a/packages/desktop-client/src/components/common/Modal.tsx b/packages/desktop-client/src/components/common/Modal.tsx
index 003ec8e1c4..02f90e8e08 100644
--- a/packages/desktop-client/src/components/common/Modal.tsx
+++ b/packages/desktop-client/src/components/common/Modal.tsx
@@ -290,7 +290,7 @@ export function ModalHeader({
}: ModalHeaderProps) {
return (
<View
- aria-label="Modal header"
+ role="heading"
style={{
justifyContent: 'center',
alignItems: 'center',
@@ -318,6 +318,7 @@ export function ModalHeader({
>
{showLogo && (
<SvgLogo
+ aria-label="Modal logo"
width={30}
height={30}
style={{ justifyContent: 'center', alignSelf: 'center' }}
diff --git a/packages/desktop-client/src/components/mobile/budget/BudgetTable.jsx b/packages/desktop-client/src/components/mobile/budget/BudgetTable.jsx
index abd5438d35..a6db405777 100644
--- a/packages/desktop-client/src/components/mobile/budget/BudgetTable.jsx
+++ b/packages/desktop-client/src/components/mobile/budget/BudgetTable.jsx
@@ -284,7 +284,12 @@ function BudgetCell({
};
return (
- <CellValue binding={binding} type="financial" data-testid={name} {...props}>
+ <CellValue
+ binding={binding}
+ type="financial"
+ aria-label={`Budgeted amount for ${category.name} category`}
+ {...props}
+ >
{({ type, name, value }) =>
children?.({
type,
@@ -300,6 +305,7 @@ function BudgetCell({
...makeAmountGrey(value),
}}
onPress={onOpenCategoryBudgetMenu}
+ aria-label={`Open budget menu for ${category.name} category`}
>
<View>
<PrivacyFilter>
@@ -524,7 +530,7 @@ const ExpenseCategory = memo(function ExpenseCategory({
opacity: isHidden ? 0.5 : undefined,
...style,
}}
- data-testid="row"
+ data-testid="category-row"
innerRef={listItemRef}
>
<View
@@ -585,7 +591,6 @@ const ExpenseCategory = memo(function ExpenseCategory({
>
<BudgetCell
key={`${show3Cols}|${showBudgetedCol}`}
- name="budgeted"
binding={budgeted}
type="financial"
category={category}
@@ -601,7 +606,11 @@ const ExpenseCategory = memo(function ExpenseCategory({
alignItems: 'flex-end',
}}
>
- <CellValue name="spent" binding={spent} type="financial">
+ <CellValue
+ binding={spent}
+ type="financial"
+ aria-label={`Spent amount for ${category.name} category`}
+ >
{({ type, value }) => (
<Button
variant="bare"
@@ -609,6 +618,7 @@ const ExpenseCategory = memo(function ExpenseCategory({
...PILL_STYLE,
}}
onPress={onShowActivity}
+ aria-label={`Show transactions for ${category.name} category`}
>
<PrivacyFilter>
<AutoTextSize
@@ -639,6 +649,7 @@ const ExpenseCategory = memo(function ExpenseCategory({
}}
>
<BalanceWithCarryover
+ aria-label={`Balance for ${category.name} category`}
type="financial"
carryover={carryover}
balance={balance}
@@ -671,6 +682,7 @@ const ExpenseCategory = memo(function ExpenseCategory({
maxWidth: columnWidth,
}}
onPress={onOpenBalanceMenu}
+ aria-label={`Open balance menu for ${category.name} category`}
>
<PrivacyFilter>
<AutoTextSize
@@ -776,7 +788,7 @@ const ExpenseGroupHeader = memo(function ExpenseGroupHeader({
opacity: !!group.hidden ? 0.5 : undefined,
paddingLeft: 0,
}}
- data-testid={`expense-group-header-${group.name}`}
+ data-testid="category-group-row"
innerRef={listItemRef}
>
<View
@@ -832,7 +844,7 @@ const ExpenseGroupHeader = memo(function ExpenseGroupHeader({
...styles.smallText,
fontWeight: '500',
}}
- data-testid="group-name"
+ data-testid="category-group-name"
>
{group.name}
</Text>
@@ -972,7 +984,7 @@ const IncomeGroupHeader = memo(function IncomeGroupHeader({
paddingLeft: 0,
}}
innerRef={listItemRef}
- data-testid={`income-group-header-${group.name}`}
+ data-testid="category-group-row"
>
<View
style={{
@@ -1026,7 +1038,7 @@ const IncomeGroupHeader = memo(function IncomeGroupHeader({
textAlign: 'left',
...styles.smallText,
}}
- data-testid="group-name"
+ data-testid="category-group-name"
>
{group.name}
</Text>
@@ -1132,7 +1144,7 @@ const IncomeCategory = memo(function IncomeCategory({
opacity: !!category.hidden ? 0.5 : undefined,
...style,
}}
- data-testid="row"
+ data-testid="category-row"
innerRef={listItemRef}
>
<View
@@ -1192,7 +1204,6 @@ const IncomeCategory = memo(function IncomeCategory({
}}
>
<BudgetCell
- name="budgeted"
binding={budgeted}
type="financial"
category={category}
@@ -1201,7 +1212,11 @@ const IncomeCategory = memo(function IncomeCategory({
/>
</View>
)}
- <CellValue binding={balance} type="financial">
+ <CellValue
+ binding={balance}
+ type="financial"
+ aria-label={`Balance for ${category.name} category`}
+ >
{({ type, value }) => (
<View>
<PrivacyFilter>
@@ -1641,6 +1656,7 @@ export function BudgetTable({
variant="bare"
style={{ margin: 10 }}
onPress={onOpenBudgetPageMenu}
+ aria-label="Budget page menu"
>
<SvgLogo
style={{ color: theme.mobileHeaderText }}
@@ -1726,6 +1742,7 @@ function BudgetTableHeader({
return (
<View
+ data-testid="budget-table-header"
style={{
flexDirection: 'row',
justifyContent: 'space-between',
@@ -1947,6 +1964,7 @@ function MonthSelector({
}}
>
<Button
+ aria-label="Previous month"
variant="bare"
onPress={() => {
if (prevEnabled) {
@@ -1968,12 +1986,14 @@ function MonthSelector({
onPress={() => {
onOpenMonthMenu?.(month);
}}
+ data-month={month}
>
<Text style={styles.underlinedText}>
{monthUtils.format(month, 'MMMM ‘yy')}
</Text>
</Button>
<Button
+ aria-label="Next month"
variant="bare"
onPress={() => {
if (nextEnabled) {
diff --git a/packages/desktop-client/src/components/mobile/transactions/TransactionList.jsx b/packages/desktop-client/src/components/mobile/transactions/TransactionList.jsx
index 67cdfc68e7..195fa4cb32 100644
--- a/packages/desktop-client/src/components/mobile/transactions/TransactionList.jsx
+++ b/packages/desktop-client/src/components/mobile/transactions/TransactionList.jsx
@@ -91,6 +91,7 @@ export function TransactionList({
if (isLoading) {
return (
<View
+ aria-label="Loading..."
style={{
flex: 1,
justifyContent: 'center',
@@ -107,7 +108,7 @@ export function TransactionList({
{scrollProps.ListHeaderComponent}
<ListBox
{...scrollProps}
- aria-label="transaction list"
+ aria-label="Transaction list"
label=""
loadMore={onLoadMore}
selectionMode="none"
diff --git a/packages/desktop-client/src/components/modals/EnvelopeBudgetMenuModal.tsx b/packages/desktop-client/src/components/modals/EnvelopeBudgetMenuModal.tsx
index f450a6f6bd..44e9de784f 100644
--- a/packages/desktop-client/src/components/modals/EnvelopeBudgetMenuModal.tsx
+++ b/packages/desktop-client/src/components/modals/EnvelopeBudgetMenuModal.tsx
@@ -99,6 +99,7 @@ export function EnvelopeBudgetMenuModal({
}}
textStyle={{ ...styles.veryLargeText, textAlign: 'center' }}
onUpdateAmount={_onUpdateBudget}
+ data-testid="budget-amount"
/>
</View>
<BudgetMenu
diff --git a/packages/desktop-client/src/components/modals/TrackingBudgetMenuModal.tsx b/packages/desktop-client/src/components/modals/TrackingBudgetMenuModal.tsx
index 3f899c9ed2..47b6e4796f 100644
--- a/packages/desktop-client/src/components/modals/TrackingBudgetMenuModal.tsx
+++ b/packages/desktop-client/src/components/modals/TrackingBudgetMenuModal.tsx
@@ -99,6 +99,7 @@ export function TrackingBudgetMenuModal({
}}
textStyle={{ ...styles.veryLargeText, textAlign: 'center' }}
onUpdateAmount={_onUpdateBudget}
+ data-testid="budget-amount"
/>
</View>
<BudgetMenu
diff --git a/upcoming-release-notes/3506.md b/upcoming-release-notes/3506.md
new file mode 100644
index 0000000000..8bc03a154e
--- /dev/null
+++ b/upcoming-release-notes/3506.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [joel-jeremy]
+---
+
+e2e: Add some mobile visual regression tests
diff --git a/yarn.lock b/yarn.lock
index ac760a1db1..c6727e3174 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -7129,9 +7129,9 @@ __metadata:
linkType: hard
"caniuse-lite@npm:^1.0.30001587":
- version: 1.0.30001587
- resolution: "caniuse-lite@npm:1.0.30001587"
- checksum: 10/960e26927ad876971021186337df1df2d37d7ed4fc7907098c060f56ae8de737d471791e51387ca55bea07f56b0a76553a90125f88a2f958ca1f4f715013cf71
+ version: 1.0.30001663
+ resolution: "caniuse-lite@npm:1.0.30001663"
+ checksum: 10/a67aba45e10bf56f584f82ab414ff21f5d23ddbd71936839b79c305710b332d8b91df37948a525fe1c9cede81ab56a3d831ee6e3f1fa11c4f299651ea49a8067
languageName: node
linkType: hard