-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- simplified Turbo integration setup - support dialog showModal & close out of the box. - direct invocation with an optional message. - direct invocation with a contentMap. - helpful error messages - playwright browser tests & dummy Rails app --------- Co-authored-by: Tim Irwin <[email protected]> Co-authored-by: Justin Wiebe <[email protected]>
- Loading branch information
1 parent
8a9596d
commit ab0611c
Showing
99 changed files
with
5,646 additions
and
3,096 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Playwright Tests | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
jobs: | ||
test: | ||
timeout-minutes: 5 | ||
runs-on: ubuntu-latest | ||
env: | ||
CI: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
cache: yarn | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
|
||
- name: Install Playwright Browsers | ||
run: yarn playwright install --with-deps | ||
|
||
- name: Install Ruby and gems for dummy app | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.3' | ||
bundler-cache: true | ||
|
||
- name: Setup dummy app | ||
run: bin/setup | ||
working-directory: ./test/dummy | ||
|
||
- name: Run Playwright tests | ||
run: yarn playwright test | ||
|
||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: playwright-report | ||
path: playwright-report/ | ||
retention-days: 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,36 @@ | ||
node_modules | ||
/node_modules | ||
/test-results/ | ||
/playwright-report/ | ||
/blob-report/ | ||
/playwright/.cache/ | ||
/yarn-error.log | ||
|
||
# Ignore bundler config. | ||
/test/dummy/.bundle | ||
|
||
# Ignore all logfiles and tempfiles. | ||
/test/dummy/log/* | ||
/test/dummy/tmp/* | ||
!/test/dummy/log/.keep | ||
!/test/dummy/tmp/.keep | ||
|
||
# Ignore pidfiles, but keep the directory. | ||
/test/dummy/tmp/pids/* | ||
!/test/dummy/tmp/pids/ | ||
!/test/dummy/tmp/pids/.keep | ||
|
||
# Ignore uploaded files in development. | ||
/test/dummy/storage/* | ||
!/test/dummy/storage/.keep | ||
/test/dummy/tmp/storage/* | ||
!/test/dummy/tmp/storage/ | ||
!/test/dummy/tmp/storage/.keep | ||
|
||
/test/dummy/public/assets | ||
# Ignore master key for decrypting credentials and more. | ||
/test/dummy/config/master.key | ||
|
||
/test/dummy/app/assets/builds/* | ||
!/test/dummy/app/assets/builds/.keep | ||
|
||
/test/dummy/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
test | ||
jest.config.js | ||
title_image.png | ||
.github | ||
/title_image.png | ||
/test/ | ||
/test-results/ | ||
/tests-examples/ | ||
/playwright-report/ | ||
/playwright.config.js | ||
/blob-report/ | ||
/.github/ | ||
/playwright/.cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.