mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 18:40:34 -05:00
[e2e] Account page tests - wait for transaction table to be visible (#3530)
* Wait for transaction table to be visible * Release notes
This commit is contained in:
committed by
GitHub
parent
92980ab55b
commit
4df03984bd
@@ -93,7 +93,9 @@ test.describe('Onboarding', () => {
|
||||
|
||||
test('navigates back to start page by clicking on “no server” in an empty budget file', async () => {
|
||||
await configurationPage.clickOnNoServer();
|
||||
await configurationPage.startFresh();
|
||||
const accountPage = await configurationPage.startFresh();
|
||||
|
||||
await expect(accountPage.transactionTable).toBeVisible();
|
||||
|
||||
await navigation.clickOnNoServer();
|
||||
await page.getByRole('button', { name: 'Start using a server' }).click();
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { AccountPage } from './account-page';
|
||||
import { BudgetPage } from './budget-page';
|
||||
|
||||
export class ConfigurationPage {
|
||||
@@ -18,6 +19,8 @@ export class ConfigurationPage {
|
||||
|
||||
async startFresh() {
|
||||
await this.page.getByRole('button', { name: 'Start fresh' }).click();
|
||||
|
||||
return new AccountPage(this.page);
|
||||
}
|
||||
|
||||
async importBudget(type, file) {
|
||||
|
||||
6
upcoming-release-notes/3530.md
Normal file
6
upcoming-release-notes/3530.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [joel-jeremy]
|
||||
---
|
||||
|
||||
[e2e] Fix the flaky "navigates back to start page by clicking on “no server” in an empty budget file test" from onboarding.test.js
|
||||
Reference in New Issue
Block a user