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
test(webkit): mark strict cookie tests as passing on linux (#2164)
Yury Semikhatsky617a00d45f3b
diff --git a/test/cookies.spec.js b/test/cookies.spec.jsindex da80de9c80..869868598f 100644--- a/test/cookies.spec.js+++ b/test/cookies.spec.js@@ -15,7 +15,7 @@* limitations under the License.*/-const {FFOX, CHROMIUM, WEBKIT, MAC, LINUX} = require('./utils').testOptions(browserType);+const {FFOX, CHROMIUM, WEBKIT, WIN} = require('./utils').testOptions(browserType);describe('BrowserContext.cookies', function() {it('should return no cookies in pristine browser context', async({context, page, server}) => {@@ -66,7 +66,7 @@ describe('BrowserContext.cookies', function() {expect(cookies.length).toBe(1);expect(cookies[0].httpOnly).toBe(true);});- it.fail(WEBKIT && !MAC)('should properly report "Strict" sameSite cookie', async({context, page, server}) => {+ it.fail(WEBKIT && WIN)('should properly report "Strict" sameSite cookie', async({context, page, server}) => {server.setRoute('/empty.html', (req, res) => {res.setHeader('Set-Cookie', 'name=value;SameSite=Strict');res.end();@@ -76,7 +76,7 @@ describe('BrowserContext.cookies', function() {expect(cookies.length).toBe(1);expect(cookies[0].sameSite).toBe('Strict');});- it.fail(WEBKIT && !MAC)('should properly report "Lax" sameSite cookie', async({context, page, server}) => {+ it.fail(WEBKIT && WIN)('should properly report "Lax" sameSite cookie', async({context, page, server}) => {server.setRoute('/empty.html', (req, res) => {res.setHeader('Set-Cookie', 'name=value;SameSite=Lax');res.end();