diff --git a/packages/browser-integration-tests/suites/integrations/ContextLines/init.js b/packages/browser-integration-tests/suites/integrations/ContextLines/init.js
new file mode 100644
index 000000000000..4461826e0214
--- /dev/null
+++ b/packages/browser-integration-tests/suites/integrations/ContextLines/init.js
@@ -0,0 +1,9 @@
+import * as Sentry from '@sentry/browser';
+import { ContextLines } from '@sentry/integrations';
+
+window.Sentry = Sentry;
+
+Sentry.init({
+ dsn: 'https://public@dsn.ingest.sentry.io/1337',
+ integrations: [new ContextLines()],
+});
diff --git a/packages/browser-integration-tests/suites/integrations/ContextLines/subject.js b/packages/browser-integration-tests/suites/integrations/ContextLines/subject.js
new file mode 100644
index 000000000000..744649fb291c
--- /dev/null
+++ b/packages/browser-integration-tests/suites/integrations/ContextLines/subject.js
@@ -0,0 +1,3 @@
+document.getElementById('script-error-btn').addEventListener('click', () => {
+ throw new Error('Error without context lines');
+});
diff --git a/packages/browser-integration-tests/suites/integrations/ContextLines/template.html b/packages/browser-integration-tests/suites/integrations/ContextLines/template.html
new file mode 100644
index 000000000000..790dddf90c81
--- /dev/null
+++ b/packages/browser-integration-tests/suites/integrations/ContextLines/template.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+