mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
tests: Delete overly aggressive frontend test timeouts
This should reduce test flakiness.
This commit is contained in:
parent
7cbb3f565d
commit
4ad80d4072
17 changed files with 0 additions and 42 deletions
|
@ -17,13 +17,11 @@ describe('Pad modal', function () {
|
|||
});
|
||||
|
||||
it('disables editor', async function () {
|
||||
this.timeout(200);
|
||||
expect(isEditorDisabled()).to.be(true);
|
||||
});
|
||||
|
||||
context('and user clicks on editor', function () {
|
||||
it('does not close the modal', async function () {
|
||||
this.timeout(200);
|
||||
clickOnPadInner();
|
||||
const $modal = helper.padChrome$(MODAL_SELECTOR);
|
||||
const modalIsVisible = $modal.hasClass('popup-show');
|
||||
|
@ -34,7 +32,6 @@ describe('Pad modal', function () {
|
|||
|
||||
context('and user clicks on pad outer', function () {
|
||||
it('does not close the modal', async function () {
|
||||
this.timeout(200);
|
||||
clickOnPadOuter();
|
||||
const $modal = helper.padChrome$(MODAL_SELECTOR);
|
||||
const modalIsVisible = $modal.hasClass('popup-show');
|
||||
|
@ -61,7 +58,6 @@ describe('Pad modal', function () {
|
|||
|
||||
context('and user clicks on editor', function () {
|
||||
it('closes the modal', async function () {
|
||||
this.timeout(200);
|
||||
clickOnPadInner();
|
||||
await helper.waitForPromise(() => isModalOpened(MODAL_SELECTOR) === false);
|
||||
});
|
||||
|
@ -69,7 +65,6 @@ describe('Pad modal', function () {
|
|||
|
||||
context('and user clicks on pad outer', function () {
|
||||
it('closes the modal', async function () {
|
||||
this.timeout(200);
|
||||
clickOnPadOuter();
|
||||
await helper.waitForPromise(() => isModalOpened(MODAL_SELECTOR) === false);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue