summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2023-06-12 14:24:15 +0200
committerOskar Nyberg <oskar@mullvad.net>2023-06-12 14:24:15 +0200
commit601109ac7845bf603e4b2d17bb72f30401706b71 (patch)
tree831b339f0e38614e129fcce89079bb55a4af44b0 /gui/src
parente41d6ff007f667c8efcdf885b71d323a93e16df5 (diff)
parent1822c81e8f87ecce858603b78492f52df1eba450 (diff)
downloadmullvadvpn-601109ac7845bf603e4b2d17bb72f30401706b71.tar.xz
mullvadvpn-601109ac7845bf603e4b2d17bb72f30401706b71.zip
Merge branch 'create-gui-tests-for-tunnel-state-des-61'
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/config.json6
-rw-r--r--gui/src/renderer/components/ConnectionPanel.tsx4
2 files changed, 5 insertions, 5 deletions
diff --git a/gui/src/config.json b/gui/src/config.json
index 4bb1e7a6ce..822e00a12f 100644
--- a/gui/src/config.json
+++ b/gui/src/config.json
@@ -28,9 +28,9 @@
"blue60": "rgba(41, 77, 115, 0.6)",
"blue80": "rgba(41, 77, 115, 0.8)",
"red95": "rgba(227, 64, 57, 0.95)",
- "red80": "rgba(227, 64, 57, 0.80)",
- "red60": "rgba(227, 64, 57, 0.60)",
- "red40": "rgba(227, 64, 57, 0.40)",
+ "red80": "rgba(227, 64, 57, 0.8)",
+ "red60": "rgba(227, 64, 57, 0.6)",
+ "red40": "rgba(227, 64, 57, 0.4)",
"red45": "rgba(227, 64, 57, 0.45)",
"green90": "rgba(68, 173, 77, 0.9)",
"green40": "rgba(68, 173, 77, 0.4)"
diff --git a/gui/src/renderer/components/ConnectionPanel.tsx b/gui/src/renderer/components/ConnectionPanel.tsx
index 552a9e3187..a366a9058d 100644
--- a/gui/src/renderer/components/ConnectionPanel.tsx
+++ b/gui/src/renderer/components/ConnectionPanel.tsx
@@ -95,7 +95,7 @@ export default class ConnectionPanel extends React.Component<IProps> {
{this.props.hostname && (
<Header>
<ConnectionPanelDisclosure pointsUp={this.props.isOpen} onToggle={this.props.onToggle}>
- <Marquee>{this.hostnameLine()}</Marquee>
+ <Marquee data-testid="hostname-line">{this.hostnameLine()}</Marquee>
</ConnectionPanelDisclosure>
</Header>
)}
@@ -104,7 +104,7 @@ export default class ConnectionPanel extends React.Component<IProps> {
<React.Fragment>
{this.props.inAddress && (
<Row>
- <Text>{this.transportLine()}</Text>
+ <Text data-testid="tunnel-protocol">{this.transportLine()}</Text>
</Row>
)}