Skip to content

Commit

Permalink
add upload artifacts on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
afmicka committed Dec 13, 2024
1 parent e7f079f commit 9e5cc17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/run-nala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,11 @@ jobs:
GITHUB_ACTION_PATH: ${{ github.workspace }}
IMS_EMAIL: ${{ secrets.IMS_EMAIL }}
IMS_PASS: ${{ secrets.IMS_PASS }}

- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: screenshots-studio
path: screenshots/studio
retention-days: 7
4 changes: 2 additions & 2 deletions nala/studio/studio.test.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { expect, test } from '@playwright/test';
import studiopkg from './studio.spec.js';
import studioSpec from './studio.spec.js';
import StudioPage from './studio.page.js';
import ims from '../libs/imslogin.js';

const miloLibs = process.env.MILO_LIBS || '';

let studio;
const { features } = studiopkg;
const { features } = studioSpec;

test.beforeEach(async ({ page, browserName }) => {
test.skip(
Expand Down

0 comments on commit 9e5cc17

Please sign in to comment.