Skip to content

Commit

Permalink
Add Dev-2-1 to end-to-end environments (#884)
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux authored Dec 11, 2023
1 parent 056c4ad commit 0b3a58e
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: true
matrix:
environment-name: ["ESS PodSpaces"]
environment-name: ["ESS PodSpaces", "ESS Dev-2-1"]
experimental: [false]
include:
- environment-name: "ESS Dev-2-2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
os: [ubuntu-latest]
node-version: ["16.x", "18.x", "20.x"]
environment-name: ["ESS PodSpaces"]
environment-name: ["ESS PodSpaces", "ESS Dev-2-1"]
experimental: [false]
include:
- node-version: "20.x"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,14 @@ export default function VerifiableCredential({
const credential = await issueVerifiableCredential(
new URL("issue", vcProvider).href,
issueInvalid ? validCredentialClaims : invalidCredentialClaims,
undefined,
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://schema.inrupt.com/credentials/v1.jsonld",
],
type: ["SolidAccessRequest"],
expirationDate: new Date(Date.now() + 15 * 60 * 1000).toISOString(),
},
{
fetch: session.fetch,
},
Expand Down
1 change: 1 addition & 0 deletions e2e/node/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const validCredentialClaims = {
type: ["SolidAccessRequest"],
"http://example.org/my/filtering/property":
"http://example.org/my/filtering/object",
expirationDate: new Date(Date.now() + 15 * 60 * 1000).toISOString(),
};
const validSubjectClaims = (options?: {
resource?: string;
Expand Down
126 changes: 65 additions & 61 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
},
"devDependencies": {
"@inrupt/eslint-config-lib": "^2.0.0",
"@inrupt/internal-playwright-helpers": "^2.0.4",
"@inrupt/internal-test-env": "^2.0.4",
"@inrupt/jest-jsdom-polyfills": "^2.0.4",
"@inrupt/internal-playwright-helpers": "^2.6.0",
"@inrupt/internal-test-env": "^2.6.0",
"@inrupt/jest-jsdom-polyfills": "^2.6.0",
"@playwright/test": "^1.28.1",
"@rdfjs/dataset": "2.0.1",
"@rdfjs/types": "^1.1.0",
Expand Down

1 comment on commit 0b3a58e

@vercel
Copy link

@vercel vercel bot commented on 0b3a58e Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

solid-client-vc-js – ./

solid-client-vc-js.vercel.app
solid-client-vc-js-git-main-inrupt.vercel.app
solid-client-vc-js-inrupt.vercel.app

Please sign in to comment.