playwright/packages/installation-tests
Joel Einbinder 7caf05b24a
fix(playwright-test): have the proper default export (#7328)
There are 3 ways to import `@playwright/test` library in the modern Node.js ecosystem:
- Using `require`: works great, this patch doesn't change it
- Using `import` statement from `.mjs` file - we have wrong `default` for @playwright/test that should be a `test`. This is what test checks for
- Using `import test from '@playwright/test'` from `.ts` file - was broken because TypeScript thought it's a CJS module, whereas it's a ESM module in reality.

Also, typescript types import from `.d.ts` file was broken because we had no default export (`export *` syntax does not export default).
2021-06-25 15:29:22 -07:00
..
.gitignore fix(types): properly export typescript types from packages (#2364) 2020-05-26 17:19:05 -07:00
driver-client.js test: add basic end-to-end driver test (#5426) 2021-02-12 09:05:32 -08:00
electron-app.js test: add sanity test for playwright-electron (#3387) 2020-08-12 14:45:22 -07:00
esm-playwright-chromium.mjs chore: move protocol files to src/protocol (#3571) 2020-08-21 18:46:11 -07:00
esm-playwright-firefox.mjs chore: move protocol files to src/protocol (#3571) 2020-08-21 18:46:11 -07:00
esm-playwright-test.mjs fix(playwright-test): have the proper default export (#7328) 2021-06-25 15:29:22 -07:00
esm-playwright-webkit.mjs chore: move protocol files to src/protocol (#3571) 2020-08-21 18:46:11 -07:00
esm-playwright.mjs chore: move protocol files to src/protocol (#3571) 2020-08-21 18:46:11 -07:00
esm.mjs api: export all browsers from every package (#3128) 2020-07-24 16:36:00 -07:00
inspector-custom-executable.js fix(inspector): fall back to custom executable path for UI (#6214) 2021-04-16 15:19:44 -07:00
installation-tests.sh test: fix installation tests (#7069) 2021-06-11 13:56:41 +02:00
read-json-report.js feat(test): introduce npx playwright test (#6816) 2021-06-03 08:07:55 -07:00
README.md fix(types): properly export typescript types from packages (#2364) 2020-05-26 17:19:05 -07:00
sample.spec.js feat(test): introduce npx playwright test (#6816) 2021-06-03 08:07:55 -07:00
sanity-electron.js chore: remove electron/android from build_packages (#6827) 2021-06-01 15:53:47 -07:00
sanity.js feat(test): introduce npx playwright test (#6816) 2021-06-03 08:07:55 -07:00
screencast.js api(videos): introduce a single recordVideo option bag (#4309) 2020-11-02 19:42:05 -08:00
validate-dependencies-skip-executable-path.js fix: host dependency validation (#6227) 2021-04-20 18:54:53 +02:00
validate-dependencies.js fix: host dependency validation (#6227) 2021-04-20 18:54:53 +02:00

Installation Tests

File installation-tests.sh tests that installation flow for all Playwright packages works as expected.