Skip to content

Commit b1695b6

Browse files
authored
Create e2eTest.html
1 parent 2439ce0 commit b1695b6

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<html>
2+
<head>
3+
<title>SDB6-InAppChat</title>
4+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
5+
</head>
6+
<body>
7+
<h1> SDB6 InApp Messaging Chat for E2E Test</h1>
8+
NO LWR
9+
<p><a id="editThisPageLink" target="_blank" style="color:blue">Edit this page</a></p>
10+
<script>document.getElementById('editThisPageLink').href = "https://github.com/ESW1234/esw1234.github.io/edit/master" + window.location.pathname;</script>
11+
12+
<!-- <script type='text/javascript' src='https://service.force.com/asyncclient/bootstrap.js'></script> -->
13+
14+
<script type='text/javascript'>
15+
function initEmbeddedMessaging() {
16+
try {
17+
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'
18+
19+
embeddedservice_bootstrap.init(
20+
'00DSG0000006nKb',
21+
'e2eTest',
22+
'https://miawsdb6.demo.test1.my.pc-rnd.site.com/ESWe2eTest1663869528943',
23+
{
24+
scrt2URL: 'https://miawsdb6.demo.test1.my.pc-rnd.salesforce-scrt.com'
25+
}
26+
);
27+
} catch (err) {
28+
console.error('Error loading Embedded Messaging: ', err);
29+
}
30+
};
31+
</script>
32+
<script type='text/javascript' src='https://miawsdb6.demo.test1.my.pc-rnd.site.com/ESWe2eTest1663869528943/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>
33+
34+
35+
</body>
36+
</html>

0 commit comments

Comments
 (0)