Skip to content

Commit ebe4e4c

Browse files
committed
fix flacky test
1 parent c9280f9 commit ebe4e4c

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

cypress/e2e/500_control.cy.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,6 @@ describe('load control page, verify stream is there', () => {
2828
cy.get('button.photo').click()
2929
})
3030

31-
it('record a video', () => {
32-
cy.visit('http://localhost:8080')
33-
cy.get('.v-carousel').should('exist')
34-
cy.get('button.v-app-bar-nav-icon').should('exist').click()
35-
cy.get('a.v-list-item[href*="control"]').click()
36-
cy.get('#app').click()
37-
cy.get('button.video').click()
38-
cy.wait(5000)
39-
cy.get('button.video').click()
40-
})
41-
4231
it('say a phrase', () => {
4332
cy.visit('http://localhost:8080')
4433
cy.get('.v-carousel').should('exist')
@@ -60,7 +49,7 @@ describe('load control page, verify stream is there', () => {
6049
cy.url().should('include', '/gallery')
6150
})
6251
})
63-
/*
52+
6453
it('record a video', () => {
6554
cy.visit('http://localhost:8080')
6655
cy.get('.v-carousel').should('exist')
@@ -70,5 +59,4 @@ it('record a video', () => {
7059
cy.get('button.video').click()
7160
cy.wait(5000)
7261
cy.get('button.video').click()
73-
})
74-
*/
62+
})

0 commit comments

Comments
 (0)