This commit is contained in:
2020-10-19 17:05:25 +00:00
parent bbbb9cacd0
commit 067a7e2ef7
3 changed files with 11 additions and 2 deletions

View File

@@ -11,6 +11,10 @@ todo: service workers for monaco going in root of website folder, must be a conf
todo: take a look at front end cypress testing etc again, it's going to be the best way to assure quality going forward and indespensible for smoke / load testing
See where it's at, is any of it usable?
Even just a single test that logs in, creates a widget using every field, edits it and deletes it would be a good smoke test
Ideally:
Smoke test runnable, visits every page and CRUD widget
Runs against release mode
need data-cy in release mode so changes need to be made to main dev and etc, perhaps it's just a default to add cy no if statement
todo: hide swagger logo and branding in api explorer

View File

@@ -133,7 +133,12 @@
</v-list>
<template v-slot:append>
<div>
<v-btn x-large block to="/login">
<v-btn
x-large
block
to="/login"
:data-cy="!!$ay.dev ? 'logout' : false"
>
<v-icon large left>$ayiSignOut</v-icon>
<span class="ml-2 text-h6">{{ $ay.t("Logout") }}</span></v-btn
>

View File

@@ -60,7 +60,7 @@ import chartBarHorizontalControl from "./components/chart-bar-horizontal-control
//DEVELOPMENT MODE
//THIS SHOULD BE FALSE IN RELEASE
//************************************************************
const DEV_MODE = false;
const DEV_MODE = true;
//************************************************************
//**************************************************************
//**************************************************************