Skip to content

Not able to run tests in saucelab using saucectl #27

Description

@pratimghosh76

tests not executing in Saucelab

apiVersion: v1alpha
kind: playwright
metadata:
name: playwright-${PX_APP}-tests

framework: playwright
tags:

  • PX_APP=${PX_APP}
  • PX_ENV=${PX_ENV}
  • location=${location}
    rootDir: ./
    sauce:
    region: us-west-1
    concurrency: 2
    tunnel:
    name: xxxxxxxxx
    owner: xxx

playwright:
version: 1.47.2
configFile: playwright.config.ts
npm:
packages:
playwright-bdd: latest
suites:

  • name: ${PX_APP}-suites
    platformName: "Windows 10"
    screenResolution: "1440x900"
    testMatch: [".features-gen/${PX_APP}/features/${PX_APP}//*.feature.spec.js"]
    #testMatch: ["
    /*.feature.spec.js"]
    params:
    browserName: "chromium"
    project: 'pxp'

    options:

    paths:

    - "features/**/*.feature" # Path to your BDD feature files

    require:

    - "support/step_definitions/**/*.steps.ts" # Path to your step definitions

artifacts:

download:

when: always

match:

- "*"

directory: ./sauce-artifacts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions