Skip to content

Commit 10ee3d3

Browse files
authored
Issue 305 - Pass through additional path segments and use appver for static apps (#334)
* Add a test to show that iframe appver qs works * Pass additional paths to static app iframes * Remove erroneous --no-paginate * Add static test app * Fix filename * Remove startup-type arg
1 parent c87b3e7 commit 10ee3d3

File tree

17 files changed

+262
-59
lines changed

17 files changed

+262
-59
lines changed

.github/workflows/ci.yml

Lines changed: 41 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ name: CI
55

66
on:
77
push:
8-
branches: [ main ]
8+
branches: [main]
99
paths:
1010
- '**'
1111
- '!**/README.md'
1212
pull_request:
13-
branches: [ main ]
13+
branches: [main]
1414
paths:
1515
- '**'
1616
- '!**/README.md'
@@ -21,6 +21,7 @@ env:
2121
# Set env to prod so we don't get an env suffix on the DNS names
2222
NODE_ENV: ${{ secrets.NODE_ENV }}
2323
DEMO_APP_NAME: demo-app
24+
STATIC_APP_NAME: static-app
2425
NEXTJS_DEMO_APP_NAME: nextjs-demo
2526
RELEASE_APP_NAME: release
2627
AWS_REGION: us-east-2
@@ -101,8 +102,8 @@ jobs:
101102

102103
- name: Optionally Build All TypeScript
103104
if: steps.cache-typescript-build.outputs.cache-hit != 'true'
104-
run: yarn build
105-
105+
run: yarn build
106+
106107
- name: Run Lint
107108
run: yarn lint
108109

@@ -230,17 +231,19 @@ jobs:
230231

231232
- name: Build Edge-to-Origin for Local Deploy
232233
run: yarn esbuild:edge-to-origin
233-
234+
234235
- name: Configure AWS Credentials
235236
uses: aws-actions/configure-aws-credentials@v2
236237
with:
237238
role-session-name: microapps-ghpublic-build
238239
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/builder-writeRole
239240
aws-region: ${{ env.AWS_REGION }}
240241

241-
- name: Stitch Version and Prefix into Simple Demo App
242+
- name: Stitch Version and Prefix into Simple Demo App and Static App
242243
run: |
243-
npx replace-in-file "/\/0\.0\.0/g" ${PREFIX}/${PACKAGE_VERSION} --configFile=.demo-app-replace.config.js --isRegex
244+
npx replace-in-file "/\/0\.0\.0/g" ${PREFIX}/${PACKAGE_VERSION} --configFile=.demo-app-replace.config.js --isRegex
245+
npx replace-in-file "/0\.0\.0/g" ${PACKAGE_VERSION} --configFile=.demo-app-replace.config.js --isRegex
246+
npx replace-in-file "/0\.0\.0/g" ${PACKAGE_VERSION} --configFile=.static-app-replace.config.js --isRegex
244247
245248
- name: Stitch Prefix into Nextjs Demo App
246249
run: |
@@ -307,17 +310,17 @@ jobs:
307310
id: getCDKExports
308311
run: |
309312
echo "prefix="${PREFIX} >> $GITHUB_OUTPUT
310-
echo "edgeDomain="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-edge-domain-name\`].Value" --no-paginate --output text) >> $GITHUB_OUTPUT
311-
echo "EDGE_DOMAIN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-edge-domain-name\`].Value" --no-paginate --output text) >> $GITHUB_ENV
312-
echo "EDGE_TO_ORIGIN_ROLE_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-edge-role-role-arn\`].Value" --no-paginate --output text) >> $GITHUB_ENV
313-
echo "DEPLOYER_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-deployer-func-name\`].Value" --no-paginate --output text) >> $GITHUB_ENV
314-
echo "DEPLOYER_LAMBDA_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-deployer-func-arn\`].Value" --no-paginate --output text) >> $GITHUB_ENV
315-
echo "DEMO_APP_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-demo-app-func-name\`].Value" --no-paginate --output text) >> $GITHUB_ENV
316-
echo "DEMO_APP_LAMBDA_VERSION_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-demo-app-vers-arn\`].Value" --no-paginate --output text) >> $GITHUB_ENV
317-
echo "NEXTJS_DEMO_APP_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-nextjs-demo-app-func-name\`].Value" --no-paginate --output text) >> $GITHUB_ENV
318-
echo "NEXTJS_DEMO_APP_LAMBDA_VERSION_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-nextjs-demo-app-vers-arn\`].Value" --no-paginate --output text) >> $GITHUB_ENV
319-
echo "RELEASE_APP_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-release-app-func-name\`].Value" --no-paginate --output text) >> $GITHUB_ENV
320-
echo "RELEASE_APP_LAMBDA_VERSION_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-release-app-vers-arn\`].Value" --no-paginate --output text) >> $GITHUB_ENV
313+
echo "edgeDomain="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-edge-domain-name\`].Value" --output text) >> $GITHUB_OUTPUT
314+
echo "EDGE_DOMAIN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-edge-domain-name\`].Value" --output text) >> $GITHUB_ENV
315+
echo "EDGE_TO_ORIGIN_ROLE_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-edge-role-role-arn\`].Value" --output text) >> $GITHUB_ENV
316+
echo "DEPLOYER_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-deployer-func-name\`].Value" --output text) >> $GITHUB_ENV
317+
echo "DEPLOYER_LAMBDA_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-deployer-func-arn\`].Value" --output text) >> $GITHUB_ENV
318+
echo "DEMO_APP_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-demo-app-func-name\`].Value" --output text) >> $GITHUB_ENV
319+
echo "DEMO_APP_LAMBDA_VERSION_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-demo-app-vers-arn\`].Value" --output text) >> $GITHUB_ENV
320+
echo "NEXTJS_DEMO_APP_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-nextjs-demo-app-func-name\`].Value" --output text) >> $GITHUB_ENV
321+
echo "NEXTJS_DEMO_APP_LAMBDA_VERSION_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-nextjs-demo-app-vers-arn\`].Value" --output text) >> $GITHUB_ENV
322+
echo "RELEASE_APP_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-release-app-func-name\`].Value" --output text) >> $GITHUB_ENV
323+
echo "RELEASE_APP_LAMBDA_VERSION_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghpublic-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-release-app-vers-arn\`].Value" --output text) >> $GITHUB_ENV
321324
322325
- name: Echo Exports
323326
run: |
@@ -337,6 +340,16 @@ jobs:
337340
--url https://www.pwrdrvr.com \
338341
--overwrite
339342
343+
- name: Publish Static App to Child MicroApps
344+
run: |
345+
npx microapps-publish publish-static \
346+
--app-name ${STATIC_APP_NAME} \
347+
--new-version 0.0.0 \
348+
--deployer-lambda-name ${DEPLOYER_LAMBDA_ARN} \
349+
--static-assets-path packages/static-app/src \
350+
--default-file index.html \
351+
--overwrite
352+
340353
- name: Publish Demo App to MicroApps
341354
run: |
342355
npx microapps-publish publish \
@@ -352,7 +365,7 @@ jobs:
352365
353366
- name: Demo App URL
354367
uses: Sibz/github-status-action@v1
355-
with:
368+
with:
356369
authToken: ${{secrets.GITHUB_TOKEN}}
357370
context: 'Demo App URL on ${{ matrix.deployName }}'
358371
description: 'Passed'
@@ -407,7 +420,7 @@ jobs:
407420
408421
- name: Demo App URL - Root App
409422
uses: Sibz/github-status-action@v1
410-
with:
423+
with:
411424
authToken: ${{secrets.GITHUB_TOKEN}}
412425
context: 'Demo App (Root App) URL on ${{ matrix.deployName }}'
413426
description: 'Passed'
@@ -440,7 +453,7 @@ jobs:
440453
441454
- name: Nextjs Demo App URL
442455
uses: Sibz/github-status-action@v1
443-
with:
456+
with:
444457
authToken: ${{secrets.GITHUB_TOKEN}}
445458
context: 'Nextjs Demo App URL on ${{ matrix.deployName }}'
446459
description: 'Passed'
@@ -472,7 +485,7 @@ jobs:
472485
473486
- name: Release App URL
474487
uses: Sibz/github-status-action@v1
475-
with:
488+
with:
476489
authToken: ${{secrets.GITHUB_TOKEN}}
477490
context: 'Release App URL on ${{ matrix.deployName }}'
478491
description: 'Passed'
@@ -516,10 +529,10 @@ jobs:
516529
if: ${{ matrix.deployName == 'microapps-core' }}
517530
id: getChildCDKExports
518531
run: |
519-
echo "CHILD_DEPLOYER_LAMBDA_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghchild-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-deployer-func-arn\`].Value" --no-paginate --output text) >> $GITHUB_ENV
520-
echo "CHILD_DEMO_APP_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghchild-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-demo-app-func-name\`].Value" --no-paginate --output text) >> $GITHUB_ENV
521-
echo "CHILD_DEMO_APP_LAMBDA_VERSION_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghchild-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-demo-app-vers-arn\`].Value" --no-paginate --output text) >> $GITHUB_ENV
522-
532+
echo "CHILD_DEPLOYER_LAMBDA_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghchild-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-deployer-func-arn\`].Value" --output text) >> $GITHUB_ENV
533+
echo "CHILD_DEMO_APP_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghchild-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-demo-app-func-name\`].Value" --output text) >> $GITHUB_ENV
534+
echo "CHILD_DEMO_APP_LAMBDA_VERSION_ARN="$(aws cloudformation list-exports --query "Exports[?Name==\`${{ matrix.deployName }}-ghchild-${NODE_ENV}${{ needs.build.outputs.prSuffix }}-demo-app-vers-arn\`].Value" --output text) >> $GITHUB_ENV
535+
523536
- name: Echo Exports
524537
if: ${{ matrix.deployName == 'microapps-core' }}
525538
run: |
@@ -637,8 +650,8 @@ jobs:
637650
jq ".compilerOptions += { \"skipLibCheck\": true }" packages/microapps-cdk/tsconfig.jsii.json > packages/microapps-cdk/tsconfig.json
638651
639652
- name: Build All TypeScript
640-
run: yarn build
641-
653+
run: yarn build
654+
642655
- name: Install CDK Construct Deps
643656
working-directory: packages/microapps-cdk/
644657
run: yarn install --frozen-lockfile

.github/workflows/pr-closed.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
if: ${{ matrix.deployName == 'microapps-core' }}
5353
run: |
5454
aws cloudformation delete-stack --stack-name "${{ matrix.deployName }}-ghchild-priv-${NODE_ENV}-pr-${PR_NUMBER}"
55-
aws cloudformation wait stack-delete-complete --no-paginate --output text --stack-name "${{ matrix.deployName }}-ghchild-priv-${NODE_ENV}-pr-${PR_NUMBER}"
55+
aws cloudformation wait stack-delete-complete --output text --stack-name "${{ matrix.deployName }}-ghchild-priv-${NODE_ENV}-pr-${PR_NUMBER}"
5656
5757
#
5858
# Cleanup the Child Deployer, when applicable
@@ -69,7 +69,7 @@ jobs:
6969
if: ${{ matrix.deployName == 'microapps-core' }}
7070
run: |
7171
aws cloudformation delete-stack --stack-name "${{ matrix.deployName }}-ghchild-${NODE_ENV}-pr-${PR_NUMBER}"
72-
aws cloudformation wait stack-delete-complete --no-paginate --output text --stack-name "${{ matrix.deployName }}-ghchild-${NODE_ENV}-pr-${PR_NUMBER}"
72+
aws cloudformation wait stack-delete-complete --output text --stack-name "${{ matrix.deployName }}-ghchild-${NODE_ENV}-pr-${PR_NUMBER}"
7373
7474
#
7575
# Cleanup the Lambda Resource Policy allowing Child Deployer
@@ -85,17 +85,17 @@ jobs:
8585
- name: Destroy Parent CDK Stack
8686
run: |
8787
aws cloudformation delete-stack --stack-name "${{ matrix.deployName }}-ghpublic-${NODE_ENV}-pr-${PR_NUMBER}"
88-
aws cloudformation wait stack-delete-complete --no-paginate --output text --stack-name "${{ matrix.deployName }}-ghpublic-${NODE_ENV}-pr-${PR_NUMBER}"
88+
aws cloudformation wait stack-delete-complete --output text --stack-name "${{ matrix.deployName }}-ghpublic-${NODE_ENV}-pr-${PR_NUMBER}"
8989
9090
# TODO - Need to get the stack name from the parent stack export
9191
# - name: Destroy Parent Edge to Origin Stack
9292
# run: |
9393
# aws cloudformation delete-stack --stack-name "${{ matrix.deployName }}-ghpublic-${NODE_ENV}-pr-${PR_NUMBER}"
94-
# aws cloudformation wait stack-delete-complete --no-paginate --output text --stack-name "${{ matrix.deployName }}-ghpublic-${NODE_ENV}-pr-${PR_NUMBER}"
94+
# aws cloudformation wait stack-delete-complete --output text --stack-name "${{ matrix.deployName }}-ghpublic-${NODE_ENV}-pr-${PR_NUMBER}"
9595

9696
# Example:
9797
# microapps-core-ghpublic-prod-pr-303-edge-role
9898
# - name: Destroy Parent Edge to Origin Stack
9999
# run: |
100100
# aws cloudformation delete-stack --stack-name "${{ matrix.deployName }}-ghpublic-${NODE_ENV}-pr-${PR_NUMBER}-edge-role"
101-
# aws cloudformation wait stack-delete-complete --no-paginate --output text --stack-name "${{ matrix.deployName }}-ghpublic-${NODE_ENV}-pr-${PR_NUMBER}-edge-role"
101+
# aws cloudformation wait stack-delete-complete --output text --stack-name "${{ matrix.deployName }}-ghpublic-${NODE_ENV}-pr-${PR_NUMBER}-edge-role"

.static-app-replace.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// https://www.npmjs.com/package/replace-in-file
2+
module.exports = {
3+
files: 'packages/static-app/src/**/*',
4+
};

deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ npx cdk deploy microapps-core --context @pwrdrvr/microapps:deployReleaseApp=true
1313
RELEASE_APP_PACKAGE_VERSION=$(node -p -e "require('./node_modules/@pwrdrvr/microapps-app-release-cdk/package.json').version")
1414

1515
# Extract Deployer Lambda Name
16-
DEPLOYER_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`microapps-demo-deploy-${NODE_ENV}-deployer-func-name\`].Value" --no-paginate --output text)"
16+
DEPLOYER_LAMBDA_NAME="$(aws cloudformation list-exports --query "Exports[?Name==\`microapps-demo-deploy-${NODE_ENV}-deployer-func-name\`].Value" --output text)"
1717

1818
# Extract Release App Lambda Name
19-
RELEASE_APP_LAMBDA_NAME=$(aws cloudformation list-exports --query "Exports[?Name==\`microapps-demo-deploy-${NODE_ENV}-release-app-func-name\`].Value" --no-paginate --output text)
19+
RELEASE_APP_LAMBDA_NAME=$(aws cloudformation list-exports --query "Exports[?Name==\`microapps-demo-deploy-${NODE_ENV}-release-app-func-name\`].Value" --output text)
2020

2121
# Extract Edge Domain Name
22-
EDGE_DOMAIN=$(aws cloudformation list-exports --query "Exports[?Name==\`microapps-demo-deploy-${NODE_ENV}-edge-domain-name\`].Value" --no-paginate --output text)
22+
EDGE_DOMAIN=$(aws cloudformation list-exports --query "Exports[?Name==\`microapps-demo-deploy-${NODE_ENV}-edge-domain-name\`].Value" --output text)
2323

2424
# Deploy the Release App
2525
npx microapps-publish publish --app-name release --new-version ${RELEASE_APP_PACKAGE_VERSION} --deployer-lambda-name ${DEPLOYER_LAMBDA_NAME} --app-lambda-name ${RELEASE_APP_LAMBDA_NAME} --static-assets-path node_modules/@pwrdrvr/microapps-app-release-cdk/lib/static_files/release/${RELEASE_APP_PACKAGE_VERSION}/ --overwrite --no-cache
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
46
<title>Demo App</title>
57
</head>
68

79
<body>
810
<div>`file.html`</div>
11+
<div>Version: 0.0.0</div>
912
</body>
1013
</html>

packages/demo-app/static_files/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
46
<title>Demo App</title>
57
</head>
68

79
<body>
810
<div>This is a simple demo app</div>
11+
<div>Version: 0.0.0</div>
912
<div>
1013
<button
1114
onclick="fetch(`serverIncrement?currValue=${document.getElementById('output').innerText}`).then((response) => response.json()).then((data) => {document.getElementById('output').innerText = data.newValue })"

packages/microapps-edge-to-origin/src/index.route.root.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ describe('edge-to-origin - routing - without prefix', () => {
15521552
});
15531553
});
15541554

1555-
it('static app - request to [root]/notVersion should load app frame with defaultFile', async () => {
1555+
it('static app - request to [root]/notVersion should load app frame with notVersion suffix', async () => {
15561556
return jest.isolateModulesAsync(async () => {
15571557
const { Config } = await import('./config/config');
15581558

@@ -1624,7 +1624,7 @@ describe('edge-to-origin - routing - without prefix', () => {
16241624
expect(responseResponse).toHaveProperty('body');
16251625
expect(responseResponse.headers).not.toHaveProperty('location');
16261626
expect(responseResponse.body?.length).toBeGreaterThan(80);
1627-
expect(responseResponse.body).toContain('<iframe src="/3.2.1-beta.1/bat.html" seamless');
1627+
expect(responseResponse.body).toContain('<iframe src="/3.2.1-beta.1/notVersion" seamless');
16281628
});
16291629
});
16301630

packages/microapps-edge-to-origin/src/index.route.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ describe('edge-to-origin - routing - without prefix', () => {
16311631
expect(responseResponse.headers?.location[0].value).toBe('/bat/3.2.1-beta.3/bat.html');
16321632
});
16331633

1634-
it('static app - request to app/notVersion should load app frame with defaultFile', async () => {
1634+
it('static app - request to app/notVersion should load app frame with notVersion suffix', async () => {
16351635
const AppName = 'BatAppNotVersion';
16361636
const app = new Application({
16371637
AppName,
@@ -1690,7 +1690,7 @@ describe('edge-to-origin - routing - without prefix', () => {
16901690
expect(responseResponse.headers).not.toHaveProperty('location');
16911691
expect(responseResponse.body?.length).toBeGreaterThan(80);
16921692
expect(responseResponse.body).toContain(
1693-
`<iframe src="/${AppName}/3.2.1-beta.1/bat.html" seamless`,
1693+
`<iframe src="/${AppName}/3.2.1-beta.1/notVersion" seamless`,
16941694
);
16951695
});
16961696

0 commit comments

Comments
 (0)