@lwrjs/router 0.10.0-alpha.10 → 0.10.0-alpha.12

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
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.10.0-alpha.10",
8
+ "version": "0.10.0-alpha.12",
9
9
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
10
10
  "repository": {
11
11
  "type": "git",
@@ -48,9 +48,9 @@
48
48
  "utam:compile": "utam -c utam.config.cjs -t module"
49
49
  },
50
50
  "dependencies": {
51
- "@lwrjs/client-modules": "0.10.0-alpha.10",
52
- "@lwrjs/diagnostics": "0.10.0-alpha.10",
53
- "@lwrjs/shared-utils": "0.10.0-alpha.10",
51
+ "@lwrjs/client-modules": "0.10.0-alpha.12",
52
+ "@lwrjs/diagnostics": "0.10.0-alpha.12",
53
+ "@lwrjs/shared-utils": "0.10.0-alpha.12",
54
54
  "ajv": "6.12.6"
55
55
  },
56
56
  "devDependencies": {
@@ -84,5 +84,5 @@
84
84
  "volta": {
85
85
  "extends": "../../../package.json"
86
86
  },
87
- "gitHead": "81dd6125be1023415344b59c4dcd977c8dbaf7f5"
87
+ "gitHead": "c280f6e4914d67a58cb18a52d2320824c8ed4a7b"
88
88
  }
@@ -35,10 +35,13 @@ class Outlet extends core.UtamBaseRootPageObject {
35
35
  return element;
36
36
  }
37
37
 
38
+ /**
39
+ * Waits for the component inside the outlet to be available.
40
+ */
38
41
  async waitForOutletContent() {
39
42
  await this.waitFor(async () => {
40
43
  const _statement0 = await this.__getRoot();
41
- const _result0 = await _statement0.containsElement(core.By.css("lwr-dynamic"), true);
44
+ const _result0 = await _statement0.containsElement(core.By.css("lwr-dynamic"), false);
42
45
  return _result0;
43
46
  });
44
47
  return this;
@@ -9,6 +9,9 @@ import { Driver as _Driver, Element as _Element, Locator as _Locator, ContainerC
9
9
  */
10
10
  export default class Outlet extends _UtamBaseRootPageObject {
11
11
  constructor(driver: _Driver, element?: _Element, locator?: _Locator);
12
+ /**
13
+ * Waits for the component inside the outlet to be available.
14
+ */
12
15
  waitForOutletContent(): Promise<this>;
13
16
  getContent<T extends _UtamBasePageObject>(ContainerCtor: _ContainerCtor<T>): Promise<T>;
14
17
  }
@@ -33,10 +33,13 @@ export default class Outlet extends _UtamBaseRootPageObject {
33
33
  return element;
34
34
  }
35
35
 
36
+ /**
37
+ * Waits for the component inside the outlet to be available.
38
+ */
36
39
  async waitForOutletContent() {
37
40
  await this.waitFor(async () => {
38
41
  const _statement0 = await this.__getRoot();
39
- const _result0 = await _statement0.containsElement(_By.css("lwr-dynamic"), true);
42
+ const _result0 = await _statement0.containsElement(_By.css("lwr-dynamic"), false);
40
43
  return _result0;
41
44
  });
42
45
  return this;