Skip to content

Commit

Permalink
Merge branch 'develop' into templates-e2e-test
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonidoo committed Apr 30, 2024
2 parents 70d6dde + 2b4a6ae commit 241440d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion e2e/client/specs/helpers/content_filters.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {element, by, browser} from 'protractor';
import {openUrl} from './utils';
import {ECE, el} from '@superdesk/end-to-end-testing-helpers';

class ContentFilters {
addNewContentFilterButton: any;
Expand Down Expand Up @@ -98,7 +99,10 @@ class ContentFilters {
/**
* Saves the content filter
**/
this.save = () => this.saveButton.click();
this.save = () => {
this.saveButton.click();
browser.wait(ECE.stalenessOf(el(['notifications'])), 5000);
};

/**
* Enters given story guid into test textbox
Expand Down
2 changes: 1 addition & 1 deletion e2e/server/Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
rest: PYTHONUNBUFFERED=True gunicorn -c gunicorn_config.py wsgi
wamp: python3 -u ws.py
work: celery -A worker worker
#work: celery -A worker worker
1 change: 1 addition & 0 deletions e2e/server/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ services:
- WEB_WORKERS=2
- WEB_TIMEOUT=30
- WEB_LOG_LEVEL=info
- CELERY_ALWAYS_EAGER=true
volumes:
- ./dump:/opt/superdesk/dump:rw
user: 1000:1000
Expand Down
1 change: 0 additions & 1 deletion e2e/server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@
CONTENTAPI_ELASTICSEARCH_INDEX = CONTENTAPI_MONGO_DBNAME

LEGAL_ARCHIVE = True
CELERY_TASK_ALWAYS_EAGER = False

DEFAULT_TIMEZONE = "Europe/London"

0 comments on commit 241440d

Please sign in to comment.