File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 element : " header h1"
2828 pageChange : true
2929 # Wait again for dashboard fully loaded
30- waitForSelector : " main.container .grid"
30+ waitForSelector : " main.container .grid"
31+
32+ - name : Test manual income addition
33+ type : click
34+ # Go to incomes page again to test AddMoney feature
35+ element : " article:nth-of-type(2) header a[href='/incomes']"
36+ pageChange : true
37+ waitForSelector : " [data-testid='incomes-loaded']"
38+
39+ - name : Open add income dialog
40+ type : click
41+ # Click the button to open AddMoney dialog
42+ element : " button[aria-label='Add income'], button:has-text('Add')"
43+ # Wait for dialog to appear (assuming it has a form or dialog element)
44+ waitForSelector : " dialog[open], [role='dialog']"
45+
46+ - name : Go to outcomes page
47+ type : click
48+ # Return to dashboard first
49+ element : " header h1"
50+ pageChange : true
51+ waitForSelector : " main.container .grid"
52+
53+ - name : View outcomes and potential savings
54+ type : click
55+ # Click on outcomes "View all" link
56+ element : " article:nth-of-type(1) header a[href='/outcomes']"
57+ pageChange : true
58+ # Wait for PotentialEconomy component to load
59+ waitForSelector : " article h3:has-text('Potential Savings')"
You can’t perform that action at this time.
0 commit comments