Add more unit tests and update integration tests
This commit is contained in:
@ -53,14 +53,14 @@
|
||||
<div id="publicMessageIcon">
|
||||
<img id="publicMessageImage" src="../assets/publicMessageIcon.png">
|
||||
</div>
|
||||
<p id="publicMessageP"><span style="color:grey; font-size: 14px;">Public Message:</span><br>Public Message: {{ store.selectedTrain["PublicMessage"][0] }}</p>
|
||||
<p id="publicMessageP"><span style="color:grey; font-size: 14px;">Public Message:</span><br>{{ store.selectedTrain["PublicMessage"][0] }}</p>
|
||||
</div>
|
||||
|
||||
<div v-else id="notRunningPublicMessageDiv">
|
||||
<div id="publicMessageIcon">
|
||||
<img id="publicMessageImage" src="../assets/publicMessageIcon.png">
|
||||
</div>
|
||||
<p id="publicMessageP"><span style="color:grey; font-size: 14px;">Public Message:</span><br>Public Message: {{ store.selectedTrain["PublicMessage"][0] }}</p>
|
||||
<p id="publicMessageP"><span style="color:grey; font-size: 14px;">Public Message:</span><br>{{ store.selectedTrain["PublicMessage"][0] }}</p>
|
||||
</div>
|
||||
|
||||
<div v-if="store.selectedTrain['TrainStatus'][0] != 'N'" id="punctualityDiv">
|
||||
|
@ -204,7 +204,6 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
h1 {
|
||||
color:black;
|
||||
text-align: center;
|
||||
@ -292,37 +291,33 @@ input {
|
||||
}
|
||||
|
||||
@media screen and (max-width: 786px) {
|
||||
|
||||
|
||||
#mainDiv{
|
||||
position: inherit;
|
||||
padding: 15px;
|
||||
background-color: rgb(255, 255, 255);
|
||||
width: 90%;
|
||||
height: 80%;
|
||||
top: 14%;
|
||||
text-align: left;
|
||||
box-shadow: 0 0 4px 4px #b6b6b6;
|
||||
position: inherit;
|
||||
padding: 15px;
|
||||
background-color: rgb(255, 255, 255);
|
||||
width: 90%;
|
||||
height: 80%;
|
||||
top: 14%;
|
||||
text-align: left;
|
||||
box-shadow: 0 0 4px 4px #b6b6b6;
|
||||
}
|
||||
|
||||
#delAcc {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left:10px;
|
||||
height: 10%;
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left:10px;
|
||||
height: 10%;
|
||||
}
|
||||
|
||||
#delPref {
|
||||
width: 50%;
|
||||
left: 150px;
|
||||
right: 10px;
|
||||
height: 10%;
|
||||
width: 50%;
|
||||
left: 150px;
|
||||
right: 10px;
|
||||
height: 10%;
|
||||
}
|
||||
|
||||
button{
|
||||
font-size: 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
</style>
|
@ -16,7 +16,7 @@
|
||||
<div class="container-fluid" @change="decideShowStations();">
|
||||
<div class="form-check form-switch">
|
||||
<input @change="selectAllStations();" class="form-check-input" type="checkbox" role="switch" id="showAllStations" v-model="showAllStations"/>
|
||||
<label class="form-check-label" for="showAllStations">Show Stations</label>
|
||||
<label class="form-check-label" for="showAllStations">All Stations</label>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="form-check form-switch">
|
||||
@ -33,7 +33,7 @@
|
||||
<div class="container-fluid" @change="decideShowTrains();">
|
||||
<div class="form-check form-switch">
|
||||
<input @change="selectAllTrains();" class="form-check-input" type="checkbox" role="switch" id="showAllTrains" v-model="showAllTrains"/>
|
||||
<label class="form-check-label" for="showAllTrains">Show Trains</label>
|
||||
<label class="form-check-label" for="showAllTrains">All Trains</label>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="form-check form-switch">
|
||||
@ -177,7 +177,7 @@ export default {
|
||||
zoom: 7,
|
||||
rotation: 0,
|
||||
minZoom:6,
|
||||
maxZoom:10,
|
||||
maxZoom:13,
|
||||
|
||||
showTrains: [],
|
||||
showStations: [],
|
||||
|
@ -5,14 +5,14 @@
|
||||
<img src="https://cdn.discordapp.com/attachments/1017419092447207436/1063092138029625394/pixil-frame-0.png" class="avatar">
|
||||
<h1>Sign Up</h1>
|
||||
<p>Email Address</p>
|
||||
<input type="email" v-model="email" aria-describedby="emailHelp" placeholder="Enter email">
|
||||
<input id="emailInput" type="email" v-model="email" aria-describedby="emailHelp" placeholder="Enter email">
|
||||
<p>Password (6+ characters)</p>
|
||||
<div id="imgDiv">
|
||||
<img v-if="showPassword" id="eyeImg" src="../assets/314858_hidden_eye_icon.png" @click="this.showPassword = !this.showPassword" alt="show">
|
||||
<img v-else id = "eyeImg" src="../assets/315220_eye_icon.png" @click="this.showPassword = !this.showPassword">
|
||||
</div>
|
||||
<input v-if="showPassword" type="text" v-model="password" placeholder="Enter password">
|
||||
<input v-else type="password" v-model="password" placeholder="Enter password">
|
||||
<input id="passwordInput" v-if="showPassword" type="text" v-model="password" placeholder="Enter password">
|
||||
<input id="passwordInput" v-else type="password" v-model="password" placeholder="Enter password">
|
||||
<input @click="signup" type="submit" name="" value="Sign Up">
|
||||
<a><router-link to="/login">Already have an account?</router-link></a>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user