Skip to content

Commit d348b29

Browse files
authored
chore(integration-tests): Update Playwright to 1.27.1 (#6511)
1 parent b7eaf3e commit d348b29

File tree

33 files changed

+100
-221
lines changed

33 files changed

+100
-221
lines changed

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"karma-typescript-es6-transform": "^4.0.0",
3939
"karma-webkit-launcher": "^1.0.2",
4040
"node-fetch": "^2.6.0",
41-
"playwright": "^1.17.1",
41+
"playwright": "^1.27.1",
4242
"sinon": "^7.3.2",
4343
"webpack": "^4.30.0"
4444
},

packages/integration-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
},
2727
"dependencies": {
2828
"@babel/preset-typescript": "^7.16.7",
29-
"@playwright/test": "^1.17.0",
29+
"@playwright/test": "^1.27.1",
3030
"babel-loader": "^8.2.2",
3131
"html-webpack-plugin": "^5.5.0",
32-
"playwright": "^1.17.1",
32+
"playwright": "^1.27.1",
3333
"typescript": "^4.5.2",
3434
"webpack": "^5.52.0"
3535
},

packages/integration-tests/suites/public-api/startTransaction/basic_usage/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sentryTest('should report finished spans as children of the root transaction', a
1616
const url = await getLocalTestPath({ testDir: __dirname });
1717
const transaction = await getFirstSentryEnvelopeRequest<Event>(page, url);
1818

19-
const rootSpanId = transaction?.contexts?.trace.spanId;
19+
const rootSpanId = transaction?.contexts?.trace?.spanId;
2020

2121
expect(transaction.spans).toHaveLength(3);
2222

packages/integration-tests/suites/sessions/start-session/template.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!DOCTYPE html>
12
<html>
23
<head>
34
<meta charset="utf-8" />

packages/integration-tests/suites/sessions/update-session/template.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!DOCTYPE html>
12
<html>
23
<head>
34
<meta charset="utf-8" />

packages/integration-tests/suites/stacktraces/protocol_containing_fn_identifiers/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sentryTest(
2020
{ function: 'readFile' },
2121
{ function: 'httpsCall' },
2222
{ function: 'webpackDevServer' },
23-
{ function: 'Function.httpCode' },
23+
{ function: 'Response.httpCode' },
2424
]);
2525
});
2626

packages/integration-tests/suites/stacktraces/protocol_fn_identifiers/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sentryTest(
2020
{ function: 'file' },
2121
{ function: 'https' },
2222
{ function: 'webpack' },
23-
{ function: 'Function.http' },
23+
{ function: 'File.http' },
2424
]);
2525
});
2626

packages/integration-tests/suites/stacktraces/regular_fn_identifiers/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sentryTest(
2121
{ function: '?' },
2222
{ function: 'foo' },
2323
{ function: 'bar' },
24-
{ function: 'Function.baz' },
24+
{ function: 'Test.baz' },
2525
]);
2626
});
2727

packages/integration-tests/suites/stacktraces/template.hbs

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/integration-tests/suites/public-api/init/template.hbs renamed to packages/integration-tests/suites/stacktraces/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title></title>
6-
<script src="{{htmlWebpackPlugin.options.initialization}}"></script>
6+
<script src="{{htmlWebpackPlugin.options.initialization}}"></script>
77
</head>
88
<body>
99
<script src="{{htmlWebpackPlugin.options.subject}}"></script>

0 commit comments

Comments
 (0)