Skip to content

Commit

Permalink
chore: roll test-runner to 1.13.0-next-1625762188000
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Jul 8, 2021
1 parent b274297 commit 9cf815e
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions tests/config/test-runner/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/config/test-runner/package.json
@@ -1,6 +1,6 @@
{
"private": true,
"dependencies": {
"@playwright/test": "=1.13.0-next-1624652839000"
"@playwright/test": "=1.13.0-next-1625762188000"
}
}
2 changes: 1 addition & 1 deletion tests/page/eval-on-selector.spec.ts
Expand Up @@ -47,7 +47,7 @@ it('should work with data-test-id selector', async ({page, server}) => {
expect(idAttribute).toBe('testAttribute');
});

it('should work with text selector', async ({page, server}) => {
it('should work with text selector in quotes', async ({page, server}) => {
await page.setContent('<section id="testAttribute">43543</section>');
const idAttribute = await page.$eval('text="43543"', e => e.id);
expect(idAttribute).toBe('testAttribute');
Expand Down
4 changes: 2 additions & 2 deletions tests/page/page-dispatchevent.spec.ts
Expand Up @@ -136,7 +136,7 @@ it('should dispatch drag drop events', async ({page, server}) => {
}, {source, target})).toBeTruthy();
});

it('should dispatch drag drop events', async ({page, server}) => {
it('should dispatch drag drop events via ElementHandles', async ({page, server}) => {
await page.goto(server.PREFIX + '/drag-n-drop.html');
const dataTransfer = await page.evaluateHandle(() => new DataTransfer());
const source = await page.$('#source');
Expand All @@ -148,7 +148,7 @@ it('should dispatch drag drop events', async ({page, server}) => {
}, {source, target})).toBeTruthy();
});

it('should dispatch click event', async ({page, server}) => {
it('should dispatch click event via ElementHandles', async ({page, server}) => {
await page.goto(server.PREFIX + '/input/button.html');
const button = await page.$('button');
await button.dispatchEvent('click');
Expand Down
2 changes: 1 addition & 1 deletion tests/page/page-evaluate.spec.ts
Expand Up @@ -506,7 +506,7 @@ it('should work with CSP', async ({ page, server }) => {
expect(await page.evaluate(() => 2 + 2)).toBe(4);
});

it('should evaluate exception', async ({ page }) => {
it('should evaluate exception with a function on the stack', async ({ page }) => {
const error = await page.evaluate(() => {
return (function functionOnStack() {
return new Error('error message');
Expand Down
4 changes: 2 additions & 2 deletions tests/page/page-network-request.spec.ts
Expand Up @@ -185,7 +185,7 @@ it('should override post data content type', async ({page, server, isAndroid}) =
expect(request.headers['content-type']).toBe('application/x-www-form-urlencoded; charset=UTF-8');
});

it('should be |undefined| when there is no post data', async ({page, server, isAndroid}) => {
it('should get |undefined| with postData() when there is no post data', async ({page, server, isAndroid}) => {
it.fixme(isAndroid, 'Post data does not work');

const response = await page.goto(server.EMPTY_PAGE);
Expand Down Expand Up @@ -217,7 +217,7 @@ it('should parse the data if content-type is application/x-www-form-urlencoded',
expect(request.postDataJSON()).toEqual({'foo': 'bar','baz': '123'});
});

it('should be |undefined| when there is no post data', async ({ page, server }) => {
it('should get |undefined| with postDataJSON() when there is no post data', async ({ page, server }) => {
const response = await page.goto(server.EMPTY_PAGE);
expect(response.request().postDataJSON()).toBe(null);
});
Expand Down
2 changes: 1 addition & 1 deletion tests/proxy.spec.ts
Expand Up @@ -175,7 +175,7 @@ it('does launch without a port', async ({ browserType, browserOptions }) => {
await browser.close();
});

it('should use proxy', async ({ browserType, browserOptions }) => {
it('should use proxy with emulated user agent', async ({ browserType, browserOptions }) => {
it.fixme(true, 'Non-emulated user agent is used in proxy CONNECT');

let requestText = '';
Expand Down

0 comments on commit 9cf815e

Please sign in to comment.