github.com/kubeshop/testkube@v1.17.23/test/executors/container-executor-playwright.yaml (about)

     1  apiVersion: executor.testkube.io/v1
     2  kind: Executor
     3  metadata:
     4    name: container-executor-playwright-v1.32.3-args
     5  spec:
     6    image: mcr.microsoft.com/playwright:v1.32.3-focal
     7    command: ["npx", "--yes", "playwright@1.32.3", "test", "--output", "/data/artifacts"]
     8    executor_type: container
     9    types:
    10    - container-executor-playwright-v1.32.3-args/test
    11    features:
    12    - artifacts
    13  ---
    14  apiVersion: executor.testkube.io/v1
    15  kind: Executor
    16  metadata:
    17    name: container-executor-playwright-v1.32.3
    18  spec:
    19    image: mcr.microsoft.com/playwright:v1.32.3-focal
    20    command: ["/bin/sh", "-c"]
    21    args:
    22    - "npm ci && CI=1 npx --yes playwright@1.32.3 test --output /data/artifacts"
    23    executor_type: container
    24    types:
    25    - container-executor-playwright-v1.32.3/test
    26    features:
    27    - artifacts
    28  ---
    29  apiVersion: executor.testkube.io/v1
    30  kind: Executor
    31  metadata:
    32    name: container-executor-playwright-v1.31.1
    33  spec:
    34    image: mcr.microsoft.com/playwright:v1.31.1-focal
    35    command: ["/bin/sh", "-c"]
    36    args:
    37    - "npm ci && CI=1 npx --yes playwright@1.31.1 --output /data/artifacts"
    38    executor_type: container
    39    types:
    40    - container-executor-playwright-v1.31.1/test
    41    features:
    42    - artifacts