@axinom/mosaic-e2e-page-model 0.6.2-rc.6 → 0.6.2-rc.8

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.
@@ -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('NEW').click());
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('NEW').click());
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 'NEW', enter the title and key then click 'Proceed'
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 'NEW', enter the title and key then click 'Proceed'
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('NEW').click());
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 'NEW' action
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 'NEW' action
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('NEW').click());
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')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-e2e-page-model",
3
- "version": "0.6.2-rc.6",
3
+ "version": "0.6.2-rc.8",
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.6"
25
+ "@axinom/mosaic-e2e-ui-selectors": "^0.5.5-rc.8"
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": "74d5beb1f52524eeb99240de2b429e0815f37075"
38
+ "gitHead": "33ed64c3ee617088aac1f64d0c4063f99ba26fdd"
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('NEW').click(),
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('NEW').click(),
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 'NEW', enter the title and key then click 'Proceed'
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('NEW').click(),
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 'NEW' action
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('NEW').click(),
142
+ uiManagedWorkflows.pageHeader.actions.getActionByLabel('New').click(),
143
143
  );
144
144
  await uiManagedWorkflows.form.waitForData();
145
145
  await uiManagedWorkflows.form