You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created folder testplaywright
installed playwright - npm init playwright@latest, answered the questions as such:
Getting started with writing end-to-end tests with Playwright:
Initializing project in '.'
√ Do you want to use TypeScript or JavaScript? · TypeScript
√ Where to put your end-to-end tests? · tests
√ Add a GitHub Actions workflow? (y/N) · false
√ Install Playwright browsers (can be done manually via 'npx playwright install')? (Y/n) · true
Initializing NPM project (npm init -y)…
indicates success
Your next chapter - I don't seem to have those test examples in my folder - eg in your tau-introduction-to-playwright - how do i get these example - do i do a github https://github.com/raptatinha/tau-introduction-to-playwright - and then what git clone to add your respository?
I tried to follow chapter to run stuff- but i don't have all what is in my package.json -mine only has
{
"name": "testplaywright",
"version": "1.0.0",
"main": "index.js",
"scripts": {},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@playwright/test": "^1.49.1",
"@types/node": "^22.10.2"
}
}
yours has
"name": "tau-introduction-to-playwright",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test:e2e": "npx playwright test tests/",
"test:e2e:all": "npx playwright test tests --project=all-browsers-and-tests",
"test:e2e:ci": "CI=1 npx playwright test --project=ci --shard=$CI_NODE_INDEX/$CI_NODE_TOTAL",
"test:e2e:dev": "npx playwright test tests-examples/ --project=chromium --headed --retries=0 --reporter=line",
"test:e2e:smoke": "npx playwright test tests-examples/ --grep @smoke --project=chromium",
"test:e2e:non-smoke": "npx playwright test tests-examples/ --grep-invert @smoke --project=firefox",
"test:visual:acme": "npx playwright test example-applitools.spec.ts --project=chromium",
"test:visual:playwright": "npx playwright test example3.spec.ts --project=all-browsers-and-tests"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@applitools/eyes-playwright": "^1.17.0",
"@playwright/test": "^1.34.2",
"dotenv": "^16.0.3"
}
}
I am stuck on understand chapter 2 and onward -
The text was updated successfully, but these errors were encountered:
I created folder testplaywright
installed playwright - npm init playwright@latest, answered the questions as such:
Getting started with writing end-to-end tests with Playwright:
Initializing project in '.'
√ Do you want to use TypeScript or JavaScript? · TypeScript
√ Where to put your end-to-end tests? · tests
√ Add a GitHub Actions workflow? (y/N) · false
√ Install Playwright browsers (can be done manually via 'npx playwright install')? (Y/n) · true
Initializing NPM project (npm init -y)…
indicates success
Your next chapter - I don't seem to have those test examples in my folder - eg in your tau-introduction-to-playwright - how do i get these example - do i do a github https://github.com/raptatinha/tau-introduction-to-playwright - and then what git clone to add your respository?
I tried to follow chapter to run stuff- but i don't have all what is in my package.json -mine only has
{
"name": "testplaywright",
"version": "1.0.0",
"main": "index.js",
"scripts": {},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@playwright/test": "^1.49.1",
"@types/node": "^22.10.2"
}
}
yours has
"name": "tau-introduction-to-playwright",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test:e2e": "npx playwright test tests/",
"test:e2e:all": "npx playwright test tests --project=all-browsers-and-tests",
"test:e2e:ci": "CI=1 npx playwright test --project=ci --shard=$CI_NODE_INDEX/$CI_NODE_TOTAL",
"test:e2e:dev": "npx playwright test tests-examples/ --project=chromium --headed --retries=0 --reporter=line",
"test:e2e:smoke": "npx playwright test tests-examples/ --grep @smoke --project=chromium",
"test:e2e:non-smoke": "npx playwright test tests-examples/ --grep-invert @smoke --project=firefox",
"test:visual:acme": "npx playwright test example-applitools.spec.ts --project=chromium",
"test:visual:playwright": "npx playwright test example3.spec.ts --project=all-browsers-and-tests"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@applitools/eyes-playwright": "^1.17.0",
"@playwright/test": "^1.34.2",
"dotenv": "^16.0.3"
}
}
I am stuck on understand chapter 2 and onward -
The text was updated successfully, but these errors were encountered: