Commit 98f4ea03 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Agrega jobs de testeo funcional reducido

parent 50a6e73e
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: