@salesforcedevs/sfdocs-e2e 0.6.132-ssglinkfix-alpha2 → 0.6.132-ssglinkfix-alpha4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/sfdocs-e2e",
|
|
3
|
-
"version": "0.6.132-ssglinkfix-
|
|
3
|
+
"version": "0.6.132-ssglinkfix-alpha4",
|
|
4
4
|
"description": "E2E test suite for SFDocs static portal pages (SSG)",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"bin": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/mocha": "^10.0.1"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "a5b3ea84c1ab8983011361608c2773785ddca844"
|
|
40
40
|
}
|
|
@@ -165,7 +165,8 @@ describe('Reference Versioning', () => {
|
|
|
165
165
|
referencePage.open();
|
|
166
166
|
await referencePage.waitForMarkdownBasedReferencePageLoad();
|
|
167
167
|
|
|
168
|
-
const title = await $('
|
|
168
|
+
const title = await $('h1');
|
|
169
|
+
await title.waitForDisplayed({ timeout: referencePage.REFERENCE_LOAD_WAIT_TIME });
|
|
169
170
|
const titleText = await title.getText();
|
|
170
171
|
|
|
171
172
|
expect(titleText).toEqual('Overview');
|
|
@@ -179,6 +180,7 @@ describe('Reference Versioning', () => {
|
|
|
179
180
|
|
|
180
181
|
await referencePage.waitForSpecBasedReferencePageLoad();
|
|
181
182
|
await referencePage.selectVersion();
|
|
183
|
+
await referencePage.waitForSpecBasedReferencePageLoad();
|
|
182
184
|
|
|
183
185
|
const container = await $('>>>div.title-area div');
|
|
184
186
|
const apiTitle = await container.getText();
|