@skyramp/skyramp 1.2.28 → 1.2.29

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": "@skyramp/skyramp",
3
- "version": "1.2.28",
3
+ "version": "1.2.29",
4
4
  "description": "module for leveraging skyramp cli functionality",
5
5
  "scripts": {
6
6
  "lint": "eslint 'src/**/*.js' 'src/**/*.ts' --fix",
@@ -676,6 +676,10 @@ class SkyrampPlaywrightPage {
676
676
  });
677
677
  }
678
678
 
679
+ unwrap() {
680
+ return this._page;
681
+ }
682
+
679
683
  pushLocator(locator) {
680
684
  if (this.locators == undefined ) {
681
685
  this.locators = [];
@@ -803,6 +807,9 @@ function expect(obj) {
803
807
  if (obj instanceof SkyrampPlaywrightLocator) {
804
808
  return playwrightExpect(obj.unwrap());
805
809
  }
810
+ if (obj instanceof SkyrampPlaywrightPage) {
811
+ return playwrightExpect(obj.unwrap());
812
+ }
806
813
  return playwrightExpect(obj);
807
814
  }
808
815