-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: stackblitz templates tests (#225)
- Loading branch information
1 parent
4557bb8
commit 26c233b
Showing
3 changed files
with
111 additions
and
0 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,37 @@ | ||
name: Vue Blank | ||
|
||
run-name: Playwright is testing vue blank 🚀 | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '54 23 * * *' | ||
jobs: | ||
run-code_examples-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- run: corepack enable | ||
- run: pnpm --version | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: "pnpm" | ||
cache-dependency-path: "**/pnpm-lock.yaml" | ||
- name: install | ||
run: pnpm install --frozen-lockfile --prefer-offline | ||
|
||
- name: Install dependencies with Playwright | ||
run: | | ||
pnpm playwright install --with-deps | ||
- name: Run tests | ||
run: | | ||
cd apps/e2e-tests | ||
BASE_E2E_URL=https://stackblitz.com/github/shopware/frontends/tree/main/templates/vue-blank npx playwright test checkStackblitzTemplates.spec.ts --project=chromium |
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,37 @@ | ||
name: Vue demo store | ||
|
||
run-name: Playwright is testing vue demo store 🚀 | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '52 23 * * *' | ||
jobs: | ||
run-code_examples-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- run: corepack enable | ||
- run: pnpm --version | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: "pnpm" | ||
cache-dependency-path: "**/pnpm-lock.yaml" | ||
- name: install | ||
run: pnpm install --frozen-lockfile --prefer-offline | ||
|
||
- name: Install dependencies with Playwright | ||
run: | | ||
pnpm playwright install --with-deps | ||
- name: Run tests | ||
run: | | ||
cd apps/e2e-tests | ||
BASE_E2E_URL=https://stackblitz.com/github/shopware/frontends/tree/main/templates/vue-demo-store npx playwright test checkStackblitzTemplates.spec.ts --project=chromium |
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,37 @@ | ||
name: Vue vite blank | ||
|
||
run-name: Playwright is testing vue vite blank 🚀 | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '50 23 * * *' | ||
jobs: | ||
run-code_examples-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- run: corepack enable | ||
- run: pnpm --version | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: "pnpm" | ||
cache-dependency-path: "**/pnpm-lock.yaml" | ||
- name: install | ||
run: pnpm install --frozen-lockfile --prefer-offline | ||
|
||
- name: Install dependencies with Playwright | ||
run: | | ||
pnpm playwright install --with-deps | ||
- name: Run tests | ||
run: | | ||
cd apps/e2e-tests | ||
BASE_E2E_URL=https://stackblitz.com/github/shopware/frontends/tree/main/templates/vue-vite-blank npx playwright test checkStackblitzTemplates.spec.ts --project=chromium |