itemengine-cypress-automation 1.0.283 → 1.0.284-IEI-4866-bc2c255.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
- // Command for execution - npx cypress run --headed --browser chrome --env fileConfig=ilqa,assetVersion=1.0.409,CKEditorVersion=4.14.0.98 --spec "cypress\e2e\Gzip\gzip.js"
2
- //assetVersion, CKEditorVersion should be updated according to the current version
1
+ // Command for execution - npx cypress run --headed --browser chrome --env fileConfig=ilqa,assetVersion=1.0.409,environment=qa --spec "cypress\e2e\Gzip\gzip.js"
2
+ //assetVersion, environment should be updated according to the current version
3
3
 
4
4
  const assetVersion = Cypress.env('assetVersion');
5
- const CKEditorVersion = Cypress.env('CKEditorVersion');
5
+ const environment = Cypress.env('environment');
6
6
 
7
7
  describe('Assets GZIP compression', () => {
8
8
  before(() => {
@@ -91,21 +91,21 @@ describe('CKEditor GZIP compression', () => {
91
91
  });
92
92
 
93
93
  it('Verifying ngckeditor/ngckeditor.js gzip', () => {
94
- steps.verifyGzipCompression(`https://media.wne-cdn.com/static/itemengine-ckeditor/${CKEditorVersion}/ngckeditor/ngckeditor.js`);
94
+ steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/ngckeditor.js`);
95
95
  });
96
96
 
97
97
  //.css
98
98
  it('Verifying custom_item_engine.css gzip', () => {
99
- steps.verifyGzipCompression(`https://media.wne-cdn.com/static/itemengine-ckeditor/${CKEditorVersion}/ngckeditor/css/custom_item_engine.css`)
99
+ steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/css/custom_item_engine.css`)
100
100
  });
101
101
 
102
102
  //externalPlugins
103
103
  it('Verifying externalPlugins/nextGenEqnEditor/plugin.js gzip', () => {
104
- steps.verifyGzipCompression(`https://media.wne-cdn.com/static/itemengine-ckeditor/${CKEditorVersion}/ngckeditor/externalPlugins/nextGenEqnEditor/plugin.js`)
104
+ steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/externalPlugins/nextGenEqnEditor/plugin.js`)
105
105
  });
106
106
 
107
107
  it('Verifying externalPlugins/nextGenAudioPlayer/plugin.js gzip', () => {
108
- steps.verifyGzipCompression(`https://media.wne-cdn.com/static/itemengine-ckeditor/${CKEditorVersion}/ngckeditor/externalPlugins/nextGenAudioPlayer/plugin.js`)
108
+ steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/externalPlugins/nextGenAudioPlayer/plugin.js`)
109
109
  });
110
110
  });
111
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.283",
3
+ "version": "1.0.284-IEI-4866-bc2c255.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {