Skip to content

[💡 Feature]: UI Fuzzing #1269

@PatrickAlphaC

Description

@PatrickAlphaC

Is your feature request related to a problem?

This would be cool, essentially set different prompts in the UI to make sure that we populate the transaction correctly.

This is probably a pretty big feature request...

But something to think about.

Describe the solution you'd like.

Maybe like:

test('should connect wallet to the Dapp', async ({ context, page, metamaskPage, fuzzSeed }) => {
  await page.getByRole('XXX', { name: '0x', exact: true }).fill(fuzzSeed);
  await page.getByRole('XXX', { name: '0x123..., 0x456...' }).fill(fuzzSeed);
  await page.getByRole('XXX', { name: '200, 300...' }).fill(fuzzSeed);

And when we populate the transaction, we can check the calldata to make sure it's correct.

Describe alternatives you've considered.

The example is super pseudo code. I feel like this should be built into playwright maybe? And maybe not a synpress request.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions