Comments (7)
Does using test
not work for you or was somewhere a broken example?
from playwright-test.
Well, yeah I can use test, and also it looks like the default export is also the test function. The problem is that all examples in the documentation are importing it
. For example:
import { it, expect } from "@playwright/test";
it("is a basic test with the page", async ({ page }) => {
await page.goto("https://playwright.dev/");
const name = await page.innerText(".navbar__title");
expect(name).toBe("Playwright");
});
from playwright-test.
But frankly speaking the test
function also didn't work for me. It said that I can't use test()
outside of test file, but I've switched to another task so I haven't created an issue.
from playwright-test.
Please refer to the new documentation, this repository is obsolete, we are going to redirect it to the new docs soon: https://playwright.dev/docs/test-intro
from playwright-test.
Oh, cool! How is it in terms of production readiness now?
from playwright-test.
Its ready!
from playwright-test.
Closing since I fixed the readme in #269
from playwright-test.
Related Issues (20)
- How to reference types? HOT 2
- No more fixtures mentioned in README, no more baseFolio HOT 4
- Documentation: Custom Fixtures to Support POMs HOT 10
- Error: Configuration file not found. Either pass --config, or create folio.config.(js|ts) file HOT 2
- Bug(?): Webkit support on Ubuntu HOT 3
- Issue when creating tests at runtime
- PlaywrightEnv subclasses HOT 1
- Release notes/changelog? HOT 1
- Add example how to use it with device emulation HOT 1
- When there are failed tests test execution process as a whole is marked as failed with status 1 HOT 1
- screenshot not working while setting up options HOT 1
- Add option to set devtools flag to true HOT 1
- Support proxy in param HOT 14
- npx folio --help first reads files HOT 2
- Support for specific Browser flavour HOT 1
- 0.1110.0 has breaking changes with no migration guide? HOT 2
- browser.newContext: options.isMobile is not supported in Firefox HOT 1
- Target Closed HOT 1
- QUESTION: Is there any roadmap for 1.0 playwright-test release? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright-test.