mirror of
https://github.com/filegator/filegator.git
synced 2025-01-17 20:58:27 +01:00
e2e test fix
This commit is contained in:
parent
4bf008950f
commit
4bbc3545f6
@ -25,10 +25,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<a class="search-btn" @click="search">
|
||||
<a id="search" class="search-btn" @click="search">
|
||||
<b-icon icon="search" size="is-small" />
|
||||
</a>
|
||||
<a class="is-paddingless" @click="selectDir">
|
||||
<a id="sitemap" class="is-paddingless" @click="selectDir">
|
||||
<b-icon icon="sitemap" size="is-small" />
|
||||
</a>
|
||||
</div>
|
||||
|
@ -130,4 +130,14 @@ describe('Browser', () => {
|
||||
cy.contains('Close').click()
|
||||
})
|
||||
|
||||
it('Search', () => {
|
||||
cy.viewport(1024, 768)
|
||||
cy.visit('/')
|
||||
cy.contains('My Documents').click()
|
||||
cy.get('#search').click()
|
||||
cy.contains('Search')
|
||||
cy.contains('Name')
|
||||
cy.contains('Close').click()
|
||||
})
|
||||
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user