diff --git a/.github/workflows/end_to_end_tests.yml b/.github/workflows/end_to_end_tests.yml index 8f0e679f..bd9a7f47 100644 --- a/.github/workflows/end_to_end_tests.yml +++ b/.github/workflows/end_to_end_tests.yml @@ -30,16 +30,16 @@ jobs: run: docker-compose up -d - name: "Wait for environment to build (and downloading testcafe image)" - run: (docker-compose -f docker-compose.testcafe.yml pull &) && docker-compose logs -f --tail=0 front | grep -m 1 "Compiled successfully" + run: (docker-compose -f docker-compose.testcafe.yml pull &) && docker-compose logs -f --tail=0 front | grep -q "Compiled successfully" - name: "temp debug: display logs" run: docker-compose logs - name: "Wait for back start" - run: docker-compose logs -f back | grep -m 1 "WorkAdventure HTTP API starting on port" + run: docker-compose logs -f back | grep -q "WorkAdventure HTTP API starting on port" - name: "Wait for pusher start" - run: docker-compose logs -f pusher | grep -m 1 "WorkAdventure starting on port" + run: docker-compose logs -f pusher | grep -q "WorkAdventure starting on port" - name: "Run tests" run: docker-compose -f docker-compose.testcafe.yml up --exit-code-from testcafe diff --git a/back/src/Services/Logger.ts b/back/src/Services/Logger.ts index e19f60d1..79f81472 100644 --- a/back/src/Services/Logger.ts +++ b/back/src/Services/Logger.ts @@ -4,7 +4,7 @@ const logger = winston.createLogger({ transports: [ new winston.transports.Console({ format: winston.format.combine( - winston.format.colorize(), + //winston.format.colorize(), winston.format.timestamp(), winston.format.align(), winston.format.printf((info) => `${info.timestamp} ${info.level}: ${info.message}`)