@salesforcedevs/sfdocs-e2e 1.0.0-alpha.11 → 1.0.0-link-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/publish.sh +2 -5
- package/package.json +1 -1
- package/static-portal-wdio.conf.js +7 -0
package/bin/publish.sh
CHANGED
|
@@ -3,6 +3,7 @@ set -euo pipefail
|
|
|
3
3
|
|
|
4
4
|
VERSION="${1:?Usage: publish.sh <version> [--tag <tag>]}"
|
|
5
5
|
shift
|
|
6
|
+
TAG_ARGS=("$@")
|
|
6
7
|
|
|
7
8
|
cp package.json .package.json.bak
|
|
8
9
|
|
|
@@ -24,8 +25,4 @@ node -e "
|
|
|
24
25
|
require('fs').writeFileSync('package.json', JSON.stringify(p, null, 2) + '\n');
|
|
25
26
|
"
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
yarn publish --new-version "$VERSION" "$@"
|
|
29
|
-
else
|
|
30
|
-
yarn publish --new-version "$VERSION"
|
|
31
|
-
fi
|
|
28
|
+
yarn publish --new-version "$VERSION" "${TAG_ARGS[@]}"
|
package/package.json
CHANGED
|
@@ -24,6 +24,13 @@ exports.config = {
|
|
|
24
24
|
'./src/portal/specs/docs.test.ts',
|
|
25
25
|
],
|
|
26
26
|
|
|
27
|
+
// Skip footer tests - footer is not available in static builds
|
|
28
|
+
mochaOpts: {
|
|
29
|
+
...BASE_CONFIG.config.mochaOpts,
|
|
30
|
+
grep: 'should display footer',
|
|
31
|
+
invert: true,
|
|
32
|
+
},
|
|
33
|
+
|
|
27
34
|
// Output directory for static test results
|
|
28
35
|
outputDir: './_results_/static-portal',
|
|
29
36
|
|