refactor(tests): rename e2e to tests
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<script setup>
|
||||
import { VueFlow } from '@vue-flow/core'
|
||||
import { Background } from '@vue-flow/background'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VueFlow>
|
||||
<Background />
|
||||
</VueFlow>
|
||||
</template>
|
||||
@@ -0,0 +1,18 @@
|
||||
import App from './App.vue'
|
||||
|
||||
describe('Render Background', () => {
|
||||
beforeEach(() => {
|
||||
cy.mount(App, {
|
||||
attrs: {
|
||||
style: {
|
||||
width: '100vw',
|
||||
height: '100vh',
|
||||
},
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
it('renders background', () => {
|
||||
cy.get('.vue-flow__background').should('exist')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user