forked from Ivasoft/geovisio-website
fix course
This commit is contained in:
@@ -8,6 +8,8 @@ describe('Testing the full user course', () => {
|
||||
cy.visit('/')
|
||||
cy.contains(uploadData.textLinkUpload).click()
|
||||
})
|
||||
})
|
||||
it('should access to the uploaded sequence and delete it', () => {
|
||||
cy.get('.input-file').selectFile(
|
||||
[
|
||||
'cypress/fixtures/images/image1.JPG',
|
||||
@@ -17,18 +19,6 @@ describe('Testing the full user course', () => {
|
||||
{ force: true }
|
||||
)
|
||||
cy.get('button[type=submit]').click()
|
||||
cy.get('button[type=button]').click()
|
||||
})
|
||||
it('should access to the uploaded sequence and delete it', () => {
|
||||
cy.get('.sequence-title').then(($span) => {
|
||||
const sequenceTitle = $span.text()
|
||||
cy.fixture('full-course').then((fullCourseData) => {
|
||||
cy.contains(fullCourseData.userName).click()
|
||||
cy.contains(fullCourseData.myPicturesLink).click()
|
||||
cy.contains(sequenceTitle).click()
|
||||
cy.contains(fullCourseData.deleteSequence).click()
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user