Integration tests using spectron (#410)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-06-09 13:18:24 +03:00
1 parent af24da976b
commit deb4bf2f7b
9 files changed
+513 -29

No files matched your search

@@ -11,6 +11,7 @@
label="Choose config:"
>
<b-form-select
id="kubecontext-select"
v-model="kubecontext"
:options="contextNames"
@change="onSelect($event)"
+2 -8
View File
@@ -8,8 +8,8 @@
<div>
<b-row align-h="center" class="banner">
<b-col sm="8">
<h1 v-if="user && clusters.length === 0" class="display-4 text-center">
Welcome, {{ greetingName }}!
<h1 v-if="clusters.length === 0" class="display-4 text-center">
Welcome!
</h1>
<p v-if="clusters.length === 0" class="text-center">
Get started by associating one or more clusters to Lens.
@@ -35,12 +35,6 @@ export default {
},
clusters: function() {
return this.$store.getters.clusters;
},
user: function() {
return this.$store.getters.user;
},
greetingName: function() {
return (this.user['first-name'] && this.user['first-name'] !== "") ? this.user['first-name'] : this.user.username
}
}
}