tests: Delete overly aggressive frontend test timeouts

This should reduce test flakiness.
This commit is contained in:
Richard Hansen 2021-04-01 15:51:03 -04:00 committed by webzwo0i
parent 7cbb3f565d
commit 4ad80d4072
17 changed files with 0 additions and 42 deletions

View file

@ -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);
});