Skip to content

Commit 85d6bc3

Browse files
first commit
0 parents  commit 85d6bc3

19 files changed

Lines changed: 8807 additions & 0 deletions

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
# Test Companion onboarding (local, per-machine)
3+
.test-companion/
4+
log/
5+
node_modules/
6+
reports/
7+
screenshots/
8+
browserstack.err
9+
*.log

browserstack.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# =============================
2+
# BrowserStack Credentials
3+
# =============================
4+
# Prefer env vars: BROWSERSTACK_USERNAME / BROWSERSTACK_ACCESS_KEY
5+
userName: ${BROWSERSTACK_USERNAME}
6+
accessKey: ${BROWSERSTACK_ACCESS_KEY}
7+
8+
# ======================
9+
# BrowserStack Reporting
10+
# ======================
11+
projectName: SCIF Playwright
12+
buildName: scif-playwright
13+
buildIdentifier: '#${BUILD_NUMBER}'
14+
15+
# =======================================
16+
# Platforms (Browsers / Devices to test)
17+
# =======================================
18+
# https://www.browserstack.com/list-of-browsers-and-platforms/automate
19+
platforms:
20+
- os: Windows
21+
osVersion: 11
22+
browserName: chrome
23+
browserVersion: "148.0"
24+
# - os: OS X
25+
# osVersion: Sonoma
26+
# browserName: playwright-firefox
27+
# browserVersion: latest
28+
# - os: OS X
29+
# osVersion: Sonoma
30+
# browserName: playwright-webkit
31+
# browserVersion: latest
32+
33+
# =======================
34+
# Parallels per Platform
35+
# =======================
36+
parallelsPerPlatform: 1
37+
38+
# ==========================================
39+
# BrowserStack Local (private/localhost apps)
40+
# ==========================================
41+
browserstackLocal: true
42+
43+
# Framework must be playwright for Playwright + Cucumber
44+
framework: playwright
45+
46+
# ===================
47+
# Debugging features
48+
# ===================
49+
debug: false
50+
networkLogs: true
51+
consoleLogs: errors
52+
video: true
53+
54+
# Test Observability / Reporting & Analytics
55+
testObservability: true
56+
accessibility: true

cucumber.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
default: {
3+
requireModule: ['ts-node/register'],
4+
require: [
5+
'src/support/world.ts',
6+
'src/hooks/hooks.ts',
7+
'src/features/step_definitions/**/*.ts',
8+
],
9+
paths: ['src/features/**/*.feature'],
10+
format: [
11+
'progress-bar',
12+
'html:reports/cucumber-report.html',
13+
'json:reports/cucumber-report.json',
14+
],
15+
timeout: 60000,
16+
},
17+
};

0 commit comments

Comments
 (0)