Skip to content

Commit

Permalink
arbitrary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MaPoKen committed May 30, 2024
1 parent 60f4f20 commit 2f03f70
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,7 @@ jobs:
run: yarn playwright install --with-deps chromium
- name: "E2E"
run: yarn e2e:headless
- uses: actions/upload-artifact@v4
with:
name: playwright
path: ./playwright-report
1 change: 1 addition & 0 deletions e2e/apiMock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const test = Ptest.extend<ExtendParams>({
updateMode: "full",
url: regex,
updateContent: "embed",
notFound: "fallback",
});

await page.goto("/");
Expand Down
1 change: 1 addition & 0 deletions e2e/specs/authenticated/MyNDLAFolder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ test("can drag and drop folders", async ({ page }) => {

await secondItem.hover();
await page.mouse.down();

await firstItem.hover();
await page.mouse.up();

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@ndla/types-backend": "^0.2.72",
"@ndla/types-embed": "^4.1.6",
"@ndla/types-taxonomy": "^1.0.22",
"@playwright/test": "^1.44.1",
"@playwright/test": "^1.43.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.2",
"@types/express": "^4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineConfig({
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: "http://localhost:3000",
trace: "on-first-retry",
trace: "on",
viewport: {
width: 2560,
height: 1440,
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3609,7 +3609,7 @@ __metadata:
languageName: node
linkType: hard

"@playwright/test@npm:^1.44.1":
"@playwright/test@npm:^1.43.1":
version: 1.44.1
resolution: "@playwright/test@npm:1.44.1"
dependencies:
Expand Down Expand Up @@ -10936,7 +10936,7 @@ __metadata:
"@ndla/typography": "npm:^0.4.20"
"@ndla/ui": "npm:^53.0.0"
"@ndla/util": "npm:^4.0.4"
"@playwright/test": "npm:^1.44.1"
"@playwright/test": "npm:^1.43.1"
"@testing-library/jest-dom": "npm:^6.4.2"
"@testing-library/react": "npm:^15.0.2"
"@types/express": "npm:^4.17.21"
Expand Down

0 comments on commit 2f03f70

Please sign in to comment.