Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Jan 17, 2025
1 parent dbb1230 commit 3117d9c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion e2e/cypress/support/utils/time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,16 @@ export function getStartOfNextWeek(): moment.Moment {

export const getDateStringFor = {
today: () => moment()
.set({hour: 0})
.utc()
.format('YYYY-MM-DD'),
yesterday: () => moment()
.set({hour: 0})
.utc()
.subtract(1, 'd')
.format('YYYY-MM-DD'),
tomorrow: () => moment()
.set({hour: 0})
.utc()
.add(1, 'd')
.format('YYYY-MM-DD'),
Expand All @@ -45,8 +48,8 @@ export const getDateStringFor = {

export function getTimeStringForHour(hour: number): string {
return moment()
.utc()
.set({hour: hour})
.utc()
.format('THH:00:00+0000');
}

Expand Down
6 changes: 3 additions & 3 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"name": "superdesk",
"license": "GPL-3.0",
"dependencies": {
"superdesk-core": "github:superdesk/superdesk-client-core#2a37784",
"superdesk-core": "github:superdesk/superdesk-client-core#develop",
"superdesk-planning": "file:../"
},
"devDependencies": {
"@superdesk/build-tools": "^1.0.14",
"cypress": "^13.17.0",
"cypress": "^12.6.0",
"cypress-real-events": "^1.7.6",
"cypress-terminal-report": "^5.0.2",
"extract-text-webpack-plugin": "3.0.2",
"lodash": "^4.17.21",
"lodash": "^4.17.15",
"moment": "^2.29.4",
"moment-timezone": "^0.5.42"
},
Expand Down
2 changes: 1 addition & 1 deletion e2e/server/gunicorn_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
bind = '0.0.0.0:5000'
workers = 3

loglevel = 'info'
loglevel = 'warning'

reload = 'SUPERDESK_RELOAD' in os.environ
timeout = int(os.environ.get('WEB_TIMEOUT', 500))

0 comments on commit 3117d9c

Please sign in to comment.