mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-08 13:46:10 +02:00
tests: Allow time for minification to complete
Minification happens after the initial visit and request to pages.
This commit is contained in:
parent
536db7553f
commit
5ac90ab30f
@ -10,6 +10,7 @@ Cypress.Commands.add('iframe', {prevSubject: 'element'},
|
||||
describe(__filename, () => {
|
||||
it('Pad content exists', () => {
|
||||
cy.visit('http://127.0.0.1:9001/p/test');
|
||||
cy.wait(10000); // wait for Minified JS to be built...
|
||||
cy.get('iframe[name="ace_outer"]', {timeout: 10000}).iframe()
|
||||
.find('.line-number:first')
|
||||
.should('have.text', '1');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user