From e17fb62e6f03aabaeba6d4947fcbcc357c0ffd89 Mon Sep 17 00:00:00 2001 From: ismail Date: Tue, 23 Apr 2024 20:16:40 +0200 Subject: [PATCH] Changes to be committed: --- .github/workflows/openvidu-angular-tutorial.yml | 2 +- .github/workflows/openvidu-getaroom-tutorial.yml | 7 +++---- .github/workflows/openvidu-react-tutorial.yml | 2 +- .github/workflows/openvidu-recording-java-tutorial.yml | 4 ++-- .github/workflows/openvidu-recording-node-tutorial.yml | 4 ++-- tests/openvidu-recording-node-tutorial.spec.js | 2 +- 6 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/openvidu-angular-tutorial.yml b/.github/workflows/openvidu-angular-tutorial.yml index d28c9604..180ffb06 100644 --- a/.github/workflows/openvidu-angular-tutorial.yml +++ b/.github/workflows/openvidu-angular-tutorial.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4.0.0 with: - node-version: '18.13' + node-version: '16' - name: Install Angular CLI run: npm install -g @angular/cli diff --git a/.github/workflows/openvidu-getaroom-tutorial.yml b/.github/workflows/openvidu-getaroom-tutorial.yml index 63e6cd95..9c336ee5 100644 --- a/.github/workflows/openvidu-getaroom-tutorial.yml +++ b/.github/workflows/openvidu-getaroom-tutorial.yml @@ -1,7 +1,6 @@ -name: openvidu-getaroom-tutorial-test +name: nombre_del_tutorial on: - push: @@ -21,13 +20,13 @@ jobs: working-directory: openvidu-basic-node run: | npm install - node index.js > ../results/logs/nodeindex_log.txt 2>&1 & + node index.js > ../results/logs/server_aplication.log 2>&1 & sleep 5 - name: Run the client application tutorial run: | sudo npm install --location=global http-server - http-server openvidu-getaroom/web > results/logs/http_server_log.txt 2>&1 & + http-server openvidu-getaroom/web > results/logs/client_aplication.log 2>&1 & sleep 5 - name: Install dependencies diff --git a/.github/workflows/openvidu-react-tutorial.yml b/.github/workflows/openvidu-react-tutorial.yml index ed71c0a9..68219797 100644 --- a/.github/workflows/openvidu-react-tutorial.yml +++ b/.github/workflows/openvidu-react-tutorial.yml @@ -31,7 +31,7 @@ jobs: working-directory: openvidu-react run: | npm install - npm start > results/logs/client_aplication.log 2>&1 & + npm start > ../results/logs/client_aplication.log 2>&1 & - name: Install dependencies run: npm ci diff --git a/.github/workflows/openvidu-recording-java-tutorial.yml b/.github/workflows/openvidu-recording-java-tutorial.yml index 5fe1e8a2..6107d8de 100644 --- a/.github/workflows/openvidu-recording-java-tutorial.yml +++ b/.github/workflows/openvidu-recording-java-tutorial.yml @@ -36,10 +36,10 @@ jobs: java-version: '11' - - name: Run server application sample + - name: Run server and client application sample working-directory: openvidu-recording-java run: | - mvn package exec:java > ../results/logs/server_aplication.log 2>&1 & + mvn package exec:java > ../results/logs/server_client_aplication.log 2>&1 & sleep 10 - name: Install dependencies diff --git a/.github/workflows/openvidu-recording-node-tutorial.yml b/.github/workflows/openvidu-recording-node-tutorial.yml index 7a97b8d1..440c9f32 100644 --- a/.github/workflows/openvidu-recording-node-tutorial.yml +++ b/.github/workflows/openvidu-recording-node-tutorial.yml @@ -30,11 +30,11 @@ jobs: - uses: actions/setup-node@v4.0.0 - - name: Ejecutar la aplicaciĆ³n del servidor + - name: Ejecutar la aplicaciĆ³n del servidor y de cliente run: | cd openvidu-recording-node sudo npm install - sudo node server.js http://localhost:4443 MY_SECRET > ../results/logs/server_aplication.log 2>&1 & + sudo node server.js http://localhost:4443 MY_SECRET > ../results/logs/server_client_aplication.log 2>&1 & sleep 10 - name: Install dependencies diff --git a/tests/openvidu-recording-node-tutorial.spec.js b/tests/openvidu-recording-node-tutorial.spec.js index ffb7df57..dacedca0 100644 --- a/tests/openvidu-recording-node-tutorial.spec.js +++ b/tests/openvidu-recording-node-tutorial.spec.js @@ -25,7 +25,7 @@ test('Checking for the presence of two active webcams in an OpenVidu session', a try { // Navigate to a specific URL on the first page. - await page1.goto('http://localhost:5000'); + await page1.goto('https://localhost:5000'); // Perform actions on the first page. await page1.click('button.btn-success');