@salesforcedevs/sfdocs-e2e 1.0.12-e2e-topic-version-4 → 1.0.12-e2e-topic-version-5

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": "1.0.12-e2e-topic-version-4",
3
+ "version": "1.0.12-e2e-topic-version-5",
4
4
  "description": "E2E test suite for SFDocs static portal pages (SSG)",
5
5
  "license": "ISC",
6
6
  "bin": {
@@ -28,6 +28,7 @@ export class ReferencePage extends Page {
28
28
  const versionPicker = await this.getVersionPickerBtn();
29
29
  await versionPicker.click();
30
30
  const versionOptions = await $$('>>>doc-version-picker dx-dropdown-option');
31
+ await versionOptions[1].waitForClickable();
31
32
  await versionOptions[1].click();
32
33
  }
33
34
 
@@ -109,6 +109,8 @@ describe('Reference Versioning', () => {
109
109
  const versionOptions = await $$('>>>doc-version-picker dx-dropdown-option');
110
110
 
111
111
  expect(versionOptions.length).toEqual(2);
112
+ await versionOptions[0].waitForClickable();
113
+ await versionOptions[1].waitForClickable();
112
114
  expect(await (await versionOptions[0].shadow$('div>div')).getText()).toEqual('0.1.3');
113
115
  expect(await (await versionOptions[1].shadow$('div>div')).getText()).toEqual('0.1.2');
114
116
  });
@@ -158,6 +160,8 @@ describe('Reference Versioning', () => {
158
160
  await versionPicker.click();
159
161
 
160
162
  const versionOptions = await $$('>>>doc-version-picker dx-dropdown-option');
163
+
164
+ await versionOptions[1].waitForClickable();
161
165
  const selectedVersionText = await (await versionOptions[1].shadow$('div>div')).getText();
162
166
 
163
167
  await versionOptions[1].click();