2020-07-22 12:25:54 +02:00
|
|
|
describe('Annotations', () => {
|
|
|
|
beforeEach(() => {
|
2023-11-08 16:16:05 +01:00
|
|
|
cy.clickNavMenu('datamanagement')
|
|
|
|
cy.get('[data-attr=data-management-annotations-tab]').click()
|
2020-07-22 12:25:54 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
it('Annotations loaded', () => {
|
2023-12-27 09:52:28 +01:00
|
|
|
cy.contains('Create your first annotation').should('exist')
|
2023-12-07 17:56:39 +01:00
|
|
|
cy.get('[data-attr="product-introduction-docs-link"]').should('contain', 'Learn more')
|
2020-07-22 12:25:54 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
it('Create annotation', () => {
|
2023-12-27 09:52:28 +01:00
|
|
|
cy.get('.TopBar3000 [data-attr=create-annotation]').click()
|
2020-07-22 12:25:54 +02:00
|
|
|
cy.get('[data-attr=create-annotation-input]').type('Test Annotation')
|
|
|
|
cy.get('[data-attr=create-annotation-submit]').click()
|
2021-06-04 15:24:12 +02:00
|
|
|
cy.get('[data-attr=annotations-table]').contains('Test Annotation').should('exist')
|
2023-12-27 09:52:28 +01:00
|
|
|
cy.contains('Create your first annotation').should('not.exist')
|
2020-07-22 12:25:54 +02:00
|
|
|
})
|
|
|
|
})
|