Skip to content

Commit

Permalink
0.0.4-dev2: Updated config file
Browse files Browse the repository at this point in the history
  • Loading branch information
asukhodolova committed Sep 15, 2023
1 parent 9c519f8 commit 66adc4c
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 78 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zebrunner/javascript-agent-playwright",
"version": "0.0.4-dev1",
"version": "0.0.4-dev2",
"main": "build/src/lib/index.js",
"license": "MIT",
"description": "Zebrunner Agent for Playwright",
Expand Down
154 changes: 77 additions & 77 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,87 +3,87 @@ import { defineConfig, devices } from '@playwright/test';
require('dotenv').config();

export default defineConfig({
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
use: {
video: 'on',
trace: 'on',
screenshot: 'only-on-failure',
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
use: {
video: 'on',
trace: 'on',
screenshot: 'only-on-failure',
},
{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
],
reporter: [
[
'./src/lib/ZebrunnerReporter.ts',
{
enabled: true,
projectKey: 'DEF',
server: {
hostname: 'https://test.zebrunner.com',
accessToken: 'yourAccessToken'
},
launch: {
displayName: "Playwright launch",
build: '1.0.0',
environment: 'Local'
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
milestone: {
id: null,
name: null
{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
notifications: {
notifyOnEachFailure: false,
slackChannels: 'dev, qa',
teamsChannels: 'dev-channel, management',
emails: 'yourEmail@gmail.com'
},
tcm: {
testCaseStatus: {
onPass: 'SUCCESS',
onFail: 'FAILED',
},
zebrunner: {
pushResults: false,
pushInRealTime: false,
testRunId: 42
},
testRail: {
pushResults: false,
pushInRealTime: false,
suiteId: 100,
runId: 500,
includeAllTestCasesInNewRun: true,
runName: 'New Demo Run',
milestoneName: 'Demo Milestone',
assignee: 'tester@mycompany.com'
},
xray: {
pushResults: false,
pushInRealTime: false,
executionKey: 'QT-100'
},
zephyr: {
pushResults: false,
pushInRealTime: false,
jiraProjectKey: 'ZEB',
testCycleKey: 'ZEB-T1'
}
{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
],
reporter: [
[
'../javascript-agent-playwright',
{
enabled: true,
projectKey: 'DEF',
server: {
hostname: 'https://test.zebrunner.com',
accessToken: 'yourAccessToken',
},
launch: {
displayName: 'Playwright launch',
build: '1.0.0',
environment: 'Local',
},
milestone: {
id: null,
name: null,
},
notifications: {
notifyOnEachFailure: false,
slackChannels: 'dev, qa',
teamsChannels: 'dev-channel, management',
emails: 'yourEmail@gmail.com',
},
tcm: {
testCaseStatus: {
onPass: 'SUCCESS',
onFail: 'FAILED',
},
zebrunner: {
pushResults: false,
pushInRealTime: false,
testRunId: 42,
},
testRail: {
pushResults: false,
pushInRealTime: false,
suiteId: 100,
runId: 500,
includeAllTestCasesInNewRun: true,
runName: 'New Demo Run',
milestoneName: 'Demo Milestone',
assignee: 'tester@mycompany.com',
},
xray: {
pushResults: false,
pushInRealTime: false,
executionKey: 'QT-100',
},
zephyr: {
pushResults: false,
pushInRealTime: false,
jiraProjectKey: 'ZEB',
testCycleKey: 'ZEB-T1',
},
},

pwConcurrentTasks: 10
}
pwConcurrentTasks: 10,
},
],
],
],
});

0 comments on commit 66adc4c

Please sign in to comment.