Skip to content

Commit

Permalink
chore(ci): allow to run update e2e job on label added on pr
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Dockal <[email protected]>
  • Loading branch information
odockal committed Sep 5, 2024
1 parent 7f2997a commit 609a843
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-check-update-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ name: pr-check-update-e2e
on:
pull_request:
paths:
- '**'
- 'pnpm-lock.yaml'
types: [labeled, synchronize, opened, reopened]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ let updateDialog: Locator;
let updateDownloadedDialog: Locator;
const performUpdate = process.env.UPDATE_PODMAN_DESKTOP ? process.env.UPDATE_PODMAN_DESKTOP : false;

test.beforeAll(async ({ pdRunner, page, statusBar }) => {
pdRunner.setVideoAndTraceName('update-e2e');
test.beforeAll(async ({ runner, page, statusBar }) => {
runner.setVideoAndTraceName('update-e2e');

sBar = statusBar;
updateAvailableDialog = page.getByRole('dialog', { name: 'Update Available now' });
updateDialog = page.getByRole('dialog', { name: 'Update', exact: true });
updateDownloadedDialog = page.getByRole('dialog', { name: 'Update Downloaded', exact: true });
});

test.afterAll(async ({ pdRunner }) => {
await pdRunner.close();
test.afterAll(async ({ runner }) => {
await runner.close();
});

test.describe.serial('Podman Desktop Update Update installation offering', () => {
Expand Down

0 comments on commit 609a843

Please sign in to comment.