Skip to content

Commit

Permalink
added new test
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Hennig committed Jun 3, 2024
1 parent 062049b commit 753b0b4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/playwright.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci --force
- name: Install Playwright Browsers
run: npx playwright install --with-deps --force
- name: Run Playwright tests
run: npm run pageObjects-chrome
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
6 changes: 5 additions & 1 deletion tests/usePageObjects.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,9 @@ test('Parametrized methods, option 2', async ({ page }) => {
// await pm.onDatepickerPage().selectdatePickerWithRangeFromToday(6, 10);
})


test.only('Testing with Argos CI', async ({ page }) => {
const pm = new PageManager(page);
await pm.navigateTo().formLayoutsPage();
await pm.navigateTo().datepickerPage();
});

0 comments on commit 753b0b4

Please sign in to comment.