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

[QA] Playwright browser tests #84

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Conversation

anshss
Copy link
Member

@anshss anshss commented Dec 1, 2024

Automated Tests: 18 node and 15 browser tests

CHANGES

  • migrated complete repo to v7.0.4 from alpha
  • spotted remaining migrations and did that
  • added new node tests inside hacker-guides to nx
  • fixed a few broken tests
  • added apps dir for running all scripts in the browser
  • added playwright to automate browser tests

PLAYWRIGHT-TESTS

  • includes apps dir containing a NextJS app hooked to example scripts of node tests
  • changes on the utils files and somewhere in the index (where env are consumed) due to differences in env environments to make the scripts support both node and browser environment
  • includes playwright tests for testing against changes on UI

Wrapped Keys test usually fails at times

NODE TESTS

Screenshot 2025-01-04 at 10 15 07 PM

BROWSER TESTS

image

COMMENTS

  • 3 examples include file system handling through fs which cannot be made to run in a browser and only contains node tests

    • encrypt-file
    • encrypt-large-file
    • solana-openai
  • examples are in the browser and need to be translated to node test so they can be run and tested in both environments

    • siws-accs
    • siws-authentication
    • siws-encryption
    • siws-session-sigs
    • custom-auth
    • lit-relayer/mintPKPThroughRelayer
  • btc-trigger test couldn't be made to run on its own in any environment as it requires fetching utxo in a newly created lit-btc wallet to generate a txn with it

@anshss anshss changed the title Playw [SDK QA] Playwright browser tests Dec 1, 2024
@anshss anshss changed the title [SDK QA] Playwright browser tests [QA] Playwright browser tests Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant