Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i installed playwright on a folder - but how do i get your playwright stuff from github onto .code? #51

Open
suetest812 opened this issue Dec 13, 2024 · 0 comments
Assignees
Labels
help wanted Extra attention is needed pending question Further information is requested

Comments

@suetest812
Copy link

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 -

@suetest812 suetest812 added help wanted Extra attention is needed pending question Further information is requested labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed pending question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants