mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test(chromium): enable selectall test on mac (#2788)
This commit is contained in:
parent
f9f3aeb0fe
commit
cb0c037e17
@ -290,7 +290,7 @@ describe('Keyboard', function() {
|
|||||||
await textarea.type('👹 Tokyo street Japan 🇯🇵');
|
await textarea.type('👹 Tokyo street Japan 🇯🇵');
|
||||||
expect(await frame.$eval('textarea', textarea => textarea.value)).toBe('👹 Tokyo street Japan 🇯🇵');
|
expect(await frame.$eval('textarea', textarea => textarea.value)).toBe('👹 Tokyo street Japan 🇯🇵');
|
||||||
});
|
});
|
||||||
it.fail(CHROMIUM && MAC)('should handle selectAll', async({page, server}) => {
|
it('should handle selectAll', async({page, server}) => {
|
||||||
await page.goto(server.PREFIX + '/input/textarea.html');
|
await page.goto(server.PREFIX + '/input/textarea.html');
|
||||||
const textarea = await page.$('textarea');
|
const textarea = await page.$('textarea');
|
||||||
await textarea.type('some text');
|
await textarea.type('some text');
|
||||||
@ -301,7 +301,7 @@ describe('Keyboard', function() {
|
|||||||
await page.keyboard.press('Backspace');
|
await page.keyboard.press('Backspace');
|
||||||
expect(await page.$eval('textarea', textarea => textarea.value)).toBe('');
|
expect(await page.$eval('textarea', textarea => textarea.value)).toBe('');
|
||||||
});
|
});
|
||||||
it.fail(CHROMIUM && MAC)('should be able to prevent selectAll', async({page, server}) => {
|
it('should be able to prevent selectAll', async({page, server}) => {
|
||||||
await page.goto(server.PREFIX + '/input/textarea.html');
|
await page.goto(server.PREFIX + '/input/textarea.html');
|
||||||
const textarea = await page.$('textarea');
|
const textarea = await page.$('textarea');
|
||||||
await textarea.type('some text');
|
await textarea.type('some text');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user