1.0.6 • Published 9 months ago

@orangebeard-io/playwright-orangebeard-reporter v1.0.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Installation

Install the npm package

npm install @orangebeard-io/playwright-orangebeard-reporter

Configuration

Create orangebeard.json (in your test projects's folder (or above))

{
  "endpoint": "https://XXX.orangebeard.app",
  "token": "00000000-0000-0000-0000-00000000",
  "project": "my_project_name",
  "testset": "My Test Set Name",
  "description": "A run from playwright",
  "attributes": [
    {
      "key": "SomeKey",
      "value": "SomeValue"
    },
    {
      "value": "Tag value"
    }
  ]
}

Configure the reporter in playwright-config.ts:

export default defineConfig({
    testDir: './my-tests',
    reporter: [['@orangebeard-io/playwright-orangebeard-reporter']],
    projects: [
        {
            name: 'chromium',
            use: { ...devices['Desktop Chrome'] },
        }]
});

Running

Run your tests as usual!

Alternatively, configure Orangebeard variables as ENV (without or on top of orangebeard.json):

 ORANGEBEARD_ENDPOINT=https://company.orangebeard.app
 ORANGEBEARD_TOKEN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
 ORANGEBEARD_PROJECT="my project"
 ORANGEBEARD_TESTSET="my test set"
 ORANGEBEARD_DESCRIPTION="My awesome testrun"
 ORANGEBEARD_ATTRIBUTES="key:value; value;"
1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

11 months ago

1.0.0

11 months ago