Skip to content

Commit e83fd38

Browse files
committed
Rename tests folder to samples
1 parent 5838374 commit e83fd38

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+12
-12
lines changed

.github/workflows/test-all-node.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
with:
1717
node-version: '20'
1818
cache: 'npm'
19-
cache-dependency-path: tests/node-js/package-lock.json
19+
cache-dependency-path: samples/node-js/package-lock.json
2020

2121
- name: Install Node.js dependencies
2222
run: |
23-
cd tests/node-js
23+
cd samples/node-js
2424
npm install
2525
2626
- name: Setup Dev Proxy
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Run Node.js test application
3333
run: |
34-
cd tests/node-js
34+
cd samples/node-js
3535
node index.mjs
3636
3737
- name: Show logs

.github/workflows/test-llm-usage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v4
1616

1717
- name: Update env.js
18-
working-directory: ./tests/llm-usage
18+
working-directory: ./samples/llm-usage
1919
run: |
2020
echo "Updating env.js..."
2121
echo "export const apiKey = '${{ secrets.GITHUB_TOKEN }}';" > ./js/env.js
@@ -26,27 +26,27 @@ jobs:
2626
node-version: 20
2727

2828
- name: Install dependencies
29-
working-directory: ./tests/llm-usage
29+
working-directory: ./samples/llm-usage
3030
run: npm ci
3131

3232
- name: Install Edge browser
33-
working-directory: ./tests/llm-usage
33+
working-directory: ./samples/llm-usage
3434
run: npm run install:msedge
3535

3636
- name: Setup Dev Proxy
3737
uses: ./setup
3838
with:
3939
auto-record: true
4040
auto-stop: false
41-
config-file: ./tests/llm-usage/.devproxy/devproxyrc.json
41+
config-file: ./samples/llm-usage/.devproxy/devproxyrc.json
4242
report-job-summary: $GITHUB_STEP_SUMMARY
4343
version: v1.0.0-beta.8
4444

4545
- name: Install the Dev Proxy certificate for Chromium
4646
uses: ./chromium-cert
4747

4848
- name: Run Playwright tests
49-
working-directory: ./tests/llm-usage
49+
working-directory: ./samples/llm-usage
5050
run: DEBUG=pw:api npx playwright test
5151

5252
- name: Stop recording

.github/workflows/test-playwright-web-app.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,24 @@ jobs:
1818
node-version: 20
1919

2020
- name: Install dependencies
21-
working-directory: ./tests/playwright-web-app
21+
working-directory: ./samples/playwright-web-app
2222
run: npm ci
2323

2424
- name: Install Edge browser
25-
working-directory: ./tests/playwright-web-app
25+
working-directory: ./samples/playwright-web-app
2626
run: npm run install:msedge
2727

2828
- name: Setup Dev Proxy
2929
uses: ./setup
3030
with:
3131
version: v0.29.2
32-
config-file: ./tests/playwright-web-app/.devproxy/devproxyrc.json
32+
config-file: ./samples/playwright-web-app/.devproxy/devproxyrc.json
3333

3434
- name: Install the Dev Proxy certificate for Chromium
3535
uses: ./chromium-cert
3636

3737
- name: Run Playwright tests
38-
working-directory: ./tests/playwright-web-app
38+
working-directory: ./samples/playwright-web-app
3939
run: npm test
4040

4141
- name: Show logs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)