Commit a28888fe authored by CarlosGC1989's avatar CarlosGC1989
Browse files

Merge branch 'dev' of gitlab.com:redmic-project/client/web into dev

parents cf1ac6cf 98f4ea03
Loading
Loading
Loading
Loading
+52 −0
Original line number Diff line number Diff line
@@ -222,6 +222,58 @@ deploy-supporting-branch:
    - schedules
  when: manual

run-basic-user-functional-tests:
  stage: test-deploy
  tags:
    - client
    - functional
  variables:
    GIT_SUBMODULE_STRATEGY: normal
  script:
    - type yarn grunt java
    - yarn install || yarn install
    - >
      grunt test-functional-local --server-url="https://appdev.${DEV_PUBLIC_HOSTNAME}" --user="${REDMIC_USER}"
      --pass="${REDMIC_PASS}" --role=administrator --suitesGroups=common
  when: manual
  cache:
    key: ${CI_COMMIT_REF_NAME}
    paths:
      - node_modules/
    policy: pull
  artifacts:
    name: ${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}
    expire_in: 1 month
    when: always
    paths:
      - "test_reports/test-functional-local*/"

run-basic-guest-functional-tests:
  stage: test-deploy
  tags:
    - client
    - functional
  variables:
    GIT_SUBMODULE_STRATEGY: normal
  script:
    - type yarn grunt java
    - yarn install || yarn install
    - >
      grunt test-functional-local --server-url="https://appdev.${DEV_PUBLIC_HOSTNAME}" --role=guest
      --suitesGroups=common
  when: manual
  cache:
    key: ${CI_COMMIT_REF_NAME}
    paths:
      - node_modules/
    policy: pull
  artifacts:
    name: ${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}
    expire_in: 1 month
    when: always
    paths:
      - "test_reports/test-functional-local*/"

run-functional-tests:
  stage: test-deploy
  tags: