test: Fix Omnichannel Webhooks tests (#29344)

pull/29340/head^2
Kevin Aleman 3 years ago committed by GitHub
parent cc68894674
commit 0907513238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .github/workflows/ci-test-e2e.yml
  2. 1
      apps/meteor/tests/end-to-end/api/livechat/06-integrations.ts
  3. 1
      docker-compose-ci.yml

@ -214,6 +214,7 @@ jobs:
if: inputs.type == 'api'
working-directory: ./apps/meteor
env:
WEBHOOK_TEST_URL: 'http://host.docker.internal:10000'
IS_EE: ${{ inputs.release == 'ee' && 'true' || '' }}
run: |
for i in $(seq 1 2); do

@ -123,6 +123,7 @@ describe('LIVECHAT - Integrations', function () {
describe('Livechat - Webhooks', () => {
const webhookUrl = process.env.WEBHOOK_TEST_URL || 'https://httpbin.org';
describe('livechat/webhook.test', () => {
it('should fail when user doesnt have view-livechat-webhooks permission', async () => {
await updatePermission('view-livechat-webhooks', []);

@ -15,7 +15,6 @@ services:
- 'TRANSPORTER=${TRANSPORTER}'
- MOLECULER_LOG_LEVEL=info
- 'ROCKETCHAT_LICENSE=${ENTERPRISE_LICENSE}'
- 'WEBHOOK_TEST_URL=host.docker.internal:10000'
extra_hosts:
- 'host.docker.internal:host-gateway'
depends_on:

Loading…
Cancel
Save