@axinom/mosaic-e2e-page-model 0.6.2-rc.1 → 0.6.2-rc.11
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/dist/managed-services/channel-service.js +2 -2
- package/dist/managed-services/monetization-service/monetization-service.d.ts +1 -1
- package/dist/managed-services/monetization-service/monetization-service.js +2 -2
- package/dist/managed-services/video-service.d.ts +1 -1
- package/dist/managed-services/video-service.js +2 -2
- package/dist/sign-in/sign-in-page.d.ts +1 -1
- package/dist/sign-in/sign-in-page.d.ts.map +1 -1
- package/dist/sign-in/sign-in-page.js +1 -1
- package/dist/sign-in/sign-in-page.js.map +1 -1
- package/package.json +3 -3
- package/src/managed-services/channel-service.ts +2 -2
- package/src/managed-services/monetization-service/monetization-service.ts +2 -2
- package/src/managed-services/video-service.ts +2 -2
- package/src/sign-in/sign-in-page.ts +1 -1
|
@@ -19,7 +19,7 @@ class ChannelService extends managed_service_model_1.ManagedServiceModel {
|
|
|
19
19
|
// create channel
|
|
20
20
|
await uiShell.goToNavigationPanelItemByTestIds('channels');
|
|
21
21
|
await uiManagedWorkflows.list.waitForData();
|
|
22
|
-
await uiShell.waitForPageTransition(uiManagedWorkflows.pageHeader.actions.getActionByLabel('
|
|
22
|
+
await uiShell.waitForPageTransition(uiManagedWorkflows.pageHeader.actions.getActionByLabel('New').click());
|
|
23
23
|
await uiManagedWorkflows.form
|
|
24
24
|
.getFieldByLabel('Title')
|
|
25
25
|
.asSingleLineTextField()
|
|
@@ -146,7 +146,7 @@ class ChannelService extends managed_service_model_1.ManagedServiceModel {
|
|
|
146
146
|
});
|
|
147
147
|
await uiShell.waitForPageTransition(uiManagedWorkflows.actions.getActionByLabel('Playlists').click());
|
|
148
148
|
// create playlist
|
|
149
|
-
await uiShell.waitForPageTransition(uiManagedWorkflows.pageHeader.actions.getActionByLabel('
|
|
149
|
+
await uiShell.waitForPageTransition(uiManagedWorkflows.pageHeader.actions.getActionByLabel('New').click());
|
|
150
150
|
await uiManagedWorkflows.form
|
|
151
151
|
.getFieldByLabel('Scheduled Start')
|
|
152
152
|
.asDateTimeField()
|
|
@@ -115,7 +115,7 @@ export declare class MonetizationService extends ManagedServiceModel {
|
|
|
115
115
|
*
|
|
116
116
|
* The following steps will be taken:
|
|
117
117
|
* - Navigate to the home breadcrumb, then tiles: 'Monetization', 'Claim Sets'
|
|
118
|
-
* - Click '
|
|
118
|
+
* - Click 'New', enter the title and key then click 'Proceed'
|
|
119
119
|
* - Wait for the claim set details station to load
|
|
120
120
|
*/
|
|
121
121
|
createClaimSet(properties: {
|
|
@@ -212,13 +212,13 @@ class MonetizationService extends managed_service_model_1.ManagedServiceModel {
|
|
|
212
212
|
*
|
|
213
213
|
* The following steps will be taken:
|
|
214
214
|
* - Navigate to the home breadcrumb, then tiles: 'Monetization', 'Claim Sets'
|
|
215
|
-
* - Click '
|
|
215
|
+
* - Click 'New', enter the title and key then click 'Proceed'
|
|
216
216
|
* - Wait for the claim set details station to load
|
|
217
217
|
*/
|
|
218
218
|
async createClaimSet(properties) {
|
|
219
219
|
const { uiShell, uiManagedWorkflows } = this;
|
|
220
220
|
await this.navigateToClaimSets();
|
|
221
|
-
await uiShell.waitForPageTransition(uiManagedWorkflows.pageHeader.actions.getActionByLabel('
|
|
221
|
+
await uiShell.waitForPageTransition(uiManagedWorkflows.pageHeader.actions.getActionByLabel('New').click());
|
|
222
222
|
await uiManagedWorkflows.form.waitForData();
|
|
223
223
|
await uiManagedWorkflows.form
|
|
224
224
|
.getFieldByName('title')
|
|
@@ -55,7 +55,7 @@ export declare class VideoService extends ManagedServiceModel {
|
|
|
55
55
|
* The following steps will be taken:
|
|
56
56
|
* - Navigate to the home breadcrumb then the 'Settings' tile
|
|
57
57
|
* - Navigate to the 'Video Encoding', 'Processing' tile
|
|
58
|
-
* - Click the '
|
|
58
|
+
* - Click the 'New' action
|
|
59
59
|
* - Enter values for 'Title' and 'Output Format'
|
|
60
60
|
* - Click the 'Proceed' action
|
|
61
61
|
* - Enter the value for 'DRM Protection' (if provided)
|
|
@@ -98,7 +98,7 @@ class VideoService extends managed_service_model_1.ManagedServiceModel {
|
|
|
98
98
|
* The following steps will be taken:
|
|
99
99
|
* - Navigate to the home breadcrumb then the 'Settings' tile
|
|
100
100
|
* - Navigate to the 'Video Encoding', 'Processing' tile
|
|
101
|
-
* - Click the '
|
|
101
|
+
* - Click the 'New' action
|
|
102
102
|
* - Enter values for 'Title' and 'Output Format'
|
|
103
103
|
* - Click the 'Proceed' action
|
|
104
104
|
* - Enter the value for 'DRM Protection' (if provided)
|
|
@@ -109,7 +109,7 @@ class VideoService extends managed_service_model_1.ManagedServiceModel {
|
|
|
109
109
|
await uiShell.goToNavigationPanelItemByTestIds('video-encoding-settings-processing', 'video-encoding-settings');
|
|
110
110
|
await uiManagedWorkflows.list.waitForData();
|
|
111
111
|
// new profile
|
|
112
|
-
await uiShell.waitForPageTransition(uiManagedWorkflows.pageHeader.actions.getActionByLabel('
|
|
112
|
+
await uiShell.waitForPageTransition(uiManagedWorkflows.pageHeader.actions.getActionByLabel('New').click());
|
|
113
113
|
await uiManagedWorkflows.form.waitForData();
|
|
114
114
|
await uiManagedWorkflows.form
|
|
115
115
|
.getFieldByLabel('Title')
|
|
@@ -11,7 +11,7 @@ export declare class SignInPage {
|
|
|
11
11
|
/** The playwright page object. */
|
|
12
12
|
page: Page);
|
|
13
13
|
/** A locator to a message which is displayed when the environment is disabled. */
|
|
14
|
-
readonly
|
|
14
|
+
readonly message: MessageBar;
|
|
15
15
|
/** A locator to the "Sign in with AxAuth" button. */
|
|
16
16
|
readonly axAuthButton: import("playwright-core").Locator;
|
|
17
17
|
/** A locator to the "Sign in with Google" button. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sign-in-page.d.ts","sourceRoot":"","sources":["../../src/sign-in/sign-in-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,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|
this.page = page;
|
|
14
14
|
/** A locator to a message which is displayed when the environment is disabled. */
|
|
15
|
-
this.
|
|
15
|
+
this.message = new mosaic_e2e_ui_selectors_1.MessageBar(this.page, '//*[@data-test-id="message"]');
|
|
16
16
|
/** A locator to the "Sign in with AxAuth" button. */
|
|
17
17
|
this.axAuthButton = this.page.locator('//*[@data-test-id="login-with:AX_AUTH"]');
|
|
18
18
|
/** A locator to the "Sign in with Google" button. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sign-in-page.js","sourceRoot":"","sources":["../../src/sign-in/sign-in-page.ts"],"names":[],"mappings":";;;AAAA,6EAA6D;AAE7D,2EAAmE;AACnE,yEAAkE;AAClE,+EAAwE;AAExE,4CAA4C;AAC5C,MAAa,UAAU;IACrB;IACE,kCAAkC;IAC1B,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;QAGpB,kFAAkF;QACzE,
|
|
1
|
+
{"version":3,"file":"sign-in-page.js","sourceRoot":"","sources":["../../src/sign-in/sign-in-page.ts"],"names":[],"mappings":";;;AAAA,6EAA6D;AAE7D,2EAAmE;AACnE,yEAAkE;AAClE,+EAAwE;AAExE,4CAA4C;AAC5C,MAAa,UAAU;IACrB;IACE,kCAAkC;IAC1B,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;QAGpB,kFAAkF;QACzE,YAAO,GAAG,IAAI,oCAAU,CAAC,IAAI,CAAC,IAAI,EAAE,8BAA8B,CAAC,CAAC;QAE7E,qDAAqD;QAC5C,iBAAY,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CACvC,yCAAyC,CAC1C,CAAC;QAEF,qDAAqD;QAC5C,iBAAY,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CACvC,wCAAwC,CACzC,CAAC;QAEF,wDAAwD;QAC/C,oBAAe,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAC1C,0CAA0C,CAC3C,CAAC;QAEF,0CAA0C;QACjC,eAAU,GAAG,IAAI,gDAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAE1D,0CAA0C;QACjC,eAAU,GAAG,IAAI,+CAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAE1D,6CAA6C;QACpC,kBAAa,GAAG,IAAI,qDAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IA3B7D,CAAC;CA4BL;AAhCD,gCAgCC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-e2e-page-model",
|
|
3
|
-
"version": "0.6.2-rc.
|
|
3
|
+
"version": "0.6.2-rc.11",
|
|
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.5-rc.
|
|
25
|
+
"@axinom/mosaic-e2e-ui-selectors": "^0.5.5-rc.11"
|
|
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": "095178757a7c929d25376adb504388b86c747871"
|
|
39
39
|
}
|
|
@@ -19,7 +19,7 @@ export class ChannelService extends ManagedServiceModel {
|
|
|
19
19
|
await uiShell.goToNavigationPanelItemByTestIds('channels');
|
|
20
20
|
await uiManagedWorkflows.list.waitForData();
|
|
21
21
|
await uiShell.waitForPageTransition(
|
|
22
|
-
uiManagedWorkflows.pageHeader.actions.getActionByLabel('
|
|
22
|
+
uiManagedWorkflows.pageHeader.actions.getActionByLabel('New').click(),
|
|
23
23
|
);
|
|
24
24
|
await uiManagedWorkflows.form
|
|
25
25
|
.getFieldByLabel('Title')
|
|
@@ -181,7 +181,7 @@ export class ChannelService extends ManagedServiceModel {
|
|
|
181
181
|
|
|
182
182
|
// create playlist
|
|
183
183
|
await uiShell.waitForPageTransition(
|
|
184
|
-
uiManagedWorkflows.pageHeader.actions.getActionByLabel('
|
|
184
|
+
uiManagedWorkflows.pageHeader.actions.getActionByLabel('New').click(),
|
|
185
185
|
);
|
|
186
186
|
await uiManagedWorkflows.form
|
|
187
187
|
.getFieldByLabel('Scheduled Start')
|
|
@@ -289,7 +289,7 @@ export class MonetizationService extends ManagedServiceModel {
|
|
|
289
289
|
*
|
|
290
290
|
* The following steps will be taken:
|
|
291
291
|
* - Navigate to the home breadcrumb, then tiles: 'Monetization', 'Claim Sets'
|
|
292
|
-
* - Click '
|
|
292
|
+
* - Click 'New', enter the title and key then click 'Proceed'
|
|
293
293
|
* - Wait for the claim set details station to load
|
|
294
294
|
*/
|
|
295
295
|
async createClaimSet(properties: {
|
|
@@ -302,7 +302,7 @@ export class MonetizationService extends ManagedServiceModel {
|
|
|
302
302
|
await this.navigateToClaimSets();
|
|
303
303
|
|
|
304
304
|
await uiShell.waitForPageTransition(
|
|
305
|
-
uiManagedWorkflows.pageHeader.actions.getActionByLabel('
|
|
305
|
+
uiManagedWorkflows.pageHeader.actions.getActionByLabel('New').click(),
|
|
306
306
|
);
|
|
307
307
|
await uiManagedWorkflows.form.waitForData();
|
|
308
308
|
|
|
@@ -116,7 +116,7 @@ export class VideoService extends ManagedServiceModel {
|
|
|
116
116
|
* The following steps will be taken:
|
|
117
117
|
* - Navigate to the home breadcrumb then the 'Settings' tile
|
|
118
118
|
* - Navigate to the 'Video Encoding', 'Processing' tile
|
|
119
|
-
* - Click the '
|
|
119
|
+
* - Click the 'New' action
|
|
120
120
|
* - Enter values for 'Title' and 'Output Format'
|
|
121
121
|
* - Click the 'Proceed' action
|
|
122
122
|
* - Enter the value for 'DRM Protection' (if provided)
|
|
@@ -139,7 +139,7 @@ export class VideoService extends ManagedServiceModel {
|
|
|
139
139
|
|
|
140
140
|
// new profile
|
|
141
141
|
await uiShell.waitForPageTransition(
|
|
142
|
-
uiManagedWorkflows.pageHeader.actions.getActionByLabel('
|
|
142
|
+
uiManagedWorkflows.pageHeader.actions.getActionByLabel('New').click(),
|
|
143
143
|
);
|
|
144
144
|
await uiManagedWorkflows.form.waitForData();
|
|
145
145
|
await uiManagedWorkflows.form
|
|
@@ -12,7 +12,7 @@ export class SignInPage {
|
|
|
12
12
|
) {}
|
|
13
13
|
|
|
14
14
|
/** A locator to a message which is displayed when the environment is disabled. */
|
|
15
|
-
readonly
|
|
15
|
+
readonly message = new MessageBar(this.page, '//*[@data-test-id="message"]');
|
|
16
16
|
|
|
17
17
|
/** A locator to the "Sign in with AxAuth" button. */
|
|
18
18
|
readonly axAuthButton = this.page.locator(
|