Skip to content

Recommended changes to get the CircleCI server to allow the tests for the React SPA web sample to succeed.#31

Open
djbauch wants to merge 17 commits into
auth0-samples:masterfrom
djbauch:master
Open

Recommended changes to get the CircleCI server to allow the tests for the React SPA web sample to succeed.#31
djbauch wants to merge 17 commits into
auth0-samples:masterfrom
djbauch:master

Conversation

@djbauch

@djbauch djbauch commented Mar 20, 2025

Copy link
Copy Markdown

This pull request includes updates to the test configuration and test scripts to enhance compatibility and improve the login test scenarios. The most important changes include switching from Puppeteer to Playwright, updating the login test scenarios, and modifying variable declarations.

Updates to test configuration:

  • codecept.conf.js: Changed the browser automation framework from Puppeteer to Playwright and updated the browser list to include chromium instead of chrome. Also, updated the variable declaration from var to let for the url variable. [1] [2]

Enhancements to login test scenarios:

  • cant_login_spa_test.js: Added a new feature for SPA login with a responsive design and included a scenario for logging in using Lock.
  • lock_login_spa_test.js: Updated the selector for the submit button in the login scenario to use button[type='submit'] for consistency.

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