Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,22 +197,30 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Download artifacts
- name: Fetch gh-pages branch
run: |
git fetch origin gh-pages:gh-pages
mkdir gh-pages
git --work-tree=gh-pages checkout gh-pages -- .

- name: Download Playwright artifacts
uses: actions/download-artifact@v3
with:
name: playwright-artifacts
path: playwright-artifacts

- name: Setup Pages
uses: actions/configure-pages@v3
- name: Copy new report
run: |
mkdir -p gh-pages/${{ github.event.pull_request.number }}
cp -r playwright-artifacts/playwright-report/* gh-pages/${{ github.event.pull_request.number }}/

- name: Deploy report to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./playwright-artifacts/playwright-report
destination_dir: ${{ github.event.pull_request.number }}
force_orphan: true
publish_dir: gh-pages
destination_dir: .
keep_history: false

- name: Update PR description
uses: actions/github-script@v6
Expand Down
2 changes: 1 addition & 1 deletion tests/suites/tenant/queryEditor/queryEditor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test.describe('Test Query Editor', async () => {
await tenantPage.goto(pageQueryParams);
});

test('Settings dialog opens on Gear click and closes on Cancel', async ({page}) => {
test.only('Settings dialog opens on Gear click and closes on Cancel', async ({page}) => {
const queryEditor = new QueryEditor(page);
await queryEditor.clickGearButton();

Expand Down
Loading