mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fixed terms and conditions version check
This commit is contained in:
parent
c52dceddf2
commit
19ca8390e7
@ -1,2 +0,0 @@
|
|||||||
// please change also version in file "webapp/constants/terms-and-conditions-version.js"
|
|
||||||
export const VERSION = '0.0.4'
|
|
||||||
@ -2,6 +2,7 @@ Feature: Authentication
|
|||||||
As an user
|
As an user
|
||||||
I want to sign in
|
I want to sign in
|
||||||
In order to be able to posts and do other contributions as myself
|
In order to be able to posts and do other contributions as myself
|
||||||
|
Furthermore I want to be able to stay logged in and logout again
|
||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given I have an user account
|
Given I have an user account
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import {
|
|||||||
Then
|
Then
|
||||||
} from "cypress-cucumber-preprocessor/steps";
|
} from "cypress-cucumber-preprocessor/steps";
|
||||||
import helpers from "../../support/helpers";
|
import helpers from "../../support/helpers";
|
||||||
import { VERSION } from '../../constants/terms-and-conditions-version.js'
|
|
||||||
import locales from '../../../webapp/locales'
|
import locales from '../../../webapp/locales'
|
||||||
import orderBy from 'lodash/orderBy'
|
import orderBy from 'lodash/orderBy'
|
||||||
|
|
||||||
@ -13,10 +12,6 @@ import orderBy from 'lodash/orderBy'
|
|||||||
const languages = orderBy(locales, 'name')
|
const languages = orderBy(locales, 'name')
|
||||||
let lastPost = {};
|
let lastPost = {};
|
||||||
|
|
||||||
const termsAndConditionsAgreedVersion = {
|
|
||||||
termsAndConditionsAgreedVersion: VERSION
|
|
||||||
};
|
|
||||||
|
|
||||||
const annoyingParams = {
|
const annoyingParams = {
|
||||||
email: "spammy-spammer@example.org",
|
email: "spammy-spammer@example.org",
|
||||||
slug: 'spammy-spammer',
|
slug: 'spammy-spammer',
|
||||||
|
|||||||
@ -2,6 +2,7 @@ const narrator = {
|
|||||||
id: 'id-of-peter-pan',
|
id: 'id-of-peter-pan',
|
||||||
name: "Peter Pan",
|
name: "Peter Pan",
|
||||||
slug: "peter-pan",
|
slug: "peter-pan",
|
||||||
|
termsAndConditionsAgreedVersion: '0.0.4',
|
||||||
}
|
}
|
||||||
|
|
||||||
export default narrator
|
export default narrator
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user