Loading test/cypress/integration/tests/meep-settings-spec.js +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ describe('MEEP Settings', function() { beforeEach(() => { var meepUrl = Cypress.env('meep_url'); if (meepUrl == null) { meepUrl = 'http://127.0.0.1:30000'; meepUrl = 'http://127.0.0.1'; } cy.viewport(1920, 1080); Loading test/cypress/integration/tests/scenario-cfg-spec.js +1 −1 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ describe('Scenario Configuration', function () { beforeEach(() => { var meepUrl = Cypress.env('meep_url'); if (meepUrl == null) { meepUrl = 'http://127.0.0.1:30000'; meepUrl = 'http://127.0.0.1'; } cy.viewport(1920, 1080); Loading test/cypress/integration/tests/scenario-exec-spec-mob-event-demo-app.js +27 −18 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ describe('Scenario Execution', function () { let scenario = 'demo1'; openDefaultMeepUrl(""); openDefaultMeepUrl(); // Deploy demo scenario deployScenario(scenario); Loading @@ -96,7 +96,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Already deployed scenario Loading @@ -108,7 +108,7 @@ describe('Scenario Execution', function () { // Demo1 scenario testing mobility event #2 it('DEMO1 scenario - mobility event #2', function () { openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -120,7 +120,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Test events validateDemoAppFrontEndUpdateOnMobilityEvent('ue1', 'zone2-poa1'); Loading @@ -130,7 +130,7 @@ describe('Scenario Execution', function () { // Demo1 scenario testing mobility event #3 it('DEMO1 scenario - mobility event #3', function () { openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -142,7 +142,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Test events validateDemoAppFrontEndUpdateOnMobilityEvent('ue1', 'zone1-poa1'); Loading @@ -152,7 +152,7 @@ describe('Scenario Execution', function () { // Demo1 scenario testing mobility event #4 it('DEMO1 scenario - mobility event #4', function () { openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -164,7 +164,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Test events validateDemoAppFrontEndUpdateOnMobilityEvent('ue2-ext', 'zone1-poa2'); Loading @@ -174,7 +174,7 @@ describe('Scenario Execution', function () { // Demo1 scenario testing mobility event #5 it('DEMO1 scenario - mobility event #5', function () { openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -186,7 +186,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Test events validateDemoAppFrontEndUpdateOnMobilityEvent('ue2-ext', 'zone2-poa1'); Loading @@ -196,7 +196,7 @@ describe('Scenario Execution', function () { // Demo1 scenario testing mobility event #6 it('DEMO1 scenario - mobility event #6', function () { openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -208,7 +208,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Test events validateDemoAppFrontEndUpdateOnMobilityEvent('ue2-ext', 'zone1-poa1'); Loading @@ -220,7 +220,7 @@ describe('Scenario Execution', function () { let scenario = 'demo1'; openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -234,13 +234,10 @@ describe('Scenario Execution', function () { // ------------------------------ // Opens the default meepUrl page function openDefaultMeepUrl(port) { function openDefaultMeepUrl() { var meepUrl = Cypress.env('meep_url'); if (meepUrl == null) { meepUrl = 'http://127.0.0.1:30000'; } if (port != "") { meepUrl = meepUrl.replace("30000", port); meepUrl = 'http://127.0.0.1'; } cy.viewport(1920, 1080); Loading @@ -248,6 +245,18 @@ describe('Scenario Execution', function () { cy.wait(1000); } // Opens the demo frontend page function openDemoUrl() { var demoUrl = Cypress.env('demo_url'); if (demoUrl == null) { demoUrl = 'http://127.0.0.1:31111'; } cy.viewport(1920, 1080); cy.visit(demoUrl); cy.wait(1000); } // Deploy scenario with provided name function deployScenario(name) { // Go to execution page Loading test/cypress/integration/tests/scenario-exec-spec.js +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ describe('Scenario Execution', function () { beforeEach(() => { var meepUrl = Cypress.env('meep_url'); if (meepUrl == null) { meepUrl = 'http://127.0.0.1:30000'; meepUrl = 'http://127.0.0.1'; } cy.viewport(1920, 1080); Loading test/cypress/integration/tests/scenario-monitor-spec.js +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ describe('Scenario Monitoring', function() { beforeEach(() => { var meepUrl = Cypress.env('meep_url'); if (meepUrl == null) { meepUrl = 'http://127.0.0.1:30000'; meepUrl = 'http://127.0.0.1'; } cy.viewport(1920, 1080); Loading Loading
test/cypress/integration/tests/meep-settings-spec.js +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ describe('MEEP Settings', function() { beforeEach(() => { var meepUrl = Cypress.env('meep_url'); if (meepUrl == null) { meepUrl = 'http://127.0.0.1:30000'; meepUrl = 'http://127.0.0.1'; } cy.viewport(1920, 1080); Loading
test/cypress/integration/tests/scenario-cfg-spec.js +1 −1 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ describe('Scenario Configuration', function () { beforeEach(() => { var meepUrl = Cypress.env('meep_url'); if (meepUrl == null) { meepUrl = 'http://127.0.0.1:30000'; meepUrl = 'http://127.0.0.1'; } cy.viewport(1920, 1080); Loading
test/cypress/integration/tests/scenario-exec-spec-mob-event-demo-app.js +27 −18 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ describe('Scenario Execution', function () { let scenario = 'demo1'; openDefaultMeepUrl(""); openDefaultMeepUrl(); // Deploy demo scenario deployScenario(scenario); Loading @@ -96,7 +96,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Already deployed scenario Loading @@ -108,7 +108,7 @@ describe('Scenario Execution', function () { // Demo1 scenario testing mobility event #2 it('DEMO1 scenario - mobility event #2', function () { openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -120,7 +120,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Test events validateDemoAppFrontEndUpdateOnMobilityEvent('ue1', 'zone2-poa1'); Loading @@ -130,7 +130,7 @@ describe('Scenario Execution', function () { // Demo1 scenario testing mobility event #3 it('DEMO1 scenario - mobility event #3', function () { openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -142,7 +142,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Test events validateDemoAppFrontEndUpdateOnMobilityEvent('ue1', 'zone1-poa1'); Loading @@ -152,7 +152,7 @@ describe('Scenario Execution', function () { // Demo1 scenario testing mobility event #4 it('DEMO1 scenario - mobility event #4', function () { openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -164,7 +164,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Test events validateDemoAppFrontEndUpdateOnMobilityEvent('ue2-ext', 'zone1-poa2'); Loading @@ -174,7 +174,7 @@ describe('Scenario Execution', function () { // Demo1 scenario testing mobility event #5 it('DEMO1 scenario - mobility event #5', function () { openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -186,7 +186,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Test events validateDemoAppFrontEndUpdateOnMobilityEvent('ue2-ext', 'zone2-poa1'); Loading @@ -196,7 +196,7 @@ describe('Scenario Execution', function () { // Demo1 scenario testing mobility event #6 it('DEMO1 scenario - mobility event #6', function () { openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -208,7 +208,7 @@ describe('Scenario Execution', function () { it('DEMO1 scenario - validate mobility event in demo-app frontend', function () { cy.wait(2000); openDefaultMeepUrl("31111"); openDemoUrl(); // Test events validateDemoAppFrontEndUpdateOnMobilityEvent('ue2-ext', 'zone1-poa1'); Loading @@ -220,7 +220,7 @@ describe('Scenario Execution', function () { let scenario = 'demo1'; openDefaultMeepUrl(""); openDefaultMeepUrl(); click(meep.MEEP_TAB_EXEC); // Test events Loading @@ -234,13 +234,10 @@ describe('Scenario Execution', function () { // ------------------------------ // Opens the default meepUrl page function openDefaultMeepUrl(port) { function openDefaultMeepUrl() { var meepUrl = Cypress.env('meep_url'); if (meepUrl == null) { meepUrl = 'http://127.0.0.1:30000'; } if (port != "") { meepUrl = meepUrl.replace("30000", port); meepUrl = 'http://127.0.0.1'; } cy.viewport(1920, 1080); Loading @@ -248,6 +245,18 @@ describe('Scenario Execution', function () { cy.wait(1000); } // Opens the demo frontend page function openDemoUrl() { var demoUrl = Cypress.env('demo_url'); if (demoUrl == null) { demoUrl = 'http://127.0.0.1:31111'; } cy.viewport(1920, 1080); cy.visit(demoUrl); cy.wait(1000); } // Deploy scenario with provided name function deployScenario(name) { // Go to execution page Loading
test/cypress/integration/tests/scenario-exec-spec.js +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ describe('Scenario Execution', function () { beforeEach(() => { var meepUrl = Cypress.env('meep_url'); if (meepUrl == null) { meepUrl = 'http://127.0.0.1:30000'; meepUrl = 'http://127.0.0.1'; } cy.viewport(1920, 1080); Loading
test/cypress/integration/tests/scenario-monitor-spec.js +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ describe('Scenario Monitoring', function() { beforeEach(() => { var meepUrl = Cypress.env('meep_url'); if (meepUrl == null) { meepUrl = 'http://127.0.0.1:30000'; meepUrl = 'http://127.0.0.1'; } cy.viewport(1920, 1080); Loading