test(HH-558): complete WebChannel sender display regression matrix (#141)
* chore(agent): baseline — uncommitted work from the local directory * test(HH-558): cover widget sender display matrix --------- Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
@@ -43,6 +43,14 @@ services:
|
||||
- "8025:8025" # Web UI
|
||||
# Reference: Chatwoot docker-compose includes mailhog for email testing
|
||||
|
||||
web-channel-test:
|
||||
image: nginx:alpine
|
||||
container_name: gochat-web-channel-test
|
||||
ports:
|
||||
- "8081:80"
|
||||
volumes:
|
||||
- ./web-channel-test/index.html:/usr/share/nginx/html/index.html:ro
|
||||
|
||||
gochat:
|
||||
build:
|
||||
context: ../..
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>GoChat WEB CHANNEL 测试</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>GoChat WEB CHANNEL 测试</h1>
|
||||
<script>
|
||||
window.chatwootSettings = { "position": "right", "type": "standard", "launcherTitle": "" };
|
||||
(function (d, t) {
|
||||
var BASE_URL = "https://gochat.yqbmb.com";
|
||||
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
|
||||
g.src = BASE_URL + "/sdk/js/sdk.js";
|
||||
g.async = true;
|
||||
s.parentNode.insertBefore(g, s);
|
||||
g.onload = function () {
|
||||
window.chatwootSDK.run({
|
||||
websiteToken: "1e26e9f9866a6e7d988d85fa",
|
||||
baseUrl: BASE_URL
|
||||
});
|
||||
};
|
||||
})(document, "script");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user