History

e2e: bump @executor-js/emulate to 0.10.0, unskip the seat-limit scenario

0.10.0 ships the Autumn balances.feature expansion autumn-js asserts (UsefulSoftwareCo/emulate#8), so the org page renders again and the scenario passes.

Rhys Sullivan committed 4 months ago

Commit 6e7bd931 parent 210857d3 files · +4 −11Browse files

Unified · Split

3 files
  1. bun.lock +2 −2
  2. e2e/cloud/member-invite-seat-limit.test.ts +1 −8
  3. e2e/package.json +1 −1
bun.lock+2−2
@@ -344,7 +344,7 @@ · 343 unmodified lines
344 "version": "0.0.24",344 "version": "0.0.24",
345 "dependencies": {345 "dependencies": {
346 "@executor-js/api": "workspace:*",346 "@executor-js/api": "workspace:*",
347 "@executor-js/emulate": "^0.9.0",347 "@executor-js/emulate": "^0.10.0",
348 "@executor-js/mcporter": "^0.11.4",348 "@executor-js/mcporter": "^0.11.4",
349 "@executor-js/plugin-graphql": "workspace:*",349 "@executor-js/plugin-graphql": "workspace:*",
350 "@executor-js/plugin-mcp": "workspace:*",350 "@executor-js/plugin-mcp": "workspace:*",
@@ -1741,7 +1741,7 @@ · 1390 unmodified lines
1741 1741
1742 "@executor-js/e2e": ["@executor-js/e2e@workspace:e2e"],1742 "@executor-js/e2e": ["@executor-js/e2e@workspace:e2e"],
1743 1743
1744 "@executor-js/emulate": ["@executor-js/emulate@0.9.0", "", { "dependencies": { "@aws-sdk/client-s3": "^3.1031.0", "@aws-sdk/client-sqs": "^3.1075.0", "@azure/msal-node": "^5.3.0", "@clerk/backend": "^3.8.4", "@octokit/rest": "^22.0.1", "@okta/okta-auth-js": "^8.0.1", "@slack/web-api": "^7.16.0", "@vercel/sdk": "^1.28.4", "@workos-inc/node": "^8.13.0", "atlas-api-client": "^0.3.0", "autumn-js": "^1.2.8", "commander": "^14", "googleapis": "^173.0.0", "graphql": "^16.9.0", "graphql-request": "^7.4.0", "openid-client": "^6.8.4", "picocolors": "^1.1.1", "resend": "^6.16.0", "spotify-web-api-node": "^5.0.2", "stripe": "^22.3.0", "twitter-api-v2": "^1.29.0", "yaml": "^2" }, "bin": { "emulate": "dist/index.js" } }, "sha512-0YgBi82vD2q0yUoy3OKEGPCveFbbKctBqeGecS2LZ3UGPUPg9y5DVi+SOZmkZEkd5Wy+iqQo1XBAt90sHB7SPQ=="],1744 "@executor-js/emulate": ["@executor-js/emulate@0.10.0", "", { "dependencies": { "@aws-sdk/client-s3": "^3.1031.0", "@aws-sdk/client-sqs": "^3.1075.0", "@azure/msal-node": "^5.3.0", "@clerk/backend": "^3.8.4", "@octokit/rest": "^22.0.1", "@okta/okta-auth-js": "^8.0.1", "@slack/web-api": "^7.16.0", "@vercel/sdk": "^1.28.4", "@workos-inc/node": "^8.13.0", "atlas-api-client": "^0.3.0", "autumn-js": "^1.2.8", "commander": "^14", "googleapis": "^173.0.0", "graphql": "^16.9.0", "graphql-request": "^7.4.0", "openid-client": "^6.8.4", "picocolors": "^1.1.1", "resend": "^6.16.0", "spotify-web-api-node": "^5.0.2", "stripe": "^22.3.0", "twitter-api-v2": "^1.29.0", "yaml": "^2" }, "bin": { "emulate": "dist/index.js" } }, "sha512-GE1+XDQ4FJt4ZDrwNjuUqUEG1WaH06UE12ME/xJdcCNbsa6EE6SA+i8onVJQ5Dr7DbUveU37E4djLTiAcceLPw=="],
1745 1745
1746 "@executor-js/example-all-plugins": ["@executor-js/example-all-plugins@workspace:examples/all-plugins"],1746 "@executor-js/example-all-plugins": ["@executor-js/example-all-plugins@workspace:examples/all-plugins"],
1747 1747
e2e/cloud/member-invite-seat-limit.test.ts+1−8
@@ -29,14 +29,7 @@ const FREE_MEMBER_SEATS = 3; · 28 unmodified lines
29 29
30scenario(30scenario(
31 "Billing · a free org fills its 3 member seats, then invites are blocked with a reason",31 "Billing · a free org fills its 3 member seats, then invites are blocked with a reason",
32 {32 {},
33 // Blocked on @executor-js/emulate 0.9.1: 0.9.0's Autumn emulator omits the
34 // expanded `feature` object on customer balances, so autumn-js's
35 // useCustomer throws customerToFeatures into the app's error boundary on
36 // the org page. Fixed upstream (UsefulSoftwareCo/emulate#8); unskip after
37 // the 0.9.1 publish lands and the e2e dependency is bumped.
38 skip: "emulate 0.9.0's Autumn customer balances lack the expanded feature autumn-js asserts; fixed in 0.9.1 (pending publish)",
39 },
40 Effect.gen(function* () {33 Effect.gen(function* () {
41 // Gate: billing limits are enforced on this target.34 // Gate: billing limits are enforced on this target.
42 yield* Billing;35 yield* Billing;
e2e/package.json+1−1
@@ -22,7 +22,7 @@ · 21 unmodified lines
22 },22 },
23 "dependencies": {23 "dependencies": {
24 "@executor-js/api": "workspace:*",24 "@executor-js/api": "workspace:*",
25 "@executor-js/emulate": "^0.9.0",25 "@executor-js/emulate": "^0.10.0",
26 "@executor-js/mcporter": "^0.11.4",26 "@executor-js/mcporter": "^0.11.4",
27 "@executor-js/plugin-graphql": "workspace:*",27 "@executor-js/plugin-graphql": "workspace:*",
28 "@executor-js/plugin-mcp": "workspace:*",28 "@executor-js/plugin-mcp": "workspace:*",