Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unstable transaction and events e2e test #5547

Open
ManuGowda opened this issue Dec 11, 2023 · 0 comments
Open

Unstable transaction and events e2e test #5547

ManuGowda opened this issue Dec 11, 2023 · 0 comments

Comments

@ManuGowda
Copy link
Contributor

Expected behavior

The below e2e tests should be stable and if required change the assertion based on transactions/details endpoint e.g http://localhost:8080/#/transactions/details?transactionID=e51492af54b5205d9fd07608fc526f16a7a49375a4836f9ee98d0e195f8d91af

Actual behavior

Following e2e tests are unstable

Then('the first transaction row should contain latest transaction details', async () => {
// await expect(fixture.page.locator('.transactions-row').nth(0)).toContainText(/Token transfer/i);
// await expect(fixture.page.locator('.transactions-row').nth(0)).toContainText(/Today at/i);
});

Then('I should see event table details', async () => {
// await expect(
// fixture.page.locator('.transaction-events-header').filter({ hasText: 'Block height' })
// ).toBeVisible();
// await expect(
// fixture.page.locator('.transaction-events-header').filter({ hasText: 'Transaction ID' })
// ).toBeVisible();
// await expect
// .poll(() => fixture.page.locator('.transaction-event-row').count())
// .toBeGreaterThan(0);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant