Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(examples): closes #1916 (#1934)
Arjun Attam51ed5c5b4dd3
diff --git a/docs/examples/authentication.js b/docs/examples/authentication.jsindex c3bac5400d..95886f56e7 100644--- a/docs/examples/authentication.js+++ b/docs/examples/authentication.js@@ -49,6 +49,6 @@ const account = { login: '', password: '' };})();const verifyIsLoggedIn = async (page) => {- // Find element through text value and assert it exists.- assert(await page.$('text="Create repository"'));+ await page.click('summary[aria-label="View profile and more"]')+ assert(await page.$(`text="Your profile"`));}