Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

System Test: add support for Web JS on soroban dapp test cases #5

Description

@sreuland

What problem does your feature solve?

e2e tests currently invoke the soroban js/ts code from node/typescript engine referred to in the tests as NODEJS, but don't invoke it from an actual Web browser engine yet, which would validate additional browser side and polyfill aspects of the packaged dist of js/ts.

What would you like to see?

The dapp feature test suite should provide config ability for including Web browser side invocation as a client test case.

Web browser tests use the soroban-js-client

Add 'JSWEB' as Client Tool options in the Gherkin feature definitions(dapp_develop.feature):

  Examples: 
        | Tool         | ContractExampleSubPath | ContractName                  | ContractCompiledFileName             |FunctionName  | Param1    | Result             |
        | JSWEB        | hello_world            | soroban-hello-world-contract  | soroban_hello_world_contract.wasm    | hello        | Aloha     | ["Hello","Aloha"]  |
        | CLI          | hello_world            | soroban-hello-world-contract  | soroban_hello_world_contract.wasm    | hello        | Aloha     | ["Hello","Aloha"]  |
        | JSWEB        | increment              | soroban-increment-contract    | soroban_increment_contract.wasm      | increment    |           | 1                  | 
        | CLI          | increment              | soroban-increment-contract    | soroban_increment_contract.wasm      | increment    |           | 1                  |

Figure out how the web browser test will run, which headless browser?
How should the browser load/run the test js code to invoke soroban-js-client, as a small react app and package.json dependency to js-soroban-client?

What alternatives are there?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions