test(chromium): enable selectall test on mac (#2788)

This commit is contained in:
Joel Einbinder 2020-07-02 01:57:30 -07:00 committed by GitHub
parent f9f3aeb0fe
commit cb0c037e17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,7 +290,7 @@ describe('Keyboard', function() {
await textarea.type('👹 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');
const textarea = await page.$('textarea');
await textarea.type('some text');
@ -301,7 +301,7 @@ describe('Keyboard', function() {
await page.keyboard.press('Backspace');
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');
const textarea = await page.$('textarea');
await textarea.type('some text');