From dd27da5c7b88df7abf8be828a31b7980527337df Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 19 Dec 2022 18:55:46 -0500 Subject: [PATCH] Fix test template example --- test/e2e/example.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/example.txt b/test/e2e/example.txt index 6bfc336349da83b..0a499e245c9818d 100644 --- a/test/e2e/example.txt +++ b/test/e2e/example.txt @@ -15,7 +15,7 @@ createNextDescribe( // Recommended for tests that need a full browser it('should work using browser', async () => { const browser = await next.browser('/') - expect(await browser.getElementByCss('p').text()).toBe('hello world') + expect(await browser.elementByCss('p').text()).toBe('hello world') }) // In case you need the full HTML. Can also use $.html() with cheerio.