Skip to content
Merged
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
15 changes: 0 additions & 15 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,3 @@ updates:
external-types:
patterns:
- "@types/*"

- package-ecosystem: npm
directory: "/e2e/browser/test-app/"
schedule:
interval: weekly
open-pull-requests-limit: 10
groups:
internal-tooling:
patterns:
- "@inrupt/internal-*"
external-types:
patterns:
- "@types/*"


2 changes: 0 additions & 2 deletions .github/workflows/e2e-browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
- run: npx playwright install --with-deps
# build
- run: npm run build
# setup
- run: npm run test:e2e:browser:build
# test
- # Dependabot cannot access secrets, so it doesn't have a token to authenticate to ESS.
# We want jobs in this workflow to be gating PRs, so the whole matrix must
Expand Down
4 changes: 4 additions & 0 deletions e2e/browser/test-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@

# next.js
/.next/

# next 16.3+ generates these on `next dev`
/AGENTS.md
/CLAUDE.md
5 changes: 3 additions & 2 deletions e2e/browser/test-app/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import {
} from "@inrupt/internal-playwright-testids";
import ProblemDetailsClient from "../components/problemDetails";

const REDIRECT_URL = window.location.href;
const APP_NAME = "Problem Details error client browser-based tests app";
const DEFAULT_ISSUER = "https://login.inrupt.com/";

Expand All @@ -59,7 +58,9 @@ export default function AppContainer() {
// Login will redirect the user away so that they can log in the OIDC issuer,
// and back to the provided redirect URL (which should be controlled by your app).
await login({
redirectUrl: REDIRECT_URL,
// Read at call time: this module is prerendered on the server, where
// `window` is undefined.
redirectUrl: window.location.href,
oidcIssuer: issuer,
clientName: APP_NAME,
});
Expand Down
4 changes: 3 additions & 1 deletion e2e/browser/test-app/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/types/routes.d.ts";
import "./.next/types/root-params.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Loading