Skip to content
Snippets Groups Projects
user avatar
youngcw authored
* first pass at progress bar

* db migration / enter goal in db

* add getGoal function

* stabilize

* whoops

* TS

* reset goal in db if no template found

* reconfirm

* release note

* typo

* rename migration

* to ms

* move priority logic, consistent variable names,

* fixup

* clear goal if template removed

* Visual goals (#40)

* :fire: removing privacyMode feature flag (#1688)

* :art:  fix multiline label in schedules modal (#1687)

* Update Visual Regression README File (#1689)

* Fix typo in GoCardlessLink.js (#1684)

happend -> happened

* queried cleared balance for tooltip (#1678)

* Dark Theme Reports/Settings (#1512)

* :bug: Mobile account transaction list: Fix sticky date section headers (#1698)

* :construction_worker:

  do not cancel github ci jobs on master branch (#1692)

* Sidebar Account Fix (#1703)

* Dark Theme Final (#1513)

* Category autocomplete should only search selectable categories  (#1681)

* set colors based on a goal value

* extra comment

---------

Co-authored-by: default avatarMatiss Janis Aboltins <matiss@mja.lv>
Co-authored-by: default avatarCrazypkr1099 <nicholas.lacasse430@gmail.com>
Co-authored-by: default avatarIkko Eltociear Ashimine <eltociear@gmail.com>
Co-authored-by: default avatarShaan Khosla <35707672+shaankhosla@users.noreply.github.com>
Co-authored-by: default avatarNeil <55785687+carkom@users.noreply.github.com>
Co-authored-by: default avatarTrevor Farlow <trevdor@users.noreply.github.com>

* update release note

* lint

* use null as cleared state

* show goal status via colors (#41)

* cleanup

* I think its working

* lint

* fix report budget, by adding in the goal coloring

* fix the error by adding colors to the report side (#42)

* [refactor] Migrate Schedules Table to typescript (#1691)

* :wrench:  removing unnecessary manual module resolution (#1707)

* :bug: (mobile) scrolling in lists with pull-to-refresh (#1706)

* :lipstick:

 (mobile) updating apple home-screen icon (#1705)

* Enhance Y-Axis Scaling on Net Worth Graph (#1709)

* fix report budget, by adding in the goal coloring

---------

Co-authored-by: default avatarMohamed Muhsin <62111075+muhsinkamil@users.noreply.github.com>
Co-authored-by: default avatarMatiss Janis Aboltins <matiss@mja.lv>
Co-authored-by: default avatarCrazypkr1099 <nicholas.lacasse430@gmail.com>

* report budget database updates

* Goal progress bar (#1734)

* first pass at progress bar

* db migration / enter goal in db

* add getGoal function

* stabilize

* whoops

* TS

* reset goal in db if no template found

* reconfirm

* release note

* typo

* rename migration

* to ms

* move priority logic, consistent variable names,

* fixup

* clear goal if template removed

* Visual goals (#40)

* :fire: removing privacyMode feature flag (#1688)

* :art:  fix multiline label in schedules modal (#1687)

* Update Visual Regression README File (#1689)

* Fix typo in GoCardlessLink.js (#1684)

happend -> happened

* queried cleared balance for tooltip (#1678)

* Dark Theme Reports/Settings (#1512)

* :bug: Mobile account transaction list: Fix sticky date section headers (#1698)

* :construction_worker:

  do not cancel github ci jobs on master branch (#1692)

* Sidebar Account Fix (#1703)

* Dark Theme Final (#1513)

* Category autocomplete should only search selectable categories  (#1681)

* set colors based on a goal value

* extra comment

---------

Co-authored-by: default avatarMatiss Janis Aboltins <matiss@mja.lv>
Co-authored-by: default avatarCrazypkr1099 <nicholas.lacasse430@gmail.com>
Co-authored-by: default avatarIkko Eltociear Ashimine <eltociear@gmail.com>
Co-authored-by: default avatarShaan Khosla <35707672+shaankhosla@users.noreply.github.com>
Co-authored-by: default avatarNeil <55785687+carkom@users.noreply.github.com>
Co-authored-by: default avatarTrevor Farlow <trevdor@users.noreply.github.com>

* update release note

* lint

* use null as cleared state

* show goal status via colors (#41)

* cleanup

* I think its working

* lint

* fix the error by adding colors to the report side (#42)

* [refactor] Migrate Schedules Table to typescript (#1691)

* :wrench:  removing unnecessary manual module resolution (#1707)

* :bug: (mobile) scrolling in lists with pull-to-refresh (#1706)

* :lipstick:

 (mobile) updating apple home-screen icon (#1705)

* Enhance Y-Axis Scaling on Net Worth Graph (#1709)

* fix report budget, by adding in the goal coloring

---------

Co-authored-by: default avatarMohamed Muhsin <62111075+muhsinkamil@users.noreply.github.com>
Co-authored-by: default avatarMatiss Janis Aboltins <matiss@mja.lv>
Co-authored-by: default avatarCrazypkr1099 <nicholas.lacasse430@gmail.com>

* report budget database updates

* Fix schedule searchbar (#1729)

---------

Co-authored-by: default avataryoungcw <calebyoung94@gmail.com>
Co-authored-by: default avatarMatiss Janis Aboltins <matiss@mja.lv>
Co-authored-by: default avatarCrazypkr1099 <nicholas.lacasse430@gmail.com>
Co-authored-by: default avatarIkko Eltociear Ashimine <eltociear@gmail.com>
Co-authored-by: default avatarShaan Khosla <35707672+shaankhosla@users.noreply.github.com>
Co-authored-by: default avatarNeil <55785687+carkom@users.noreply.github.com>
Co-authored-by: default avatarTrevor Farlow <trevdor@users.noreply.github.com>
Co-authored-by: default avatarMohamed Muhsin <62111075+muhsinkamil@users.noreply.github.com>

* working dynamic colors.  Need to figure out what changes are actually needed

* cleanup

* more cleanup

* lint

* reset the goal when applying a single template

* make getCategory function

* remove some unneeded changes

* actually remove the changes, not just comment

* cleanup some unneeded code that was causing some bugs. Works for me, but should be vetted more

* lint

* add json definitions to database

* use template feature flag to enable colors

* some fixes

* don't set goals for remainders, remove unneeded change

* lint

* release note

* lint again

* fix mobile crash

* undo changes in CellValue.tsx

* lint

* use getStyle

* move status calc to helper

* lint

* recommendations

* suggestion

Co-authored-by: default avatarJoel Jeremy Marquez <joeljeremy.marquez@gmail.com>

---------

Co-authored-by: default avatarshall0pass <20625555+shall0pass@users.noreply.github.com>
Co-authored-by: default avatarMatiss Janis Aboltins <matiss@mja.lv>
Co-authored-by: default avatarCrazypkr1099 <nicholas.lacasse430@gmail.com>
Co-authored-by: default avatarIkko Eltociear Ashimine <eltociear@gmail.com>
Co-authored-by: default avatarShaan Khosla <35707672+shaankhosla@users.noreply.github.com>
Co-authored-by: default avatarNeil <55785687+carkom@users.noreply.github.com>
Co-authored-by: default avatarTrevor Farlow <trevdor@users.noreply.github.com>
Co-authored-by: default avatarMohamed Muhsin <62111075+muhsinkamil@users.noreply.github.com>
Co-authored-by: default avatarJoel Jeremy Marquez <joeljeremy.marquez@gmail.com>
df5aa318
History

Actual on the web

E2E tests

E2E (end-to-end) tests use Playwright. Running them requires an Actual server to be running either locally or on a remote server.

Functional

Running against the local server:

# Start the development server
yarn start

# Run against the local server (localhost:3001)
yarn e2e

Running against a remote server:

E2E_START_URL=http://my-remote-server.com yarn e2e

Visual regression

Visual regression tests (also known as screenshot tests) check that the visual appearance of the product has not regressed. Each environment has slightly different colors, fonts etc. Mac differs from Windows which differs from Linux. In order to have a stable test environment for visual comparisons - you must use a standartised docker container. This ensures that the tests are always ran in a consistent environment.

Prerequisites:

  • Docker installed

Running against the local server

First start the dev server:

HTTPS=true yarn start

Next, navigate to the root of your project folder, run the standartised docker container, and launch the visual regression tests from within it.

# Run docker container
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.37.0-jammy /bin/bash

    # If you recieve an error such as "docker: invalid reference format", please instead use the following command:
    docker run --rm --network host -v ${pwd}:/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.37.0-jammy /bin/bash

# Run the VRT tests: important - they MUST be ran against a HTTPS server
E2E_START_URL=https://192.168.0.178:3001 yarn vrt

    # To update snapshots, use the following command:
    E2E_START_URL=https://192.168.0.178:3001 yarn vrt --update-snapshots

Running against a remote server

You can also run the tests against a remote server by passing the URL:

E2E_START_URL=https://my-remote-server.com yarn vrt