This commit is contained in:
Martin McKeaveney 2020-12-04 14:46:21 +00:00
parent 87af1f916f
commit 8980895dac
4 changed files with 18 additions and 6 deletions

View File

@ -9,7 +9,7 @@ context('Create a User', () => {
// https://on.cypress.io/interacting-with-elements // https://on.cypress.io/interacting-with-elements
it('should create a user', () => { it('should create a user', () => {
cy.createUser("bbuser", "test", "ADMIN") cy.createUser("bbuser@test.com", "test", "ADMIN")
// // Check to make sure user was created! // // Check to make sure user was created!
cy.contains("bbuser").should('be.visible') cy.contains("bbuser").should('be.visible')

View File

@ -1,5 +1,12 @@
<script> <script>
import { Input, Select, Label, DatePicker, Toggle, RichText } from "@budibase/bbui" import {
Input,
Select,
Label,
DatePicker,
Toggle,
RichText,
} from "@budibase/bbui"
import { backendUiStore } from "builderStore" import { backendUiStore } from "builderStore"
import { TableNames } from "constants" import { TableNames } from "constants"
import Dropzone from "components/common/Dropzone.svelte" import Dropzone from "components/common/Dropzone.svelte"

View File

@ -1,6 +1,13 @@
<script> <script>
import { getContext } from "svelte" import { getContext } from "svelte"
import { Label, DatePicker, Input, Select, Toggle, RichText } from "@budibase/bbui" import {
Label,
DatePicker,
Input,
Select,
Toggle,
RichText,
} from "@budibase/bbui"
import Dropzone from "./attachments/Dropzone.svelte" import Dropzone from "./attachments/Dropzone.svelte"
import LinkedRowSelector from "./LinkedRowSelector.svelte" import LinkedRowSelector from "./LinkedRowSelector.svelte"
import { capitalise } from "./helpers" import { capitalise } from "./helpers"

View File

@ -32,9 +32,7 @@
<div class="root" use:styleable={$component.styles}> <div class="root" use:styleable={$component.styles}>
<div class="content"> <div class="content">
{#if logo} {#if logo}
<div class="logo-container"> <div class="logo-container"><img src={logo} alt="logo" /></div>
<img src={logo} alt="logo" />
</div>
{/if} {/if}
{#if title} {#if title}