@axinom/mosaic-e2e-page-model 0.6.16-rc.4 → 0.6.16-rc.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sign-in-with-microsoft-form.d.ts","sourceRoot":"","sources":["../../src/sign-in/sign-in-with-microsoft-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,6CAA6C;AAC7C,qBAAa,uBAAwB,SAAQ,cAAc;gBAC7C,IAAI,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"sign-in-with-microsoft-form.d.ts","sourceRoot":"","sources":["../../src/sign-in/sign-in-with-microsoft-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,6CAA6C;AAC7C,qBAAa,uBAAwB,SAAQ,cAAc;gBAC7C,IAAI,EAAE,IAAI;IAStB,kEAAkE;IAClE,QAAQ,CAAC,YAAY,oCAEnB;IAEF;;;;;;;;;;OAUG;IACG,YAAY,CAAC,WAAW,EAAE;QAC9B,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,GAAG,OAAO,CAAC,IAAI,CAAC;CAmClB"}
|
|
@@ -7,7 +7,7 @@ class SignInWithMicrosoftForm extends mosaic_e2e_ui_selectors_1.ComponentModel {
|
|
|
7
7
|
constructor(page) {
|
|
8
8
|
// Base xpath for all selectors on this page.
|
|
9
9
|
// We look for a form which has an image with alt=Microsoft
|
|
10
|
-
super(page, '//form[
|
|
10
|
+
super(page, '//form[contains(@action, "https://login.microsoftonline.com/")]');
|
|
11
11
|
/** A locator to a message displayed on authentication failure. */
|
|
12
12
|
this.errorMessage = this.getLocator('//*[@id="usernameError" or @id="passwordError"]');
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sign-in-with-microsoft-form.js","sourceRoot":"","sources":["../../src/sign-in/sign-in-with-microsoft-form.ts"],"names":[],"mappings":";;;AAAA,6EAAiE;AAGjE,6CAA6C;AAC7C,MAAa,uBAAwB,SAAQ,wCAAc;IACzD,YAAY,IAAU;QACpB,6CAA6C;QAC7C,2DAA2D;QAC3D,KAAK,
|
|
1
|
+
{"version":3,"file":"sign-in-with-microsoft-form.js","sourceRoot":"","sources":["../../src/sign-in/sign-in-with-microsoft-form.ts"],"names":[],"mappings":";;;AAAA,6EAAiE;AAGjE,6CAA6C;AAC7C,MAAa,uBAAwB,SAAQ,wCAAc;IACzD,YAAY,IAAU;QACpB,6CAA6C;QAC7C,2DAA2D;QAC3D,KAAK,CACH,IAAI,EACJ,iEAAiE,CAClE,CAAC;QAGJ,kEAAkE;QACzD,iBAAY,GAAG,IAAI,CAAC,UAAU,CACrC,iDAAiD,CAClD,CAAC;IALF,CAAC;IAOD;;;;;;;;;;OAUG;IACH,KAAK,CAAC,YAAY,CAAC,WAGlB;QACC,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC;QACnE,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC;QAC1D,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;QACjE,MAAM,YAAY,GAAG,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC;QAElE,0HAA0H;QAC1H,yEAAyE;QACzE,8EAA8E;QAC9E,MAAM,cAAc,GAAG,IAAI,CAAC,UAAU,CACpC,kDAAkD,CACnD,CAAC;QAEF,iBAAiB;QACjB,MAAM,aAAa,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;QAClD,MAAM,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAC/C,MAAM,OAAO,CAAC,KAAK,EAAE,CAAC;QACtB,IAAI;YACF,MAAM,YAAY,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;SAClD;QAAC,OAAO,CAAC,EAAE;YACV,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;SAClC;QAED,iBAAiB;QACjB,MAAM,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAC/C,MAAM,YAAY,CAAC,KAAK,EAAE,CAAC;QAC3B,IAAI;YACF,cAAc,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;YAC7C,MAAM,cAAc,CAAC,KAAK,EAAE,CAAC;SAC9B;QAAC,OAAO,CAAC,EAAE;YACV,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;SAClC;QAED,MAAM,cAAc,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;IACtD,CAAC;CACF;AAhED,0DAgEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-e2e-page-model",
|
|
3
|
-
"version": "0.6.16-rc.
|
|
3
|
+
"version": "0.6.16-rc.6",
|
|
4
4
|
"description": "A page model for testing an Axinom Mosaic Management System with Playwright.",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dev": "tsc -w"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@axinom/mosaic-e2e-ui-selectors": "^0.5.19-rc.
|
|
25
|
+
"@axinom/mosaic-e2e-ui-selectors": "^0.5.19-rc.6"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^18.11.18",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "c10ba8eced3aa5f52d811f1066cafa66b3663fdc"
|
|
39
39
|
}
|
|
@@ -6,7 +6,10 @@ export class SignInWithMicrosoftForm extends ComponentModel {
|
|
|
6
6
|
constructor(page: Page) {
|
|
7
7
|
// Base xpath for all selectors on this page.
|
|
8
8
|
// We look for a form which has an image with alt=Microsoft
|
|
9
|
-
super(
|
|
9
|
+
super(
|
|
10
|
+
page,
|
|
11
|
+
'//form[contains(@action, "https://login.microsoftonline.com/")]',
|
|
12
|
+
);
|
|
10
13
|
}
|
|
11
14
|
|
|
12
15
|
/** A locator to a message displayed on authentication failure. */
|